Henrik Kinnunen
ceff86b794
Added SelectArg and MemFunSelectArg*
...
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-19 02:23:41 +01:00
Henrik Kinnunen
68e90ab84f
Added missing RelaySignal.hh to Makefile.am
2010-03-18 19:47:14 +01:00
Henrik Kinnunen
6ed8369d57
Changed Focusable::focusSig() to new signal system.
...
The focus signal emits the window that had the focus status changed.
2010-03-18 19:41:35 +01:00
Henrik Kinnunen
02bb93590c
Added FbTk::relaySignal, which relays new signals to old Subject type signals.
2010-03-18 19:35:19 +01:00
Henrik Kinnunen
31a458f365
Fixed so testDemandAttention compiles
2010-03-18 12:08:03 +01:00
Henrik Kinnunen
18570d83a2
minor cleaning in MemFun.hh
2010-03-18 10:56:15 +01:00
Henrik Kinnunen
0504de454a
Added MemFunIgnoreArgs which ignores aditional arguments.
...
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-03-18 10:45:33 +01:00
Henrik Kinnunen
5a91ada3c6
updated changelog
2010-03-17 16:48:46 +01:00
Henrik Kinnunen
ce0b41c847
Changed #ifdef DEBUG ... cerr << to using fbdbg.
...
This will reduce the number of #ifdef DEBUG for
simple debug messages.
include "Debug.hh" and use fbdbg instead of cerr for debug.
2010-03-17 16:35:07 +01:00
Mathias Gumz
7a86dad21b
bugfix: do not create the temporary menufile 'somewhere' in the filesystem but next to the final one
2010-02-28 20:16:46 +01:00
Mathias Gumz
254bc96daf
fixed little preprocessor error
2010-02-27 10:33:06 +01:00
Mathias Gumz
ce1aca9b3e
updated ChangeLog entries
2010-01-19 20:22:13 +01:00
Mathias Gumz
c65dc30fc2
improved documentation of the code
2010-01-19 20:20:13 +01:00
Mathias Gumz
a2f673ccaf
optimization of how often fluxbox checks for the system time to display it in the clocktool
...
the idea (as a first patch) for this change was provided by
Thomas Habets (thomas at habets pp se). instead of having a
fixed interval each second, we now calculate the next point in
time based upon the format string used by the clocktool to render
the time. as long as no seconds are shown fluxbox now wakes up
once every minute.
2010-01-19 20:19:45 +01:00
Mathias Gumz
e102544c2d
updated changelog
2010-01-14 07:36:59 +01:00
Mathias Gumz
b690fba33a
recreated the generated manpages
2010-01-14 07:35:51 +01:00
Paul Tagliamonte
3f15907b78
fixed spelling
2010-01-14 07:35:21 +01:00
Mathias Gumz
46261a8284
implemented 'MoveN' and 'ClickN' support in keys file.
...
the hardcoded 'OnTitlebar Mouse1 :Raise' (see Window.cc, FluxboxWindow::buttonPressEvent())
is disabled for now, should be added to fluxbox-update_configs
2009-12-18 08:05:07 +01:00
Paul Tagliamonte
79859c9448
updated fluxbox-keys documentation, added 'Fullscreen'
2009-12-16 05:25:01 +01:00
Mathias Gumz
ca3453fe6d
cosmetic
2009-11-23 21:15:41 +01:00
Michal Zime
69d80c5905
Keep 'maximum/fullscreen' when moving a window between different heads
2009-11-23 21:11:04 +01:00
Mark Tiefenbruck
8def80cec3
reportedly fix compiling on gcc 4.4 on Solaris
2009-10-08 00:18:43 -07:00
Mathias Gumz
6645688880
definition should match declaration
2009-10-03 13:53:13 +02:00
Mathias Gumz
69bf3965b7
compile fixes for sun compiler 5.10: class Layer conflicts with class FbTk/Layer .. so just a little renaming
2009-10-03 13:53:00 +02:00
Mathias Gumz
a973154c66
compile fixes for sun compiler 5.10: 'i want an extern C function ptr'
2009-10-03 13:40:32 +02:00
Mathias Gumz
f2ea245f1d
compile fixes for sun compiler 5.10: complains about 'not beeing able to initialize this from that'
2009-10-03 13:38:41 +02:00
Mathias Gumz
0f299ceecd
minor typo
2009-10-03 09:12:46 +02:00
Mathias Gumz
5db3166d95
updated changelog
2009-10-03 09:08:39 +02:00
Mathias Gumz
54c58bba21
cosmetic: use FbTk::StringUtil::number2String()
2009-10-03 09:06:34 +02:00
Mathias Gumz
2a85804222
build system: checking to link against extensions (Xinerama, Randr, Shape) is not enough, we have to check the headers as well
2009-10-03 09:06:03 +02:00
Mathias Gumz
8e8939821c
build system: moved some things around, 'finished configuring' message now at the end
2009-10-03 09:05:03 +02:00
Mathias Gumz
3b362ab816
build system: autocreate the 'missing' file, fixes the 'unknown --run option for missing' issue
2009-10-03 09:03:15 +02:00
Mathias Gumz
60722e4d20
updated changelog
2009-10-02 08:39:49 +02:00
Mathias Gumz
80e8cd071e
just use the FbTk API
2009-10-02 08:38:24 +02:00
Mathias Gumz
1b4596ee85
bugfix: stop wiping out ~/.fluxbox/keys
2009-10-02 08:37:44 +02:00
Mathias Gumz
261ba26d27
another little helper for FbTk::StringUtil: extractNumber()
2009-10-01 21:16:46 +02:00
Mathias Gumz
57b6e5a778
updated changelog
2009-10-01 09:07:00 +02:00
Mathias Gumz
4eeac74a3d
removed unused code
2009-10-01 08:58:56 +02:00
Mathias Gumz
65a45dc65f
compile fix: missing include guards
2009-10-01 08:57:46 +02:00
Mathias Gumz
c4c96ec830
simpler code
2009-10-01 08:57:31 +02:00
Mathias Gumz
710ad1d456
compile fix: taken 'FbTk' out of includepath, Layer.hh and FbTk/Layer.hh confused the sun compiler
2009-10-01 08:42:00 +02:00
Mathias Gumz
078438e993
compile fix: missing headers (sun compiler complained about)
2009-10-01 08:41:04 +02:00
Mathias Gumz
6c0739e889
compile fix: using correct forward declaration for template classes
...
we got this 'Warning (Anachronism): Old syntax for explicit specialization or
instantiation ignored.' with the solaris compiler
2009-10-01 07:34:37 +02:00
Mathias Gumz
38ef6e5155
made code simpler
2009-10-01 07:07:07 +02:00
Mathias Gumz
69de5b5a00
cosmetic fix: removed warning about double ';' after command
...
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-30 21:08:55 +02:00
Mathias Gumz
9cd953b2e1
compile fix: ISO C++ forbids variable length array 'names'
2009-09-30 21:05:42 +02:00
Mathias Gumz
f8c61a1ba2
compile fix: use the correct format string to parse the number
2009-09-30 21:05:02 +02:00
Mathias Gumz
e8c2690bfc
cosmetic: slightly less code to do the same
2009-09-30 21:03:59 +02:00
Mathias Gumz
12fe9ca7a8
compile fix: sun compiler complains about missing std::mem_fun_t<>
2009-09-30 21:03:25 +02:00
Mathias Gumz
884db973bb
cosmetic fixes: removed redundant ';' + some whitespaces
2009-09-30 21:02:24 +02:00