Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/dw.h Tue Mar 29 03:31:38 2011 +0000 +++ b/dw.h Tue Mar 29 17:21:50 2011 +0000 @@ -592,6 +592,7 @@ #define SplitbarClassName "dwsplitbar" #define ObjectClassName "dwobjectclass" #define BrowserClassName "dwbrowserclass" +#define ScrollClassName "dwscrollclass" #define DefaultFont NULL typedef struct _color {