Commit graph

49 commits

Author SHA1 Message Date
Mathias Gumz
34343bb20b Feature #3602124: 'LHalf' and 'RHalf' buttons to the titlebar
First draft of feature request of #3602124: Having 2 buttons in the titlebar
which allow quick positioning of a Window into the left or right half of the
current monitor.
2013-02-06 13:47:17 +01:00
Vladimir A. Pavlov
edcb6d57ce src/WinButton.{cc,hh}: cosmetic 2012-12-30 12:27:52 +01:00
Vladimir A. Pavlov
c8d0945a8f Make use of window.stuck.pressed.pixmap 2012-12-30 12:27:47 +01:00
Pavel Labath
e53d14e910 Convert FluxboxWindow::stateSig to FbTk::Signal 2011-05-10 13:00:46 +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
Henrik Kinnunen
dd8fcc8b7b Changed title signal in Focusable to new signal system 2010-03-26 18:15:45 +01:00
Mark Tiefenbruck
fd0389d2e1 more fun with global variables 2008-08-30 15:24:14 -04:00
Mark Tiefenbruck
1f01d84c08 split WinButtonTheme into multiple themes 2008-01-08 00:50:58 -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
markt
a59428d67a merged changes from pre-devel 2007-10-13 21:51:37 +00:00
markt
2f4d0f6cde revert svn 4684, transparency in window buttons 2007-02-02 19:10:58 +00:00
markt
240ebcb30a allow transparency in window buttons 2007-01-21 19:04:01 +00:00
simonb
1f7b12cc49 move triangle drawing into FbDrawable
Make MenuItem triangles proportional
2007-01-06 07:38:04 +00:00
markt
9910094bd1 don't set menuicon background to style's pixmap when the window has an icon 2007-01-01 07:15:59 +00:00
simonb
b9af026688 iconbutton handling fixes 2006-04-17 23:34:01 +00:00
simonb
83a3429c39 more button state fixing for shade, should be right now
plus noticed typo in theme for unshade
2006-04-14 15:26:25 +00:00
simonb
0780952b10 fix window button image updates 2006-04-14 14:22:16 +00:00
simonb
f2d3fff4d4 external tabs 2006-03-20 11:31:24 +00:00
mathias
ae05ad9a01 updated copyright info 2006-02-16 06:53:05 +00:00
mathias
59a806799f when the app changes its pixmap we need to trigger that correctly 2005-05-12 19:55:49 +00:00
mathias
44f2af5c10 minor optimization 2005-05-11 08:57:53 +00:00
mathias
64eb8cd6a9 new code in WinButton was assuming that at ::clear() - time there is always a
valid m_listen_to.winClient() .. which is not true under some circumstance.
i guarded the code accordingly.
2005-05-07 08:06:23 +00:00
mathias
4338fbec76 Added new Buttons for the Titlebar of a Window (Mathias)
- Shade - just like the "Stick"-button
  Styleresources:
    window.shade.pixmap, window.shade.unfocus.pixmap, window.shade.pressed.pixmap
    window.unshade.pixmap, window.unshade.unfocus.pixmap, window.unshade.pressed.pixmap
    etc.
- MenuIcon - click on it provides the windowmenu, if the app
  contains a pixmap (gvim, konqueror etc etc) the pixmap is displayed, a
  little menu otherwise. 
  Styleresources:
    windowmenu.pixmap, windowmenu.unfocus.pixmap windowmenu.pressed.pixmap
    etc.
Example ~/.fluxbox/init - entry:
  session.titlebar.left: MenuIcon Stick
  session.titlebar.right: Shade Minimize Maximize Close


hint: if the app HAS a pixmap i use window.title.focus.pixmap (look
WinButtonTheme for reference)in pixmap-based-styles. this looks excellent and dont need 
much extra-code to pipe that info into WinButtons.
2005-05-06 18:04:14 +00:00
simonb
ddcecec37e fix a few small bugs from recent big patch 2005-04-13 14:39:25 +00:00
simonb
88c66f0687 Big changes to how transparency works
Consequently rearrange lots of rendering ops, and strip calls to 
updateTransparent
2005-04-10 18:18:14 +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
rathnor
36a848c4a5 tweak the X in the close button. It was uneven. Check the comment
for details, I suspect it depends on X version :-/
2004-05-14 13:44:31 +00:00
fluxgen
214a68012b improved speed 2004-02-27 13:25:18 +00:00
fluxgen
b7077b18d0 fixed some transparent bugs 2004-02-27 12:29:13 +00:00
rathnor
5e87ca1ea4 fix some minor transparency issues 2004-01-10 00:37:35 +00:00
rathnor
af7deab379 tweak winbutton icon drawing, plus a little fix to icon changes 2003-10-31 19:32:40 +00:00
rathnor
2f2e2185c3 fix invisible minimize button 2003-09-22 12:07:00 +00:00
fluxgen
56b9ef14ba fixed stick pressed pixmap bug 2003-09-14 17:34:47 +00:00
fluxgen
ce1852c293 minor fix 2003-09-14 10:22:45 +00:00
fluxgen
4c1c1267b6 fixed minor transparent issue 2003-09-12 23:36:16 +00:00
fluxgen
5eaa343471 fixed correct fallback 2003-09-12 22:52:22 +00:00
fluxgen
dc3f13d2fc fixed new image loading 2003-08-22 21:35:40 +00:00
fluxgen
1e7983d49f fixed scaling in theme instead 2003-08-22 15:04:18 +00:00
fluxgen
662be09609 Button changed to a FbWindow 2003-08-13 10:14:54 +00:00
fluxgen
6e1cecc261 updateTransparent 2003-08-04 12:52:39 +00:00
rathnor
31c77912d8 fix alignment of unstuck default pixmap 2003-05-07 12:16:09 +00:00
fluxgen
7298f23b0d added stuck pixmap, and unfocus pixmaps 2003-05-06 23:58:08 +00:00
fluxgen
3f62d0e808 added WinButtonTheme with pixmap support 2003-04-28 22:41:28 +00:00
fluxgen
9751d05db3 fixed so it gets win state sticky to update sticky button 2003-04-25 17:35:28 +00:00
fluxgen
0ff94f1c8f using not sticky state as default 2003-02-23 01:06:23 +00:00
fluxgen
3145c28d09 draws simple window graphics and handles buttons 2003-01-05 22:48:54 +00:00