aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-09-03hide menus when clicking title or toolbarThomas Lübking1-0/+2
BUG: 1149
2016-09-03indicate iconified windows in iconbarThomas Lübking1-0/+19
2016-08-26emit resize signal when altering the iconbar modeThomas Lübking1-0/+2
Otherwise the iconbar would be capped when showing more (eg. all instead of iconified) windows
2016-08-26Improve stretching (RELATIVE) toolbar itemsThomas Lübking1-5/+24
The available space is distributed reg. the preferred width of items (spacers and the iconbar ;-) instead of evenly. The preferred width of the iconbar is calculated from its buttons. This allows to align the iconbar using spacers and makes better use of the available space
2015-01-15Refactor menu code: be more explicit and compactMathias Gumz1-66/+49
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::orderSig,addSig,removeSig,resetSig to FbTk::SignalPavel Labath1-22/+25
2011-05-10Convert FbTk::Theme::reconfigSig and friends to the new Signal systemPavel Labath1-11/+10
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
2011-04-03bugfix: return 'height' if container is rotated vertically, closes #3195728Gediminas Liktaras1-2/+2
iconbar.iconWidth property was ignored due this bug.
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-24moved Menu placement into ScreenPlacement::placeAndShowMenu()Mathias Gumz1-4/+2
2011-02-22bugfix: consistent use of 'int' for alpha values (#3187373)Mathias Gumz1-1/+1
WindowMenuAccessor returned strange alpha values if compiled with 'g++ -Os'; unholy black magic happens if template<int> faces functions returning only 'usigned char'.
2010-09-17missing initializationsMathias Gumz1-1/+2
'valgrind' reported a lot of code branches based upon uninitialized variables. some are not identified yet.
2010-09-15code deduplication by using <algorithm> and FbTk/STLUtil.hhMathias Gumz1-4/+6
2010-09-09added FbTk::Util::clamp() and simplified related codeMathias Gumz1-5/+2
2010-09-08introduced FbTk::BidiStringMathias Gumz1-3/+4
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-03-17Changed #ifdef DEBUG ... cerr << to using fbdbg.Henrik Kinnunen1-10/+6
This will reduce the number of #ifdef DEBUG for simple debug messages. include "Debug.hh" and use fbdbg instead of cerr for debug.
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2009-06-28previous fix for reverting iconbar to relative broke external tabsMark Tiefenbruck1-1/+3
2008-10-19increase default size of toolbar and icon buttonsMark Tiefenbruck1-1/+1
2008-08-23fix reading iconbar border from themeMark Tiefenbruck1-6/+10
2008-08-18fix some defaultsMark Tiefenbruck1-8/+4
2008-08-04add selection box to various "choose one of these" menu itemsMark Tiefenbruck1-9/+9
2008-05-13Fixed startup bug for window menu in iconbar.Henrik Kinnunen1-6/+1
The window menu in the iconbutton was not updated properly the first time it was used ( before right clicking in the real window titlebar).
2008-02-11more fun with the window menuMark Tiefenbruck1-1/+1
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-10/+10
ObjectRegistry
2008-01-07added new ThemeProxy for automatically handling focused vs. unfocused ThemeItemsMark Tiefenbruck1-9/+14
2008-01-05update code to use ThemeProxyMark Tiefenbruck1-5/+6
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30removed some unneeded headersMathias Gumz1-1/+0
2007-12-28move STLUtil to FbTkMark Tiefenbruck1-2/+2
2007-12-28moved Container to FbTkMark Tiefenbruck1-17/+17
2007-12-27architecture astronomyMark Tiefenbruck1-3/+3
2007-12-18holding control will now keep the menu openMark Tiefenbruck1-4/+6
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-2/+1
2007-12-02make sure subj != 0 in IconbarTool::update()markt1-1/+1
2007-11-12allow arbitrary window patterns in iconbarmarkt1-218/+97
2007-10-13merged changes from pre-develmarkt1-276/+102
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2007-03-10make sure iconbar text padding gets reapplied on reconfiguremarkt1-2/+1
2007-01-07another little bug with iconbar renderingmarkt1-4/+14
2007-01-07little cleanupmarkt1-2/+0
2007-01-07fix little bug with iconbar renderingmarkt1-1/+6
2006-10-30Cosmetic patch from Slava Semushinmathias1-57/+65
2006-10-16some cleaning, using CachedPixmapfluxgen1-60/+33
2006-08-02rename session.screen*.iconbar.deiconifyMode to session.screen0.userFollowModelmarkt1-36/+0
2006-07-30list windows in iconbar in creation ordermarkt1-105/+25
2006-07-01more dead functionsmarkt1-14/+0
2006-06-24Make Urgency Hint flash the correct WinClient's tab.markt1-1/+1