win32 branch commit
This commit is contained in:
parent
3a0d3fd94e
commit
bbbeb0bebe
15 changed files with 1337 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2011, 2012, Jonathan Schleifer <js@webkeks.org>
|
||||
* Copyright (c) 2011, 2012, Dillon Aumiller <dillonaumiller@gmail.com>
|
||||
*
|
||||
* https://webkeks.org/hg/objgui/
|
||||
*
|
||||
|
@ -22,7 +23,24 @@
|
|||
|
||||
#import "OGWidget.h"
|
||||
|
||||
#ifdef OG_W32
|
||||
typedef struct s_OGBoxChild
|
||||
{
|
||||
HWND hwnd;
|
||||
BOOL expand;
|
||||
BOOL fill;
|
||||
int padding;
|
||||
int originalSize;
|
||||
float currentSize;
|
||||
struct s_OGBoxChild *next;
|
||||
} OGBoxChild;
|
||||
#endif
|
||||
|
||||
@interface OGBox: OGWidget
|
||||
#ifdef OG_W32
|
||||
{ OGBoxChild *firstBorn; }
|
||||
- (void)resizeChildren;
|
||||
#endif
|
||||
+ box;
|
||||
- (void)appendChild: (OGWidget*)child
|
||||
expand: (BOOL)expand
|
||||
|
|
Reference in a new issue