aboutsummaryrefslogtreecommitdiff
path: root/src/ClientMenu.cc
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Refactor menu code: be more explicit and compactMathias Gumz1-2/+2
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.
2011-05-10Convert Focusable::dieSig to FbTk::SignalPavel Labath1-15/+7
2011-05-10Remove the Observer dependency from FbTk::MenuPavel Labath1-6/+3
2011-03-23compile fix: sunCC 5.11 (sunstudio 12) compiles and links againMathias Gumz1-1/+1
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-03-15bugfix: do not use anything from the current ClientMenuItem after ↵Mathias Gumz1-2/+4
m_client.focus(), closes #3210493 m_client.focus() might call ~ClientMenuItem(), thus m_client is not available anymore. the crash was triggered by trying to deiconify a client via the clientmenu. this triggers a signal to remove and destroy the current ClientMenuItem.
2010-09-08introduced FbTk::BidiStringMathias Gumz1-2/+2
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-05-28Implement StrictMouseFocusJim Ramsay1-1/+6
As noted in the previous commit, StrictMouseFocus now works as advertised: Focus follows mouse on every EnterNotify event (except when the "ClientMenu" closes or during alt+tab window cycling)
2010-03-26Changed title signal in Focusable to new signal systemHenrik Kinnunen1-19/+39
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-9/+10
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-18holding control will now keep the menu openMark Tiefenbruck1-2/+4
2007-10-13merged changes from pre-develmarkt1-0/+146