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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
1 .SUFFIXES: .c .obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
2
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
3 .all: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
4 .\dw.dll \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
5 .\dwcompat.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
6
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
9
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
10 .\dw.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
11 .\os2\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
12 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
13 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
14 /B" /NOE /de /ST:32768 /nologo /li"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
15 /Fe"dw.dll" dw.def
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
16 .\dw.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
17 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
18 tcp32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
19 <<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
20 IMPLIB DW.LIB DW.DEF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
21 copy dw.lib lib\dw.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
22 copy dw.dll dll\dw.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
23
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
24 .\dwcompat.dll: \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
25 .\os2\dirent.obj \
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
26 .\compat.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
27 @echo " Link::Linker "
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
28 icc.exe @<<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
29 /B" /NOE /de /ST:32768 /nologo /li"
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
30 /Fe"dwcompat.dll" dwcompat.def
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
31 .\dirent.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
32 .\compat.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
33 so32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
34 tcp32dll.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
35 <<
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
36 IMPLIB DWCOMPAT.LIB DWCOMPAT.DEF
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
37 copy dwcompat.lib lib\dwcompat.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
38 copy dwcompat.dll dll\dwcompat.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
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
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
50 clean :
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
51 @if exist *.obj del *.obj
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
52 @if exist *.map del *.map
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
53 @if exist *.lib del *.lib
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
54 @if exist *.dll del *.dll
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
55 @if exist *.exe del *.exe
ktk@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff changeset
56