aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-02-17Emit the "modified" signal when a resource value is changed through C++ codePavel Labath1-2/+1
2013-02-17Store menus if smart pointers (RefCount)Pavel Labath1-10/+8
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. :)
2013-02-16Replace ResourceManager with the lua versionPavel Labath1-7/+5
Loading of an init file with the new manager works ok. Saving and restarting is still not completed. This touches many files because i removed the alternative name of resources. Unlike Xrm, lua does not have native support for alt names. It should be fairly easy to add them, but I think that is unnecessary and would be confusing.
2013-02-16Simplify FbTk::Resource template classPavel Labath1-39/+6
by outsourcing the conversion from string/lua to the specific type (and back) to a separate class. This change touches a lot of files because the interface of FbTk::Resource changed slightly. However, the changes are minor.
2013-02-16Specializations of FbTk::Resource<X>::{setFromLua,pushToLua}Pavel Labath1-0/+16
for various values of X.
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