diff options
author | fluxgen <fluxgen> | 2004-09-11 13:45:16 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-09-11 13:45:16 (GMT) |
commit | 768d98a39d3640f24ebe13e2c304fac3436a0a0d (patch) | |
tree | 3a5a60b06c4c2f3ba2e98e59c288c99ae93527b9 /src/FbTk/Menu.hh | |
parent | 37757769634c836895d205b0a5149ffffaae9bfb (diff) | |
download | fluxbox_pavel-768d98a39d3640f24ebe13e2c304fac3436a0a0d.zip fluxbox_pavel-768d98a39d3640f24ebe13e2c304fac3436a0a0d.tar.bz2 |
head specific strut, patch from Mathieu De Zutter
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r-- | src/FbTk/Menu.hh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh index d5f6b83..43ca828 100644 --- a/src/FbTk/Menu.hh +++ b/src/FbTk/Menu.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Menu.hh,v 1.39 2004/08/29 12:35:29 rathnor Exp $ | 25 | // $Id: Menu.hh,v 1.40 2004/09/11 13:45:16 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef FBTK_MENU_HH | 27 | #ifndef FBTK_MENU_HH |
28 | #define FBTK_MENU_HH | 28 | #define FBTK_MENU_HH |
@@ -95,6 +95,8 @@ public: | |||
95 | void disableTitle(); | 95 | void disableTitle(); |
96 | void enableTitle(); | 96 | void enableTitle(); |
97 | 97 | ||
98 | void setScreen(int x, int y, int w, int h); | ||
99 | |||
98 | /** | 100 | /** |
99 | @name event handlers | 101 | @name event handlers |
100 | */ | 102 | */ |
@@ -200,7 +202,8 @@ private: | |||
200 | ImageControl &m_image_ctrl; | 202 | ImageControl &m_image_ctrl; |
201 | Menuitems menuitems; | 203 | Menuitems menuitems; |
202 | 204 | ||
203 | const unsigned int m_screen_width, m_screen_height; | 205 | int m_screen_x, m_screen_y; |
206 | int m_screen_width, m_screen_height; | ||
204 | bool moving; ///< if we're moving/draging or not | 207 | bool moving; ///< if we're moving/draging or not |
205 | bool visible; ///< menu visibility | 208 | bool visible; ///< menu visibility |
206 | bool torn; ///< torn from parent | 209 | bool torn; ///< torn from parent |