aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01MenuCreator: Don't forget to call updateMenu() after creating itPavel Labath1-0/+2
2011-11-01use Lua::registerInitFunction to simplify some parts of codePavel Labath1-0/+1
2011-11-01Report unrecognized menu entriesPavel Labath1-3/+6
I put the error message into the menu, because noone reads stderr anyway.
2011-11-01MenuCreator: more removal of leftovers from old menusPavel Labath1-47/+0
2011-11-01Add support for lua commands to MenuCreatorPavel Labath1-0/+4
2011-11-01Slight simplification of MenuCreator using typedefsPavel Labath1-16/+15
2011-11-01Store menus if smart pointers (RefCount)Pavel Labath1-26/+24
This was originally intended to be a bugfix for an memory error reported by valgrind (accessing freed memory). While debugging it, I found the menu ownership semantics confusing (setInternalMenu() et al.), so I decided to get rid of it and store it in smart pointers everywhere. Looking back, I'm not sure if this was worth all the trouble, but the good news is that the valgrind error disappeared. :)
2011-11-01Remove leftovers from old menus in MenuCreator.*Pavel Labath1-74/+0
2011-11-01CustomMenu command now shows lua menusPavel Labath1-29/+14
2011-11-01Convert windowmenu to luaPavel Labath1-18/+16
also, i've restored the autoreloading capability of menus.
2011-11-01Handle all menu entry types when loading from luaPavel Labath1-176/+32
2011-11-01A veeeery rough implementation of lua menu parsersPavel Labath1-0/+151
2011-10-21refactored MenuCreatorMathias Gumz1-72/+76
make public only what needs to be public
2011-05-10Make RefCount<> more sensiblePavel Labath1-1/+1
the previous version of operator*() made no sense. E.g., it violated the invariant (*ptr).foo <=> ptr->foo. The dereferencing operator now returns a reference to the pointed-to object, rather than a pointer to it. I also added a bool conversion operator, which can be used in testing the NULL-ness of the pointer. Anyone wondering if that could be done in a simpler way is encouraged to read <http://www.artima.com/cppsource/safebool.html>. And, finally, I removed the mutable flag from the m_data member, since it does not need it.
2011-03-23compile fix: sunCC 5.11 (sunstudio 12) compiles and links againMathias Gumz1-3/+3
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'. 'ResourceLayer' sounds crappy, but that was the best I could come up with right now.
2011-02-23disabled overhead base classes 'FbTk::Layer' and 'FbTk::LayerItem'Mathias Gumz1-0/+1
had to add <algorithm> at various other files as a result of this change.
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2008-09-21Changed icon list signal in BScreen to use the new signal systemHenrik Kinnunen1-2/+2
2008-08-30use FbMenu::window instead of WindowCmd<>::window for displaying items in ↵Mark Tiefenbruck1-4/+4
the window menu
2008-08-17add SetTitle and SetTitleDialog key commandsMark Tiefenbruck1-0/+7
2008-06-06allow window menu items in ordinary menusMark Tiefenbruck1-54/+3
2008-05-28more more fun with the window menuMark Tiefenbruck1-3/+4
2008-05-12refactor menu reloading, added FbTk::AutoReloadHelperMark Tiefenbruck1-61/+52
2008-05-11reuse some menu pointers instead of using delete/newMark Tiefenbruck1-29/+12
2008-05-11more useless codeMark Tiefenbruck1-4/+0
2008-05-02remove some unnecessary argumentsMark Tiefenbruck1-14/+8
2008-02-06Consistency: alpha submenu of WindowMenu should not have title.Tomas Janousek1-3/+6
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-25cosmeticsMathias Gumz1-29/+32
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-8/+8
ObjectRegistry
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-28move Parser to FbTkMark Tiefenbruck1-8/+8
2007-12-27architecture astronomyMark Tiefenbruck1-46/+9
2007-12-27simplify the window transparency menu and handling a bitMark Tiefenbruck1-2/+2
2007-12-16changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>Mark Tiefenbruck1-5/+5
2007-12-13close menus when they lose focus, instead of on [exec] commandsmarkt1-12/+2
2007-12-13added FbTk::CommandRegistry, decentralized command parsing, and made them ↵markt1-7/+7
auto-register
2007-12-11only allow one open menu at a timemarkt1-4/+2
2007-10-13merged changes from pre-develmarkt1-5/+4
2007-09-08fix crash when changing toolbar visibility with empty toolbar.toolsmarkt1-1/+1
2007-08-04fix encoding of [begin] labelsimonb1-9/+15
2007-07-24fix ToggleDecor for fullscreen and decorationless windows, plus some other ↵markt1-1/+1
cleanup
2007-07-07fixes for --program-prefix and --program-suffix, plus fixed overwriting init ↵markt1-1/+2
file on reconfigure
2007-05-17make sure included menus get remembered, in case they're modifiedmarkt1-0/+3
2007-01-07per-window transparency, including apps and menu support, plus some simonb1-19/+82
infrastructure and related changes. Thanks for original patch from Julien Trolet, dmxen at sourceforge dot net
2006-11-12removed duplicate headers, patch from Slava Semushin aka php-coderfluxgen1-1/+0
2006-10-30Cosmetic patch from Slava Semushinmathias1-53/+58
2006-06-25support encodings in menu filessimonb1-24/+108
2006-06-21fix nls... notably classify text on conversion whether its for X or simonb1-14/+14
console, plus handle catalogs better.
2006-05-20improve native language handling, move messages and menu labels to simonb1-24/+24
FbTk::FbString
2006-05-07removed duplicate setItemEnabledfluxgen1-1/+0