diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2013-02-22 12:03:12 +0000 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2013-02-22 12:03:12 +0000 |
commit | 77e4874fe37ba633c92ac99b137a897d323b9138 (patch) | |
tree | 031571ae3ca9853d0672d9ff73f1f62e06227d2a /prototypes/miglayout | |
parent | 5b64fef5e23249f26e8956c51fe8d8d89679bfb0 (diff) | |
download | fpGUI-77e4874fe37ba633c92ac99b137a897d323b9138.tar.xz |
more wip for the MiG layout implementation.
Diffstat (limited to 'prototypes/miglayout')
-rw-r--r-- | prototypes/miglayout/gui_mig_unitvalue.pas | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/prototypes/miglayout/gui_mig_unitvalue.pas b/prototypes/miglayout/gui_mig_unitvalue.pas index ef98936a..fad5410c 100644 --- a/prototypes/miglayout/gui_mig_unitvalue.pas +++ b/prototypes/miglayout/gui_mig_unitvalue.pas @@ -5,7 +5,7 @@ unit gui_mig_unitvalue; interface uses - Classes, SysUtils; + Classes, SysUtils, fphash; type @@ -20,5 +20,43 @@ type implementation +const + cSTATIC = 100; + cADD = 101; // Must have "sub-unit values" + cSUB = 102; // Must have "sub-unit values" + cMUL = 103; // Must have "sub-unit values" + cDIV = 104; // Must have "sub-unit values" + cMIN = 105; // Must have "sub-unit values" + cMAX = 106; // Must have "sub-unit values" + cMID = 107; // Must have "sub-unit values" + + cPIXEL = 0; + cLPX = 1; + cLPY = 2; + cMM = 3; + cCM = 4; + cINCH = 5; + cPERCENT = 6; + cPT = 7; + cSPX = 8; + cSPY = 9; + cALIGN = 12; + cMIN_SIZE = 13; + cPREF_SIZE = 14; + cMAX_SIZE = 15; + cBUTTON = 16; + cLINK_X = 18; // First link + cLINK_Y = 19; + cLINK_W = 20; + cLINK_H = 21; + cLINK_X2 = 22; + cLINK_Y2 = 23; + cLINK_XPOS = 24; + cLINK_YPOS = 25; // Last link + cLOOKUP = 26; + cLABEL_ALIGN = 27; + cIDENTITY = -1; + + end. |