aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
AgeCommit message (Collapse)AuthorFilesLines
2012-04-07Add RangeTraits class which automatically clamps the value of resourcesPavel Labath1-2/+3
and start using it.
2012-04-07Enable the resource traits classes to hold non-static membersPavel Labath1-3/+1
ps: the Resource class inherits from the Traits class instead of holding it as a member because it's more size-efficient (base classes can have zero size, members cannot).
2012-04-07Store menus if smart pointers (RefCount)Pavel Labath1-13/+11
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. :)
2012-04-07Make session.screenX.workspace_names a real FbTk::ResourcePavel Labath1-3/+8
instead of the add-on hack it was. This also fixes a lot of problems with saving of config.
2012-04-07Replace ResourceManager with the lua versionPavel Labath1-9/+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.
2012-04-07Simplify FbTk::Resource template classPavel Labath1-11/+11
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.
2012-04-06Allow percentage values for some Window commandsLajos Koszti1-0/+17
2011-05-10Remove all trace of Observers and SubjectsPavel Labath1-2/+0
this marks the completion of the transition to FbTk::Signal
2011-05-10Convert Screen::reconfigureSig to FbTk::SignalPavel Labath1-15/+2
2011-05-10Last round of simplification of Signal/Slot classesPavel Labath1-3/+3
- merged all the common stuff from 0,1,2,3 argument versions into one common base class - removed ReturnType template parameter as it was instantiated with "void" everywhere and the current ignores the return value of the callbacks anyway
2011-05-10Convert FbTk::Theme::reconfigSig and friends to the new Signal systemPavel Labath1-6/+3
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
2011-04-25bugfix: do not warp workspaces with only one workspaceMathias Gumz1-1/+1
2011-03-23removed useless codeMathias Gumz1-6/+2
2011-03-19prepare BScreen::XineramaHeadInfo to be 'RectangleLike'Mathias Gumz1-1/+5
2011-03-18compile fix for clang, forward declaration of FocusControl was not enoughMathias Gumz1-1/+2
2011-02-23renamed FbTk::XLayer to FbTk::Layer and FbTk::XLayerItem to FbTk::LayerItemMathias Gumz1-2/+2
2010-09-09removed dead codeMathias Gumz1-3/+0
2010-09-08introduced FbTk::BidiStringMathias Gumz1-1/+1
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).
2008-10-13merge menuDelay and menuDelayClose optionsMark Tiefenbruck1-1/+1
2008-10-05remove menu modesMark Tiefenbruck1-1/+0
2008-10-05remove follow modelsMark Tiefenbruck1-12/+0
2008-10-05remove line style resources from init fileMark Tiefenbruck1-5/+0
2008-10-05remove rootcommand from init fileMark Tiefenbruck1-1/+0
2008-09-28Changed resize signal in BScreen to use the new signal systemHenrik Kinnunen1-4/+4
2008-09-28Changed workspace area signal to use the new signal systemHenrik Kinnunen1-2/+2
2008-09-28Merge branch 'master' of fluxbox@git.fluxbox.org:fluxboxHenrik Kinnunen1-1/+2
Conflicts: ChangeLog
2008-09-28Change focused signal to use the new signal systemHenrik Kinnunen1-2/+2
2008-09-28don't let KeyRelease events propagate to windowsMark Tiefenbruck1-1/+2
2008-09-21Changed icon list signal in BScreen to use the new signal systemHenrik Kinnunen1-2/+2
2008-09-21Changed client list signal in BScreen to use the new signal systemHenrik Kinnunen1-2/+2
2008-09-21Changed background changed signal in BScreen to use the new signal systemHenrik Kinnunen1-10/+10
2008-09-21Changed workspace names signal in BScreen to use the new signal systemHenrik Kinnunen1-2/+4
2008-09-21Changed current workspace signal in BScreen to use the new signal systemHenrik Kinnunen1-2/+2
2008-09-18Changed workspace count signal in BScreen to use the new signal system.Henrik Kinnunen1-2/+3
2008-09-11fix some default valuesMark Tiefenbruck1-5/+0
2008-09-08update workspace names atoms/resources when adding a new workspaceMark Tiefenbruck1-2/+0
also removed unnecessary items from default init file
2008-08-27remove option to disable decorations on transient windowsMark Tiefenbruck1-3/+1
2008-08-15move some frame size calculations to FbWinFrameMark Tiefenbruck1-1/+1
2008-06-26remove dithering codeMark Tiefenbruck1-2/+1
2008-06-20move default window menu to ~/.fluxbox/windowmenuMark Tiefenbruck1-1/+1
2008-05-12refactor menu reloading, added FbTk::AutoReloadHelperMark Tiefenbruck1-13/+14
2008-05-11more useless codeMark Tiefenbruck1-4/+0
2008-05-09Fixed so tooltip window in the iconbar when the title changes.Henrik Kinnunen1-3/+10
2008-05-05add tooltips for iconbar buttons when title is too long to fitMatteo Galiazzo1-2/+7
2008-02-10removed gotoHenrik Kinnunen1-0/+3
2008-01-27Move windows out of inactive heads upon layout change.Tomas Janousek1-0/+1
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27Reload the Xinerama layout on RandR signal.Tomas Janousek1-1/+1
The m_head_areas became a vector, because we need to dynamically change its size. The functions manipulating struts (which refer to a particular head) now check whether the head still exists. Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-19move position and geometry windows into their own classMark Tiefenbruck1-4/+4
2008-01-12move some stuff from Fluxbox to BScreenMark Tiefenbruck1-0/+2
2008-01-08split WinButtonTheme into multiple themesMark Tiefenbruck1-3/+9