diff options
author | rathnor <rathnor> | 2004-08-26 15:09:33 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-26 15:09:33 (GMT) |
commit | 346a6598a62350c5d234e3177de9e6c6c1963475 (patch) | |
tree | 02706013944f306c549ca627144a13d6552cd098 /src/ArrowButton.hh | |
parent | 13bf2a7fddff4242581eec62243222acd49a1537 (diff) | |
download | fluxbox_pavel-346a6598a62350c5d234e3177de9e6c6c1963475.zip fluxbox_pavel-346a6598a62350c5d234e3177de9e6c6c1963475.tar.bz2 |
make arrow button's arrow size scalable by the user
Diffstat (limited to 'src/ArrowButton.hh')
-rw-r--r-- | src/ArrowButton.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ArrowButton.hh b/src/ArrowButton.hh index 6a74a30..ccd0346 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.4 2003/10/13 23:51:04 fluxgen Exp $ | 22 | // $Id: ArrowButton.hh,v 1.5 2004/08/26 15:09:33 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef ARROWBUTTON_HH | 24 | #ifndef ARROWBUTTON_HH |
25 | #define ARROWBUTTON_HH | 25 | #define ARROWBUTTON_HH |
@@ -45,10 +45,13 @@ public: | |||
45 | void leaveNotifyEvent(XCrossingEvent &ce); | 45 | void leaveNotifyEvent(XCrossingEvent &ce); |
46 | 46 | ||
47 | void setMouseMotionHandler(FbTk::EventHandler *eh) { m_mouse_handler = eh; } | 47 | void setMouseMotionHandler(FbTk::EventHandler *eh) { m_mouse_handler = eh; } |
48 | |||
49 | void updateTheme(const FbTk::Theme &theme); | ||
48 | private: | 50 | private: |
49 | void drawArrow(); | 51 | void drawArrow(); |
50 | Type m_arrow_type; | 52 | Type m_arrow_type; |
51 | FbTk::EventHandler *m_mouse_handler; | 53 | FbTk::EventHandler *m_mouse_handler; |
54 | int m_arrowscale; | ||
52 | }; | 55 | }; |
53 | 56 | ||
54 | #endif // ARROWBUTTON_HH | 57 | #endif // ARROWBUTTON_HH |