aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuItem.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-02-17Store menus if smart pointers (RefCount)Pavel Labath1-1/+0
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. :)
2012-08-03Add menu.hilite.font and menu.hilite.justify style resourcesVladimir A. Pavlov1-14/+18
2010-09-08introduced FbTk::BidiStringMathias Gumz1-18/+13
a 'BidiString' holds both the logical content and the visual reordered version of the content of a string. this helps to reduce the number of calls to reorder the string before drawing it (as introduced in the patch from Ken Bloom) and to be more consistent in menus and textboxes (drawing cursors and underlining text).
2010-09-05avoid constructing new strings implicitMathias Gumz1-3/+3
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-1/+1
ObjectRegistry
2008-01-05update code to use ThemeProxyMark Tiefenbruck1-51/+52
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-25fix showing program icons with depth=1 in menusMark Tiefenbruck1-6/+22
2007-12-25make bit depth accessible from an FbDrawableMark Tiefenbruck1-1/+1
2007-12-18holding control will now keep the menu openMark Tiefenbruck1-2/+3
2007-12-18make MenuItem responsible for decision to close menu when clickedMark Tiefenbruck1-0/+2
2007-10-13merged changes from pre-develmarkt1-8/+13
2007-09-08fix crash when changing toolbar visibility with empty toolbar.toolsmarkt1-2/+5
2007-03-03added support for typeahead in menusmarkt1-0/+38
2007-01-06move triangle drawing into FbDrawablesimonb1-20/+7
Make MenuItem triangles proportional
2006-05-20improve native language handling, move messages and menu labels to simonb1-1/+1
FbTk::FbString
2006-04-22fix menu corruption when size/label changessimonb1-1/+1
2006-04-02size_t fixes, thanks Semushin Slava aka php-coderfluxgen1-2/+2
2006-02-16updated copyright infomathias1-1/+1
2005-06-23added showSubmenu in MenuItemfluxgen1-0/+6
2005-04-26extension of previous big patch. Move a bunch of menu things onto simonb1-98/+149
background pixmap. Same for textbuttons.
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-09-11Font::drawText takes reference to FbDrawable instead of X Drawable + some ↵fluxgen1-2/+2
code cleaning
2004-09-10cosmetic + avoid unneeded App::instance()->display() callsakir1-37/+24
2004-09-01cosmeticakir1-6/+5
2004-09-01fix width for a menuentry, added too much spaceakir1-2/+2
2004-08-29a few random fixesrathnor1-2/+3
2004-08-03expand pixmap filename before loading, patch from Mathias Gumzfluxgen1-3/+5
2004-07-05fixed menutitle and menulables drawn to close to screen-bottom, patch from ↵fluxgen1-2/+2
Mathias Gumz
2004-06-10icon in menu itemfluxgen1-4/+76
2004-06-07drawing of items is now done in MenuItemfluxgen1-2/+156
2003-01-12item in the menufluxgen1-0/+34