ObjGUI  Diff

Differences From Artifact [1a3aaad4f9]:

To Artifact [df4280417a]:


20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
35
36








37
38
39
40

41

42

43

44
45
46
47
48
49
50
51
52




53
20
21
22
23
24
25
26

27
28








29
30
31
32
33
34
35
36
37
38
39
40
41

42

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59







-
+

-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+




+
-
+
-
+

+









+
+
+
+

 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#import "OGWidget.h"

#ifdef OG_WIN32
typedef struct s_OGBoxChild
typedef struct og_box_child_t
{
	HWND  hwnd;
	BOOL  expand;
	BOOL  fill;
	int   padding;
	int   originalSize;
	float currentSize;
	struct s_OGBoxChild *next;
} OGBoxChild;
	HWND   hwnd;
	BOOL   expand;
	BOOL   fill;
	int    padding;
	int    originalSize;
	float  currentSize;
	struct og_box_child_t *next;
} og_box_child_t;
#endif

@interface OGBox: OGWidget
#ifdef OG_WIN32
{
{ OGBoxChild *firstBorn; }
	og_child_box_t *firstBorn;
- (void)resizeChildren;
}
#endif

+ box;
- (void)appendChild: (OGWidget*)child
	     expand: (BOOL)expand
	       fill: (BOOL)fill
	    padding: (float)padding;
- (void)prependChild: (OGWidget*)child
	      expand: (BOOL)expand
		fill: (BOOL)fill
	     padding: (float)padding;

#ifdef OG_WIN32
- (void)OG_resizeChildren;
#endif
@end