1 /***************************************************************************/ 2 /* This code is part of X-toolkit widget library called Nws */ 3 /* Copyright (c) 1997,1998,1999 Ondrejicka Stefan */ 4 /* (ondrej@idata.sk) */ 5 /* Distributed under GPL 2 or later */ 6 /***************************************************************************/ 7 8 #ifndef _MwRowP_H_ 9 #define _MwRowP_H_ 10 11 #include "MwBaseConstP.h" 12 #include "MwRow.h" 13 14 15 typedef struct { 16 char empty; 17 } MwRowClassPart; 18 19 typedef struct _MwRowClassRec { 20 CoreClassPart core_class; 21 CompositeClassPart composite_class; 22 ConstraintClassPart constraint_class; 23 MwBaseConstClassPart baseConst_class; 24 MwRowClassPart row_class; 25 } MwRowClassRec; 26 27 extern MwRowClassRec mwRowClassRec; 28 29 typedef struct { 30 /* resources */ 31 int spacing; 32 Boolean homogenous; 33 /* private */ 34 } MwRowPart; 35 36 typedef struct _MwRowRec { 37 CorePart core; 38 CompositePart composite; 39 ConstraintPart constraint; 40 MwBaseConstPart baseConst; 41 MwRowPart row; 42 } MwRowRec; 43 44 typedef struct _MwRowConstraintsPart { 45 int gravitation; 46 int left_space; 47 int right_space; 48 Boolean resizable; 49 } MwRowConstraintsPart; 50 51 typedef struct _MwRowConstraintsRec { 52 MwRowConstraintsPart row; 53 } MwRowConstraintsRec, *MwRowConstraints; 54 55 #endif 56