comparison dw.h @ 1437:a50e8b486a1a

Initial layout engine 2.0 for the Mac... Windows and OS/2 may not compile until the the next commit later tonight or tomorrow.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 08 Dec 2011 06:47:05 +0000
parents 3c5287b8eebb
children b2235efd9914
comparison
equal deleted inserted replaced
1436:18c1b999dd65 1437:a50e8b486a1a
656 int width, height, origwidth, origheight; 656 int width, height, origwidth, origheight;
657 /* Size Type - Static or Expand */ 657 /* Size Type - Static or Expand */
658 int hsize, vsize; 658 int hsize, vsize;
659 /* Padding */ 659 /* Padding */
660 int pad; 660 int pad;
661 /* Ratio of current item */
662 float xratio, yratio;
663 } Item; 661 } Item;
664 662
665 typedef struct _box { 663 typedef struct _box {
666 #if defined(__WIN32__) || defined(WINNT) 664 #if defined(__WIN32__) || defined(WINNT)
667 ColorInfo cinfo; 665 ColorInfo cinfo;
676 /* Box type - horizontal or vertical */ 674 /* Box type - horizontal or vertical */
677 int type; 675 int type;
678 /* Keep track of how box is packed */ 676 /* Keep track of how box is packed */
679 int hsize, vsize; 677 int hsize, vsize;
680 /* Padding */ 678 /* Padding */
681 int pad, parentpad, grouppadx, grouppady; 679 int pad, grouppadx, grouppady;
682 /* Groupbox */ 680 /* Groupbox */
683 HWND grouphwnd; 681 HWND grouphwnd;
684 /* Default item */ 682 /* Default item */
685 HWND defaultitem; 683 HWND defaultitem;
686 /* Used as temporary storage in the calculation stage */ 684 /* Used as temporary storage in the calculation stage */
687 int upx, upy, minheight, minwidth; 685 int usedpadx, usedpady, minheight, minwidth;
688 /* Ratio in this box */
689 float xratio, yratio, parentxratio, parentyratio;
690 /* Used for calculating individual item ratios */ 686 /* Used for calculating individual item ratios */
691 int width, height; 687 int width, height;
692 /* Any combinations of flags describing the box */ 688 /* Any combinations of flags describing the box */
693 unsigned long flags; 689 unsigned long flags;
694 /* Array of item structures */ 690 /* Array of item structures */