Executive decision: remove menus and dialogs in the rebuild. We'll add them back later.
This commit is contained in:
parent
d5eb06327d
commit
de3fd3f546
|
@ -0,0 +1,4 @@
|
|||
uiprivExtern char *uiOpenFile(uiWindow *parent);
|
||||
uiprivExtern char *uiSaveFile(uiWindow *parent);
|
||||
uiprivExtern void uiMsgBox(uiWindow *parent, const char *title, const char *description);
|
||||
uiprivExtern void uiMsgBoxError(uiWindow *parent, const char *title, const char *description);
|
|
@ -0,0 +1,17 @@
|
|||
typedef struct uiMenuItem uiMenuItem;
|
||||
#define uiMenuItem(this) ((uiMenuItem *) (this))
|
||||
uiprivExtern void uiMenuItemEnable(uiMenuItem *m);
|
||||
uiprivExtern void uiMenuItemDisable(uiMenuItem *m);
|
||||
uiprivExtern void uiMenuItemOnClicked(uiMenuItem *m, void (*f)(uiMenuItem *sender, uiWindow *window, void *data), void *data);
|
||||
uiprivExtern int uiMenuItemChecked(uiMenuItem *m);
|
||||
uiprivExtern void uiMenuItemSetChecked(uiMenuItem *m, int checked);
|
||||
|
||||
typedef struct uiMenu uiMenu;
|
||||
#define uiMenu(this) ((uiMenu *) (this))
|
||||
uiprivExtern uiMenuItem *uiMenuAppendItem(uiMenu *m, const char *name);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendCheckItem(uiMenu *m, const char *name);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendQuitItem(uiMenu *m);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendPreferencesItem(uiMenu *m);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendAboutItem(uiMenu *m);
|
||||
uiprivExtern void uiMenuAppendSeparator(uiMenu *m);
|
||||
uiprivExtern uiMenu *uiNewMenu(const char *name);
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
23
zOLD_ui.h
23
zOLD_ui.h
|
@ -246,29 +246,6 @@ uiprivExtern void uiMultilineEntrySetReadOnly(uiMultilineEntry *e, int readonly)
|
|||
uiprivExtern uiMultilineEntry *uiNewMultilineEntry(void);
|
||||
uiprivExtern uiMultilineEntry *uiNewNonWrappingMultilineEntry(void);
|
||||
|
||||
typedef struct uiMenuItem uiMenuItem;
|
||||
#define uiMenuItem(this) ((uiMenuItem *) (this))
|
||||
uiprivExtern void uiMenuItemEnable(uiMenuItem *m);
|
||||
uiprivExtern void uiMenuItemDisable(uiMenuItem *m);
|
||||
uiprivExtern void uiMenuItemOnClicked(uiMenuItem *m, void (*f)(uiMenuItem *sender, uiWindow *window, void *data), void *data);
|
||||
uiprivExtern int uiMenuItemChecked(uiMenuItem *m);
|
||||
uiprivExtern void uiMenuItemSetChecked(uiMenuItem *m, int checked);
|
||||
|
||||
typedef struct uiMenu uiMenu;
|
||||
#define uiMenu(this) ((uiMenu *) (this))
|
||||
uiprivExtern uiMenuItem *uiMenuAppendItem(uiMenu *m, const char *name);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendCheckItem(uiMenu *m, const char *name);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendQuitItem(uiMenu *m);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendPreferencesItem(uiMenu *m);
|
||||
uiprivExtern uiMenuItem *uiMenuAppendAboutItem(uiMenu *m);
|
||||
uiprivExtern void uiMenuAppendSeparator(uiMenu *m);
|
||||
uiprivExtern uiMenu *uiNewMenu(const char *name);
|
||||
|
||||
uiprivExtern char *uiOpenFile(uiWindow *parent);
|
||||
uiprivExtern char *uiSaveFile(uiWindow *parent);
|
||||
uiprivExtern void uiMsgBox(uiWindow *parent, const char *title, const char *description);
|
||||
uiprivExtern void uiMsgBoxError(uiWindow *parent, const char *title, const char *description);
|
||||
|
||||
typedef struct uiArea uiArea;
|
||||
typedef struct uiAreaHandler uiAreaHandler;
|
||||
typedef struct uiAreaDrawParams uiAreaDrawParams;
|
||||
|
|
Loading…
Reference in New Issue