Some TODO consolidation.
This commit is contained in:
parent
7dc7c5a5cd
commit
122b1b0d2c
1
TODO.md
1
TODO.md
|
@ -34,6 +34,7 @@
|
||||||
- make their headers generated by an IDL
|
- make their headers generated by an IDL
|
||||||
- make sure complain()s don't have \n at the end; add one on each platform
|
- make sure complain()s don't have \n at the end; add one on each platform
|
||||||
- add a `[libui]` to the beginning of the message
|
- add a `[libui]` to the beginning of the message
|
||||||
|
- figure out what to do on Windows and GTK+ if we don't have menus but the user wants a menubar (zero-height widget? don't bother? complain?)
|
||||||
|
|
||||||
ultimately:
|
ultimately:
|
||||||
- add some sort of runtime type checking
|
- add some sort of runtime type checking
|
||||||
|
|
|
@ -275,7 +275,6 @@ static void appendMenuItem(GtkMenuShell *submenu, struct menuItem *item, uiWindo
|
||||||
g_hash_table_insert(item->windows, menuitem, ww);
|
g_hash_table_insert(item->windows, menuitem, ww);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO should this return a zero-height widget (or NULL) if there are no menus defined?
|
|
||||||
GtkWidget *makeMenubar(uiWindow *w)
|
GtkWidget *makeMenubar(uiWindow *w)
|
||||||
{
|
{
|
||||||
GtkWidget *menubar;
|
GtkWidget *menubar;
|
||||||
|
|
|
@ -264,7 +264,6 @@ static HMENU makeMenu(struct menu *m)
|
||||||
return menu;
|
return menu;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO should this return a zero-height widget (or NULL) if there are no menus defined?
|
|
||||||
HMENU makeMenubar(void)
|
HMENU makeMenubar(void)
|
||||||
{
|
{
|
||||||
HMENU menubar;
|
HMENU menubar;
|
||||||
|
|
Loading…
Reference in New Issue