comparison dw.h @ 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 2dd7638a7719
children 80a88c91ccf6
comparison
equal deleted inserted replaced
838:8e0405435d0a 839:ccfa5173659f
590 590
591 #define ClassName "dynamicwindows" 591 #define ClassName "dynamicwindows"
592 #define SplitbarClassName "dwsplitbar" 592 #define SplitbarClassName "dwsplitbar"
593 #define ObjectClassName "dwobjectclass" 593 #define ObjectClassName "dwobjectclass"
594 #define BrowserClassName "dwbrowserclass" 594 #define BrowserClassName "dwbrowserclass"
595 #define ScrollClassName "dwscrollclass"
595 #define DefaultFont NULL 596 #define DefaultFont NULL
596 597
597 typedef struct _color { 598 typedef struct _color {
598 int fore; 599 int fore;
599 int back; 600 int back;