More TODO resolution.
This commit is contained in:
parent
e77c90d14d
commit
50bab453e6
|
@ -1,9 +1,6 @@
|
||||||
// 14 august 2015
|
// 14 august 2015
|
||||||
#import "uipriv_darwin.h"
|
#import "uipriv_darwin.h"
|
||||||
|
|
||||||
// TODO
|
|
||||||
// - even with the uiDarwinControlRelayoutParent() calls, we still need to click the button twice for the ambiguity to go away
|
|
||||||
|
|
||||||
struct uiGroup {
|
struct uiGroup {
|
||||||
uiDarwinControl c;
|
uiDarwinControl c;
|
||||||
NSBox *box;
|
NSBox *box;
|
||||||
|
@ -57,7 +54,7 @@ static void groupRelayout(uiDarwinControl *c)
|
||||||
|
|
||||||
char *uiGroupTitle(uiGroup *g)
|
char *uiGroupTitle(uiGroup *g)
|
||||||
{
|
{
|
||||||
return PUT_CODE_HERE;
|
return uiDarwinNSStringToText([g->box title]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void uiGroupSetTitle(uiGroup *g, const char *title)
|
void uiGroupSetTitle(uiGroup *g, const char *title)
|
||||||
|
|
|
@ -89,8 +89,9 @@ const char *uiInit(uiInitOptions *o)
|
||||||
void uiUninit(void)
|
void uiUninit(void)
|
||||||
{
|
{
|
||||||
uninitMenus();
|
uninitMenus();
|
||||||
// TODO free application delegate
|
[realNSApp() setDelegate:nil];
|
||||||
// TODO free NSApplication resources (main menu, etc.)
|
[appDelegate() release];
|
||||||
|
[realNSApp() release];
|
||||||
uninitTypes();
|
uninitTypes();
|
||||||
uninitAlloc();
|
uninitAlloc();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue