aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.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.
2012-01-04Pre-increment non-primitive types.Ryan Pavlik1-2/+2
Found with cppcheck: "Prefix ++/-- operators should be preferred for non-primitive types. Pre-increment/decrement can be more efficient than post-increment/decrement. Post-increment/decrement usually involves keeping a copy of the previous value around and adds a little extra code."
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
2006-04-24fix memory leaks in menu codesimonb1-0/+3
2006-04-22fix crash when toolbar disabledsimonb1-10/+18
2006-04-21oops... didnt compile!simonb1-2/+2