Mercurial > dwindows
annotate makefile.vac @ 839:ccfa5173659f
Initial implementation of scrollboxes on Windows.
Windows does not have a scrolledview/area widget like on other platforms, so I have created one.
Implemented the layout system like I did on MacOS and discovered what likely is the issue on the Mac.
There seems to be a bug in the layout system which is avoided by packing into a single expandable box.
When used and padding are exactly the same, the layout engine drops out to prevent a divide by zero.
Will look into fixing this in the layout engine, but for now using the container box workaround.
The scrolled view widget is not finished, will need to implement the scrollbars but internally.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 29 Mar 2011 17:21:50 +0000 |
parents | 4559a2fd2db2 |
children | 568b37e4b167 |
rev | line source |
---|---|
3 | 1 .SUFFIXES: .c .obj |
2 | |
3 .all: \ | |
4 .\dw.dll \ | |
5 .\dwcompat.dll | |
6 | |
7 .c.obj: | |
56
b0f94956c981
Enabled memory debugging for VAC.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
24
diff
changeset
|
8 icc.exe /DOS2 /DTCPV40HDRS /DBUILD_DLL /I. /Tm+ /Tdc /Ss /Wprorearet /Wpro+ /V"Dynamic Windows Compatibility" /Ti /Gm /Gd- /G5 /Ge- /C /W3 /Wini+ /Wpar+ /Wpro+ /Wuse+ %s |
3 | 9 |
10 .\dw.dll: \ | |
11 .\os2\dw.obj | |
12 @echo " Link::Linker " | |
13 icc.exe @<< | |
14 /B" /NOE /de /ST:32768 /nologo /li" | |
15 /Fe"dw.dll" dw.def | |
16 .\dw.obj | |
17 so32dll.lib | |
18 tcp32dll.lib | |
19 << | |
20 IMPLIB DW.LIB DW.DEF | |
21 copy dw.lib lib\dw.lib | |
22 copy dw.dll dll\dw.dll | |
23 | |
24 .\dwcompat.dll: \ | |
25 .\os2\dirent.obj \ | |
26 .\compat.obj | |
27 @echo " Link::Linker " | |
28 icc.exe @<< | |
29 /B" /NOE /de /ST:32768 /nologo /li" | |
30 /Fe"dwcompat.dll" dwcompat.def | |
31 .\dirent.obj | |
32 .\compat.obj | |
33 so32dll.lib | |
34 tcp32dll.lib | |
35 << | |
36 IMPLIB DWCOMPAT.LIB DWCOMPAT.DEF | |
37 copy dwcompat.lib lib\dwcompat.lib | |
38 copy dwcompat.dll dll\dwcompat.dll | |
39 | |
192
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
40 dwtest.obj: |
300
4559a2fd2db2
Keypress handler fixes, more need to be done, because I screwed up and
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
192
diff
changeset
|
41 icc /Ti /DOS2 /DTCPV40HDRS /Sp1 /I. /Sm /Ss /Q /Gm /Gt /C dwtest.c |
192
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
42 dwtest.exe: dwtest.obj |
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
43 icc @<< |
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
44 /B" /DE /optfunc" |
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
45 /Fedwtest.exe |
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
46 lib\dw.lib lib\dwcompat.lib |
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
47 dwtest.obj |
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
48 dwtest.def |
d946e329670c
Added test application for OS/2, and allow dw_color_xxx_set() to use OS/2
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
56
diff
changeset
|
49 << |
3 | 50 clean : |
51 @if exist *.obj del *.obj | |
52 @if exist *.map del *.map | |
53 @if exist *.lib del *.lib | |
54 @if exist *.dll del *.dll | |
55 @if exist *.exe del *.exe | |
56 |