aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
AgeCommit message (Collapse)AuthorFilesLines
2012-08-28changed timing functions to use a monotonic increasing clockMathias Gumz1-1/+1
gettimeofday() is subject to be changed on daylight-saving or to ntp-related (think leap-seconds). even worse, it is subject to be changed BACK in time. this is hard to fix correctly (see commit 45726d3016e and bug #3560509). it is irrelevant for timers to know the nano-seconds since the epoch anyways.
2011-05-10Convert ToolbarItem::resizeSig to FbTk::SignalPavel Labath1-6/+2
2011-05-10Convert Screen::reconfigureSig to FbTk::SignalPavel Labath1-2/+5
2011-05-10Convert FbTk::Theme::reconfigSig and friends to the new Signal systemPavel Labath1-1/+1
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
2011-03-23compile fix: sunCC 5.11 (sunstudio 12) compiles and links againMathias Gumz1-5/+5
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-01fix misordered Toolbar::Placement strings, closes 3195721Mathias Gumz1-3/+3
2011-02-24moved Menu placement into ScreenPlacement::placeAndShowMenu()Mathias Gumz1-16/+4
2011-02-23renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItemMathias Gumz1-1/+1
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.
2011-01-16compile fix, new name of setMinimumSublevels() is setMinimumColumns()Mathias Gumz1-1/+1
2010-09-17code simplification by reducing if-else hellMathias Gumz1-66/+38
a lot of the parsing-related and menu-building stuff is just plain stupid boiler plate code. putting the data into a const array separates the boiler plate data from the actual code.
2010-09-15use hardcoded array for hardcoded placement menu defaultsMathias Gumz1-30/+28
2010-09-15removed useless codeMathias Gumz1-4/+0
'tools' is transformed to lower case some lines above, 'm_tools_ is a copy of the lower cased 'tools'.
2010-09-15code deduplication by using <algorithm> and FbTk/STLUtil.hhMathias Gumz1-17/+8
2010-05-23mostly cosmetic fixes, mainly discovered by 'clang --analyze'Mathias Gumz1-31/+32
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints.
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2009-07-24make autohide only show the border or 1 pixel if borderlessMark Tiefenbruck1-18/+15
2009-06-28change default toolbar tools to:Mark Tiefenbruck1-1/+1
prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
2009-06-28change default toolbar head from 0 to 1Mark Tiefenbruck1-1/+1
2008-10-19increase default size of toolbar and icon buttonsMark Tiefenbruck1-1/+1
2008-09-28Changed resize signal in BScreen to use the new signal systemHenrik Kinnunen1-1/+8
2008-09-08update workspace names atoms/resources when adding a new workspaceMark Tiefenbruck1-1/+1
also removed unnecessary items from default init file
2008-08-24toolbar placement menu wasn't updatingMark Tiefenbruck1-0/+1
2008-08-04add selection box to various "choose one of these" menu itemsMark Tiefenbruck1-10/+15
2008-04-27Added SimpleObserver class.Henrik Kinnunen1-21/+16
This class works in the same way as the SimpleCommand class. Use it with the makeObserver function. It calls the receiver's member function when the subject sends a signal.
2008-03-29fixed a small issue with autohidden toolbarMathias Gumz1-2/+8
the toolbar was not going to hidden state when the slit covered the toolbar and the mouse was still in the toolbar area. now we check event.subwindow to decide if it was a "valid" leaveNotifyEvent.
2008-02-11more fun with the window menuMark Tiefenbruck1-12/+1
2008-01-27"On head" menu -- reloading and refreshing bugfix.Tomas Janousek1-4/+8
We should reload the contents of this menu on Xinerama layout change. I switched it from FbMenu to ToggleMenu, because the selected head wasn't being updated properly. Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-22fix some issues with window menusMark Tiefenbruck1-1/+13
2008-01-15split Text.hh into Orientation.hh and TextUtils.{cc,hh}Mathias Gumz1-0/+1
2008-01-13fix crashes on restartMark Tiefenbruck1-1/+2
2008-01-12move some stuff from Fluxbox to BScreenMark Tiefenbruck1-4/+1
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-7/+7
ObjectRegistry
2008-01-05update code to use ThemeProxyMark Tiefenbruck1-18/+18
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-28move Shape to FbTkMark Tiefenbruck1-16/+15
2007-12-27architecture astronomyMark Tiefenbruck1-10/+10
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-12-11only allow one open menu at a timemarkt1-21/+15
2007-12-09added OnTitlebar modifier to keys filemarkt1-1/+1
2007-11-23make sure window commands operate on the right windowmarkt1-0/+3
2007-11-22added special FocusIn/Out MouseOver/Out ChangeWorkspace keysmarkt1-3/+8
2007-11-20move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbedmarkt1-1/+1
2007-10-13merged changes from pre-develmarkt1-19/+9
2007-09-08fix crash when changing toolbar visibility with empty toolbar.toolsmarkt1-1/+1
2007-08-07rotate toolbar texture along with toolbarmarkt1-2/+10
2007-07-02fixed DOS when toolbar.button.borderWidth is large and toolbar.bevelWidth > 0markt1-0/+3
moved the transparency menu up with the rest of the submenus in the config menu
2007-03-19size of relative items in toolbar wasn't being calculated properlymarkt1-15/+9
2007-03-10changed default toolbar layer to DOCKmarkt1-1/+1