aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
AgeCommit message (Collapse)AuthorFilesLines
2010-03-19Added SelectArg and MemFunSelectArg*Henrik Kinnunen3-0/+149
The MemFunSelectArg* functions can be used to select a specific argument from a signal. For example this would select the string argument as argument to the callback: Signal<void, int, float, string> signal; signal.connect(MemFunSelectArg2(obj, &Object::takesOneStringArg)); signal.emit(10, 3.14, "hello"); ... void Object::takesOneStringArg(const string& value) { ... }
2010-03-18Added missing RelaySignal.hh to Makefile.amHenrik Kinnunen1-1/+1
2010-03-18Added FbTk::relaySignal, which relays new signals to old Subject type signals.Henrik Kinnunen1-0/+62
2010-03-18minor cleaning in MemFun.hhHenrik Kinnunen1-6/+4
2010-03-18Added MemFunIgnoreArgs which ignores aditional arguments.Henrik Kinnunen1-1/+89
For example connecting a function that takes two arguments to a signal that emits three arguments: struct Functor { void show(int a, int b); }; Functor f; Signal<void, int, int, int> s3; s3.connect(MemFunIgnoreArgs(f, &Functor::show));
2010-02-27fixed little preprocessor errorMathias Gumz1-1/+1
2010-01-19improved documentation of the codeMathias Gumz1-5/+8
2009-12-18implemented 'MoveN' and 'ClickN' support in keys file.Mathias Gumz1-25/+31
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent()) is disabled for now, should be added to fluxbox-update_configs
2009-10-08reportedly fix compiling on gcc 4.4 on SolarisMark Tiefenbruck1-0/+2
2009-10-03definition should match declarationMathias Gumz1-1/+1
2009-10-03compile fixes for sun compiler 5.10: class Layer conflicts with class ↵Mathias Gumz2-8/+8
FbTk/Layer .. so just a little renaming
2009-10-03compile fixes for sun compiler 5.10: complains about 'not beeing able to ↵Mathias Gumz1-1/+1
initialize this from that'
2009-10-01another little helper for FbTk::StringUtil: extractNumber()Mathias Gumz2-0/+54
2009-10-01removed unused codeMathias Gumz4-73/+0
2009-10-01compile fix: missing include guardsMathias Gumz1-0/+6
2009-10-01simpler codeMathias Gumz2-0/+9
2009-10-01compile fix: missing headers (sun compiler complained about)Mathias Gumz1-0/+6
2009-10-01compile fix: using correct forward declaration for template classesMathias Gumz3-4/+4
we got this 'Warning (Anachronism): Old syntax for explicit specialization or instantiation ignored.' with the solaris compiler
2009-10-01made code simplerMathias Gumz2-16/+7
2009-09-30cosmetic fix: removed warning about double ';' after commandMathias Gumz1-15/+5
static xyz inside a anonymous namespace is not really needed, so i removed the namespace to get rid of the compiler warning. it's more convinient for the developer to put ';' after that REGISTER_COMMAND_PARSER
2009-09-30compile fix: use the correct format string to parse the numberMathias Gumz1-1/+1
2009-09-30compile fix: sun compiler complains about missing std::mem_fun_t<>Mathias Gumz1-0/+1
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz20-29/+31
2009-09-23bugfix: 'HideMenus' command did not work if the user 'opened' an empty submenu.Mathias Gumz1-1/+1
'openeing' such an empty submenu lead to an already hidden menu referenced by the 'shown' pointer
2009-08-08allow navigating multi-column menus with left and right arrowsMark Tiefenbruck2-4/+23
2009-06-28change default toolbar tools to:Mark Tiefenbruck1-1/+1
prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clock
2009-06-28fix changing iconbar alignment and button width from init fileMark Tiefenbruck1-1/+4
2009-06-28allow 'Ctrl' and 'Alt' as modifiers in keys fileMark Tiefenbruck1-0/+2
2009-06-28previous fix for reverting iconbar to relative broke external tabsMark Tiefenbruck2-21/+29
2009-06-28revert to relative iconbar alignment when too many windows are openMark Tiefenbruck1-23/+16
2009-05-26Error on incomplete MacroCmd key commandJim Ramsay1-7/+9
2009-05-26Exit loop for unterminated { } pairJim Ramsay1-1/+1
2009-02-24remove unnecessary xpm.h include in imlib codeMark Tiefenbruck1-2/+0
2008-10-15ignore XRandr events that don't actually change the screen sizeMark Tiefenbruck2-7/+12
2008-10-13merge menuDelay and menuDelayClose optionsMark Tiefenbruck3-10/+6
2008-10-09using namespace instead of a useless classMathias Gumz3-56/+21
2008-10-07allow relative path for background images in style filesMark Tiefenbruck2-17/+21
2008-10-05remove menu modesMark Tiefenbruck3-10/+1
2008-10-04fix flickering of shaped windows on focus changesMark Tiefenbruck1-37/+34
2008-10-01fix restackingMark Tiefenbruck2-14/+51
2008-10-01don't flash original window in the middle of cycling focusMark Tiefenbruck4-10/+19
2008-09-28Merge branch 'master' of fluxbox@git.fluxbox.org:fluxboxHenrik Kinnunen7-96/+60
Conflicts: ChangeLog
2008-09-28Change focused signal to use the new signal systemHenrik Kinnunen1-11/+21
2008-09-28don't let KeyRelease events propagate to windowsMark Tiefenbruck3-18/+9
2008-09-27fix some goofy codeMark Tiefenbruck1-73/+38
2008-09-26fix rounded corners on restartMark Tiefenbruck1-2/+5
2008-09-22fix active menu item when inserting or removing other itemsMark Tiefenbruck2-3/+8
2008-09-21no virtuals needed Signals, added leaveAll for SignalTracker which must be ↵Henrik Kinnunen1-13/+22
used before all screens dies.
2008-09-21fix a few things with new signal codeMark Tiefenbruck1-5/+22
2008-09-18Added new Signal/Slot system in FbTkHenrik Kinnunen4-0/+652
This is suppose to replace the obsolete Subject/Observer classes. See the src/tests/testSignals.cc for basic usage.