aboutsummaryrefslogtreecommitdiff
path: root/src/ArrowButton.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-17 11:30:59 (GMT)
committerfluxgen <fluxgen>2003-05-17 11:30:59 (GMT)
commit0e1eb7484118cfec7d065022d1391651ca70d7be (patch)
treeeb3a41c7f2e3ca304c9dbcecf971826c9802f989 /src/ArrowButton.hh
parent1d49072a767b6c3525906135330d1d715616574c (diff)
downloadfluxbox-0e1eb7484118cfec7d065022d1391651ca70d7be.zip
fluxbox-0e1eb7484118cfec7d065022d1391651ca70d7be.tar.bz2
fixed autohide bug on toolbar buttons
Diffstat (limited to 'src/ArrowButton.hh')
-rw-r--r--src/ArrowButton.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ArrowButton.hh b/src/ArrowButton.hh
index bcad0f2..d166935 100644
--- a/src/ArrowButton.hh
+++ b/src/ArrowButton.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: ArrowButton.hh,v 1.2 2003/04/27 01:54:18 fluxgen Exp $ 22// $Id: ArrowButton.hh,v 1.3 2003/05/17 11:30:59 fluxgen Exp $
23 23
24#ifndef ARROWBUTTON_HH 24#ifndef ARROWBUTTON_HH
25#define ARROWBUTTON_HH 25#define ARROWBUTTON_HH
@@ -41,10 +41,14 @@ public:
41 void buttonReleaseEvent(XButtonEvent &event); 41 void buttonReleaseEvent(XButtonEvent &event);
42 void buttonPressEvent(XButtonEvent &event); 42 void buttonPressEvent(XButtonEvent &event);
43 void exposeEvent(XExposeEvent &event); 43 void exposeEvent(XExposeEvent &event);
44 void enterNotifyEvent(XCrossingEvent &ce);
45 void leaveNotifyEvent(XCrossingEvent &ce);
44 46
47 void setMouseMotionHandler(FbTk::EventHandler *eh) { m_mouse_handler = eh; }
45private: 48private:
46 void drawArrow(); 49 void drawArrow();
47 Type m_arrow_type; 50 Type m_arrow_type;
51 FbTk::EventHandler *m_mouse_handler;
48}; 52};
49 53
50#endif // ARROWBUTTON_HH 54#endif // ARROWBUTTON_HH