aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-09-21support OnWinButton, OnMinButton & OnMaxButtonThomas Lübking1-4/+30
... actions in keys. This allows to override the default behavior as well as adding actions for the mouse wheel. Special casing of the two "geometry" related buttons (eg. to perform smart maximization, reverse the partial maximzation, add shading to the min button or whatnot) All other buttons have a rather dedicated meaning and are only really interesting for adding mouse wheels or eg. the window menu on rmb clicks. Needs docu.
2015-02-04Fix problem with too small WinButtonsMathias Gumz1-53/+71
Under some circumstances a WinButton might be tiny (1x1 pixel). Substracting values > 1 yields either 0 or something reaaaaly big (UINT_MAX). This will make fluxbox either crash or make it act weird. We don't want this.
2013-02-06Feature #3602124: 'LHalf' and 'RHalf' buttons to the titlebarMathias Gumz1-15/+20
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.
2012-12-30src/WinButton.{cc,hh}: cosmeticVladimir A. Pavlov1-41/+13
2012-12-30Make use of window.stuck.pressed.pixmapVladimir A. Pavlov1-1/+3
2011-05-10Convert FluxboxWindow::stateSig to FbTk::SignalPavel Labath1-5/+1
2011-05-10Convert FbTk::Theme::reconfigSig and friends to the new Signal systemPavel Labath1-1/+2
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
2010-03-26Changed title signal in Focusable to new signal systemHenrik Kinnunen1-2/+5
2008-08-30more fun with global variablesMark Tiefenbruck1-1/+5
2008-01-08split WinButtonTheme into multiple themesMark Tiefenbruck1-58/+23
2008-01-05update code to use ThemeProxyMark Tiefenbruck1-28/+28
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-3/+0
2007-12-30removed some unneeded headersMathias Gumz1-21/+19
2007-10-13merged changes from pre-develmarkt1-4/+4
2007-02-02revert svn 4684, transparency in window buttonsmarkt1-169/+201
2007-01-21allow transparency in window buttonsmarkt1-201/+169
2007-01-06move triangle drawing into FbDrawablesimonb1-12/+13
Make MenuItem triangles proportional
2007-01-01don't set menuicon background to style's pixmap when the window has an iconmarkt1-41/+7
2006-04-17iconbutton handling fixessimonb1-17/+10
2006-04-14more button state fixing for shade, should be right nowsimonb1-2/+10
plus noticed typo in theme for unshade
2006-04-14fix window button image updatessimonb1-2/+2
2006-03-20external tabssimonb1-1/+1
2006-02-16updated copyright infomathias1-1/+1
2005-05-12when the app changes its pixmap we need to trigger that correctlymathias1-0/+12
2005-05-11minor optimizationmathias1-2/+2
2005-05-07new code in WinButton was assuming that at ::clear() - time there is always amathias1-5/+5
valid m_listen_to.winClient() .. which is not true under some circumstance. i guarded the code accordingly.
2005-05-06Added new Buttons for the Titlebar of a Window (Mathias)mathias1-19/+147
- 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-04-13fix a few small bugs from recent big patchsimonb1-1/+7
2005-04-10Big changes to how transparency workssimonb1-217/+163
Consequently rearrange lots of rendering ops, and strip calls to updateTransparent
2005-01-24copyright datemathias1-1/+1
2004-11-19svn propset svn:keywords "Id"mathias1-1/+1
2004-05-14tweak the X in the close button. It was uneven. Check the commentrathnor1-3/+10
for details, I suspect it depends on X version :-/
2004-02-27improved speedfluxgen1-3/+1
2004-02-27fixed some transparent bugsfluxgen1-4/+4
2004-01-10fix some minor transparency issuesrathnor1-16/+21
2003-10-31tweak winbutton icon drawing, plus a little fix to icon changesrathnor1-6/+16
2003-09-22fix invisible minimize buttonrathnor1-2/+2
2003-09-14fixed stick pressed pixmap bugfluxgen1-10/+6
2003-09-14minor fixfluxgen1-2/+1
2003-09-12fixed minor transparent issuefluxgen1-1/+2
2003-09-12fixed correct fallbackfluxgen1-88/+122
2003-08-22fixed new image loadingfluxgen1-35/+35
2003-08-22fixed scaling in theme insteadfluxgen1-82/+35
2003-08-13Button changed to a FbWindowfluxgen1-77/+76
2003-08-04updateTransparentfluxgen1-1/+2
2003-05-07fix alignment of unstuck default pixmaprathnor1-2/+2
2003-05-06added stuck pixmap, and unfocus pixmapsfluxgen1-26/+99
2003-04-28added WinButtonTheme with pixmap supportfluxgen1-25/+149
2003-04-25fixed so it gets win state sticky to update sticky buttonfluxgen1-32/+35
2003-02-23using not sticky state as defaultfluxgen1-11/+11