Commit graph

10 commits

Author SHA1 Message Date
Mathias Gumz
8387742c88 Refactor menu code: be more explicit and compact
This commit is a preparation step for some menu cleanup ahead. To make it
easier to understand which types of MenuItems are added where and when, I
converted the overloaded FbTk::Menu::insert() functions into explicit ones
(Menu::insertSubmenu(), Menu::insertItem(), etc. ). This makes it possible
to just grep for 'insertSubmenu()'.

Side effect this commit: it trims down the very verbose creation of menu items
in regards to how the labels are created.

Minor: FbTk::Menu::shown and FbTk::Menu::s_focused are moved out of the class.
2015-01-15 14:25:05 +01:00
Mathias Gumz
9616a676d8 renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItem 2011-02-23 22:49:27 +01:00
Mathias Gumz
4f921f77f4 don't use hardcoded references to positions in the menu 2011-02-22 22:17:11 +01:00
Mark Tiefenbruck
467fefaae4 more more fun with the window menu 2008-05-28 02:32:57 -07:00
Mark Tiefenbruck
ac1bd7e098 update code to use ThemeProxy 2008-01-04 17:39:19 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Mark Tiefenbruck
2940869cd7 merge MenuTheme with FbTk::MenuTheme 2007-12-27 23:16:17 -08:00
Mark Tiefenbruck
b5c354b994 architecture astronomy 2007-12-27 13:55:24 -08:00
Mark Tiefenbruck
1f5cd12fac simplify the window transparency menu and handling a bit 2007-12-26 20:42:10 -08:00
simonb
93ec253f0d forgot to svn add the files 2007-01-07 14:20:31 +00:00