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
f6c292a406
split Text.hh into Orientation.hh and TextUtils.{cc,hh}
2008-01-15 08:45:57 +01:00
Mark Tiefenbruck
9f2f65a698
make FbTk::Command a template class, split parsing information out of ObjectRegistry
2008-01-10 23:41:22 -08:00
Mark Tiefenbruck
ac1bd7e098
update code to use ThemeProxy
2008-01-04 17:39:19 -08:00
Mark Tiefenbruck
9c105111d2
remove old svn $Id$ tags
2008-01-03 17:34:12 -08:00
Mathias Gumz
04cd2fd14c
removed some unneeded headers
2007-12-30 16:32:53 +01:00
Mark Tiefenbruck
c01bd6e9fd
holding control will now keep the menu open
2007-12-17 21:44:17 -08:00
Mark Tiefenbruck
8516f1e2a2
changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>
2007-12-15 19:36:01 -08:00
markt
8b7464046c
added FbTk::CommandRegistry, decentralized command parsing, and made them auto-register
2007-12-13 05:48:00 +00:00
markt
a59428d67a
merged changes from pre-devel
2007-10-13 21:51:37 +00:00
simonb
52a96c4e9d
use proper test for whether it's a number.
2007-04-08 01:59:41 +00:00
simonb
91963544bd
Only replace numbers with zeros when calculating clock width.
...
Otherwise width of things in proportional fonts can be way out.
sf.net bug #1545066 .
2007-04-08 01:53:19 +00:00
simonb
64fcedda00
use LC_TIME for interpreting clock locale.
...
Fix something likely to break locales on BSDs and things without
nl_langinfo
2007-01-05 16:10:56 +00:00
simonb
3ada3b1f0d
fix nls... notably classify text on conversion whether its for X or
...
console, plus handle catalogs better.
2006-06-21 14:41:16 +00:00
simonb
f6140840f8
fix timer issues (esp clock not updating on multiple screens)
2006-06-19 05:04:42 +00:00
simonb
acf4326f3c
Use -Wall when --enable-debug and some warning fixes
...
+ thanks Jonas Koelker
2006-04-24 14:29:21 +00:00
simonb
4c011a0a12
don't check the clock so often...
2006-04-18 15:17:11 +00:00
simonb
a211ca912d
grow the clock if the text gets too big
2006-04-17 13:36:59 +00:00
simonb
7c79084433
implement vertical toolbar placement options
2006-04-15 16:41:11 +00:00
mathias
a21d42da37
fixed gcc4.1 problems, patch from Andreas Bierfert <andreas dot bierfert at lowlatency dot de>
2006-03-02 07:49:13 +00:00
mathias
ae05ad9a01
updated copyright info
2006-02-16 06:53:05 +00:00
mathias
66a241cc43
if we check the time only ever second we can get into trouble, eg:
...
assume its 12:34:56.99, displaying 12:34:56 takes some time and so its already
12:34:57 when we display 12:34:56. to fix that i set the time to check the
clock to 0.01 seconds. that shouldnt hurt much since we only redraw the clock
when the string has changed.
a more complex approach would be to analyze the strftime-string and set the
timeout accordingly. but i dont know if its really worth the effort and beeing
a bit off schedule can happen too, just not as often as if you are in seconds
mode.
2005-06-30 08:38:53 +00:00
mathias
87212dd249
missing #include <typeinfo>
2005-05-12 19:58:47 +00:00
simonb
9970dd11c7
fix a few more bugs with recent reworking stuff
...
Some fixes could incidentally fix a few other bugs... the flaws were
pre-existing, I've just been weeding out a lot of duplication
2005-04-27 15:15:36 +00:00
simonb
1c2f92a3d2
extension of previous big patch. Move a bunch of menu things onto
...
background pixmap. Same for textbuttons.
2005-04-26 01:41:55 +00:00
mathias
cf46669bc1
copyright date
2005-01-24 18:34:57 +00:00
mathias
82a03ec83e
changing the timeformat of the clocktool is done via the editdialog which
...
causes a reconfigure .. which causes a loop over all toolbaritems and call
updateSizing() .. where we should check, if a new timeformat makes the clock
bigger or smaller...
closes #1026096
2004-12-10 01:58:09 +00:00
mathias
831daf5876
minor cosmetic issue
2004-12-07 15:55:12 +00:00
mathias
993c17cf2e
svn propset svn:keywords "Id"
2004-11-19 11:37:27 +00:00
rathnor
af9e76fce5
* Update de_DE Translation and add some missing NLS values
...
(Thanks Christian Storm)
- also a tiny cleanup of weird nls set
2004-10-10 12:00:37 +00:00
rathnor
42c1fd3ae3
preliminary support for composite/compositing manager. Also general work
...
for consistency with transparency resources
2004-09-12 14:56:20 +00:00
rathnor
d17bf39a43
add autoconf check for std c++ headers
2004-08-31 15:26:40 +00:00
rathnor
97ef84da59
a few random fixes
2004-08-29 08:33:13 +00:00
rathnor
5337fc6640
fix up theming of the toolbar
2004-08-25 17:16:40 +00:00
rathnor
8f88c1fecb
toolbar fixes, updates and optimisations
2004-06-16 15:38:19 +00:00
rathnor
6914d00eb7
toolbar transparency
2004-01-13 14:41:32 +00:00
fluxgen
d26252aa8e
edit clock format menu item
2003-12-19 18:26:48 +00:00
fluxgen
c5b79ed14b
usePixmap from Texture
2003-12-07 16:39:43 +00:00
fluxgen
fc4e008f3c
fixed minor bug in menu item and saving resources when changing value
2003-12-06 16:49:06 +00:00
fluxgen
95d565ba62
toggle clock format via menu
2003-12-04 23:02:23 +00:00
fluxgen
56650fc160
minor bugfix for pixmap
2003-08-15 15:30:18 +00:00
fluxgen
f95868bfc1
minor offset fix
2003-08-15 14:00:20 +00:00
fluxgen
26722ad5c0
using border theme
2003-08-13 10:08:18 +00:00
fluxgen
9bc62a0cfb
minor fixes
2003-08-11 20:29:30 +00:00
fluxgen
d45b3ad764
basic tools for toolbar
2003-08-11 14:32:39 +00:00