aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceMenu.cc
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Refactor menu code: be more explicit and compactMathias Gumz1-7/+7
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-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-02-24code deduplicationMathias Gumz1-27/+20
2010-09-08introduced FbTk::BidiStringMathias Gumz1-6/+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).
2008-09-22fix active menu item when inserting or removing other itemsMark Tiefenbruck1-3/+3
2008-09-21Changed workspace names signal in BScreen to use the new signal systemHenrik Kinnunen1-15/+2
2008-09-21Changed current workspace signal in BScreen to use the new signal systemHenrik Kinnunen1-16/+19
2008-09-18Changed workspace count signal in BScreen to use the new signal system.Henrik Kinnunen1-21/+29
2008-08-19shift+enter wasn't sending right click if the menu item had a submenuMark Tiefenbruck1-1/+1
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-9/+9
ObjectRegistry
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-16changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>Mark Tiefenbruck1-2/+2
2007-12-13added FbTk::CommandRegistry, decentralized command parsing, and made them ↵markt1-2/+2
auto-register
2007-10-23adding/removing workspaces wasn't updating menumarkt1-1/+1
2006-06-21fix nls... notably classify text on conversion whether its for X or simonb1-5/+5
console, plus handle catalogs better.
2006-02-20moved class Layer from class Fluxbox and thus reduces some dependeciesfluxgen1-3/+2
2006-02-16updated copyright infomathias1-1/+1
2005-12-22removed unused variablefluxgen1-2/+0
2005-07-04cleaning, change getCount to numberOfWorkspacesfluxgen1-7/+22
2005-06-08most used items should appear ontop of a menu. so i reordered themathias1-22/+41
workspacemenu a bit to fit that idea.
2005-01-24copyright datemathias1-1/+1
2004-12-13icc complaint about a "possible" conflict between themathias1-4/+4
FbTk::Menu::update(Subject*) and FbTk::Menu::update(int index) to avoid this, we rename FbTk::Menu::update(int index) -> FbTk::Menu::updateMenu(int index) this is mostly cosmetic, but if it makes the life of a compiler happy, well .. be happy icc :)
2004-11-20fix for adding/removing desktops (thanx Øyvind Albrigtsen)mathias1-2/+7
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-09-06added button2-on-workspacename in workspacemenu jumps to workspacaddedakir1-3/+16
button2-on-workspacename in workspacemenu jumps to workspacee
2004-06-08more nls updatesrathnor1-2/+2
2004-06-07need typeinfofluxgen1-1/+3
2004-06-07update NLS string handling...rathnor1-12/+7
2004-05-02menu instances that handles workspace and icon menufluxgen1-0/+115