Mercurial > dwindows
comparison dw.h @ 456:935436731b41
Hybrid fix, seems the last change illiminated some important code that
dealt with varying padding sizes in the opposite direction of the box.
This readds that code but optimizes it and includes the groupbox
calculations that were already present in the previous code path.
This fix will be added to the OS/2 tree as well pending testing of this
new code path.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 25 Jun 2003 03:39:44 +0000 |
parents | dd04a4d781f8 |
children | fa05a1a0f9b3 |
comparison
equal
deleted
inserted
replaced
455:dd04a4d781f8 | 456:935436731b41 |
---|---|
495 /* Number of items in the box */ | 495 /* Number of items in the box */ |
496 int count; | 496 int count; |
497 /* Box type - horizontal or vertical */ | 497 /* Box type - horizontal or vertical */ |
498 int type; | 498 int type; |
499 /* Padding */ | 499 /* Padding */ |
500 int pad, parentpad; | 500 int pad, parentpad, grouppadx, grouppady; |
501 /* Groupbox */ | 501 /* Groupbox */ |
502 HWND grouphwnd; | 502 HWND grouphwnd; |
503 /* Default item */ | 503 /* Default item */ |
504 HWND defaultitem; | 504 HWND defaultitem; |
505 /* Used as temporary storage in the calculation stage */ | 505 /* Used as temporary storage in the calculation stage */ |