Commit graph

47 commits

Author SHA1 Message Date
Thomas Lübking
93a91904e6 compress resize signals
typically buttons will call for this quite some, eg. when switching
workspace or (now) when altering the focused window. This compresses
various changes happening at the same time and re-layout the toolbar
only once for them
2016-10-02 15:53:24 +02:00
Thomas Lübking
3058861f89 indicate iconified windows in iconbar 2016-09-03 19:29:52 +02:00
Mathias Gumz
bb013f5c75 fix compiler warning about std::auto_ptr
fluxbox uses std::unique_ptr<> where it previously used std::auto_ptr<>.

C++0X was approved in 2011. among other things, it deprecates std::auto_ptr.
5 years is long enough for compilers to catch up the standard.
2016-08-28 19:49:30 +02:00
Thomas Lübking
3bde5c8aee Improve stretching (RELATIVE) toolbar items
The available space is distributed reg. the preferred width
of items (spacers and the iconbar ;-) instead of evenly.

The preferred width of the iconbar is calculated from its buttons.

This allows to align the iconbar using spacers and makes better use of
the available space
2016-08-26 07:33:44 +02:00
Pavel Labath
ae68b7f7cd Convert Focusable::orderSig,addSig,removeSig,resetSig to FbTk::Signal 2011-05-10 13:00:45 +02:00
Pavel Labath
f7d7dfd2a8 Convert FbTk::Theme::reconfigSig and friends to the new Signal system
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const
methods anyway.
2011-05-10 13:00:45 +02:00
Mathias Gumz
d11aa42ace bugfix: consistent use of 'int' for alpha values (#3187373)
WindowMenuAccessor returned strange alpha values if compiled
with 'g++ -Os'; unholy black magic happens if template<int> faces
functions returning only 'usigned char'.
2011-02-22 22:07:39 +01:00
Mark Tiefenbruck
37a602899d fix reading iconbar border from theme 2008-08-23 12:46:36 -07:00
Mark Tiefenbruck
dbfddf8e0b added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems 2008-01-07 02:26:32 -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
4cc810b0d3 remove some (hopefully) unneeded header includes 2007-12-29 22:44:11 -08:00
Mark Tiefenbruck
e8a2f155e8 moved Container to FbTk 2007-12-27 21:47:55 -08:00
markt
5d7043320d allow arbitrary window patterns in iconbar 2007-11-12 21:59:43 +00:00
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
fluxgen
a3b30e1c63 some cleaning, using CachedPixmap 2006-10-16 18:49:33 +00:00
markt
00d862724a rename session.screen*.iconbar.deiconifyMode to session.screen0.userFollowModel 2006-08-02 22:02:31 +00:00
markt
e66c3dd866 list windows in iconbar in creation order 2006-07-30 20:37:12 +00:00
markt
698539d9b9 more dead functions 2006-07-01 02:56:46 +00:00
fluxgen
35934ff23e added one more render option for renderButton, force render of focused 2006-05-13 16:21:43 +00:00
simonb
3e6def97d1 fix transparency updates for the toolbar when autohide is on 2006-04-17 15:19:07 +00:00
simonb
7c79084433 implement vertical toolbar placement options 2006-04-15 16:41:11 +00:00
simonb
af74a22845 rotated fonts, buttons, containers. Used for tabs for now 2006-03-26 04:02:30 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
mathias
cd3062405f commited the wrong file in the last session :/ 2005-04-29 18:02:14 +00:00
mathias
31d8f96685 updated copyright dates 2005-02-07 13:42:43 +00:00
mathias
cf46669bc1 copyright date 2005-01-24 18:34:57 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
akir
f5d7833b32 added iconbar.wheelMode and iconbar.deiconifyMode 2004-10-22 00:35:29 +00:00
akir
df9ddbbae8 added iconbar.iconTextPadding 2004-10-10 16:11:25 +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
97ef84da59 a few random fixes 2004-08-29 08:33:13 +00:00
rathnor
8f88c1fecb toolbar fixes, updates and optimisations 2004-06-16 15:38:19 +00:00
rathnor
ea184b3566 fix rendering of icon buttons when they are slightly larger because of
rounding
2003-12-23 01:55:07 +00:00
fluxgen
1dd4b27d30 timedRender so we can remove flicker while changing current client in window 2003-12-19 14:58:48 +00:00
fluxgen
d2d3fbc96c alignment of iconbar buttons 2003-12-12 14:36:22 +00:00
fluxgen
5ce35d9fa8 toggle pixmap for IconButton 2003-11-27 14:30:11 +00:00
rathnor
dda34421a3 fix shape - all menus shaped, and some weird shape bugs 2003-10-06 06:22:43 +00:00
fluxgen
e977ca580b comments 2003-09-10 11:08:14 +00:00
fluxgen
925f968a6a add iconbar mode 2003-09-08 17:52:34 +00:00
fluxgen
f1f5472711 added removeWindow and fixed workspace sig 2003-08-18 11:13:32 +00:00
fluxgen
a1df5f7d15 fixed iconified windows and minor optimization 2003-08-16 11:47:26 +00:00
fluxgen
225e89d775 borderWidth 2003-08-13 10:11:14 +00:00
fluxgen
ee0ff9d6e3 minor code cleaning 2003-08-12 12:14:37 +00:00
fluxgen
687d1a8021 added empty pixmap and change icon2winmap to a std list 2003-08-12 00:19:14 +00:00
fluxgen
fe1c6012e4 iconbar for toolbar 2003-08-11 15:42:29 +00:00