aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-11-01Store menus if smart pointers (RefCount)Pavel Labath1-42/+36
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. :)
2011-11-01Convert slitlist from a separate file to a regular lua resourcePavel Labath1-62/+71
2011-11-01Replace ResourceManager with the lua versionPavel Labath1-16/+7
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.
2011-11-01Simplify FbTk::Resource template classPavel Labath1-90/+19
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.
2011-11-01Specializations of FbTk::Resource<X>::{setFromLua,pushToLua}Pavel Labath1-0/+16
for various values of X.
2011-05-10Convert Screen::reconfigureSig to FbTk::SignalPavel Labath1-5/+1
2011-05-10Convert FbTk::Theme::reconfigSig and friends to the new Signal systemPavel Labath1-7/+3
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-6/+6
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-15/+3
2011-02-23renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItemMathias Gumz1-3/+3
2011-01-15small refactoring of FbTk/Menu codeMathias Gumz1-1/+1
* removed useless struct _menu * code deduplication via renderMenuPixmap() * improved documentation: - 'sublevel' actually means 'column' - 'persub' means 'row_per_column'
2010-09-08introduced FbTk::BidiStringMathias Gumz1-19/+18
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-23mostly cosmetic fixes, mainly discovered by 'clang --analyze'Mathias Gumz1-30/+30
reordering of Resource-related stuff was because of "error: explicit specialization of 'getString' after instantiation" complaints.
2010-03-17Changed #ifdef DEBUG ... cerr << to using fbdbg.Henrik Kinnunen1-11/+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-07-24make autohide only show the border or 1 pixel if borderlessMark Tiefenbruck1-16/+13
2008-09-28Changed resize signal in BScreen to use the new signal systemHenrik Kinnunen1-7/+13
2008-09-21Changed background changed signal in BScreen to use the new signal systemHenrik Kinnunen1-1/+10
2008-08-14cleanup of some filesMathias Gumz1-1/+1
2008-08-06use the same options in Slit and Toolbar placement menusMark Tiefenbruck1-161/+102
2008-08-04add selection box to various "choose one of these" menu itemsMark Tiefenbruck1-5/+6
2008-01-28Merge branch 'xinerama_randr'Tomas Janousek1-6/+9
2008-01-28minor correction of include namesMathias Gumz1-2/+2
2008-01-27Move dockapps to (-100,-100) instead of (screenw + 10, screenh + 10).Tomas Janousek1-2/+1
The windows used to appear when one xrandr'ed to a bigger resolution. Signed-off-by: Tomas Janousek <tomi@nomi.cz>
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-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-15/+15
ObjectRegistry
2008-01-05update code to use ThemeProxyMark Tiefenbruck1-6/+6
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-30removed some unneeded headersMathias Gumz1-7/+6
2007-12-27architecture astronomyMark Tiefenbruck1-7/+7
2007-12-25removed KDE configure optionMark Tiefenbruck1-11/+4
2007-12-25added resource session.screen<N>.slit.acceptKdeDockappsMark Tiefenbruck1-0/+5
2007-12-18holding control will now keep the menu openMark Tiefenbruck1-7/+9
2007-10-13merged changes from pre-develmarkt1-9/+0
2007-07-03fix updating of systemtray and kde dockapps in slit on background changemarkt1-0/+8
added fluxbox-remote.cc
2007-06-29updates for compiling with gcc 4.3markt1-0/+5
2007-06-03open slit menu properly wrt xineramamarkt1-17/+16
2007-04-20fix slit onhead with BOTTOMLEFT placement, patch from Tomas Janousek <tomi ↵mathias1-1/+1
at nomi dot cz>
2007-02-17an empty slit without autoHide but with clients in the slitlist file still ↵markt1-5/+4
created a strut
2007-01-07fix intrinsic problem with refcountsimonb1-3/+3
adjust slit menus to deconstruct properly
2007-01-07per-window transparency, including apps and menu support, plus some simonb1-1/+1
infrastructure and related changes. Thanks for original patch from Julien Trolet, dmxen at sourceforge dot net
2007-01-06make "force pseudotransparency" menu item work immediatelymarkt1-0/+3
2006-11-12removed duplicate headers, patch from Slava Semushin aka php-coderfluxgen1-3/+0
2006-10-27cosmetic patch from slava semushin, removes whitespaces andmathias1-80/+92
uses only those things from "namespace std" what we really need.
2006-07-06dont use a strut if slit is emptyfluxgen1-1/+3
2006-07-01more dead functionsmarkt1-11/+0
2006-06-27Fix slit menu so it closes when you press escapemarkt1-0/+1
2006-06-21fix nls... notably classify text on conversion whether its for X or simonb1-27/+27
console, plus handle catalogs better.
2006-05-20improve native language handling, move messages and menu labels to simonb1-12/+12
FbTk::FbString
2006-04-25Cleanup unneeded headers (thanks Slava Semushin)mathias1-5/+0