diff options
author | fluxgen <fluxgen> | 2004-02-27 14:22:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-02-27 14:22:27 (GMT) |
commit | f8f393c02f5306321b4d0742b1d8ffcee0a1a080 (patch) | |
tree | 323628dbe7df9977c08b79267afe45d2a1d8fd5d /src/FbTk/Menu.hh | |
parent | 214a68012baa13303813561ce7ac3c47aa9f067e (diff) | |
download | fluxbox-f8f393c02f5306321b4d0742b1d8ffcee0a1a080.zip fluxbox-f8f393c02f5306321b4d0742b1d8ffcee0a1a080.tar.bz2 |
fixed some rendering issues
Diffstat (limited to 'src/FbTk/Menu.hh')
-rw-r--r-- | src/FbTk/Menu.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FbTk/Menu.hh b/src/FbTk/Menu.hh index 7c8b6ef..1adcfa9 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.29 2003/12/18 18:03:23 fluxgen Exp $ | 25 | // $Id: Menu.hh,v 1.30 2004/02/27 14:22:27 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef FBTK_MENU_HH | 27 | #ifndef FBTK_MENU_HH |
28 | #define FBTK_MENU_HH | 28 | #define FBTK_MENU_HH |
@@ -165,10 +165,10 @@ protected: | |||
165 | inline void setHideTree(bool h) { hide_tree = h; } | 165 | inline void setHideTree(bool h) { hide_tree = h; } |
166 | 166 | ||
167 | virtual void itemSelected(int button, unsigned int index) { } | 167 | virtual void itemSelected(int button, unsigned int index) { } |
168 | virtual void drawItem(unsigned int index, bool highlight = false, | 168 | virtual int drawItem(unsigned int index, bool highlight = false, |
169 | bool clear= false, bool render_trans = true, | 169 | bool clear= false, bool render_trans = true, |
170 | int x= -1, int y= -1, | 170 | int x= -1, int y= -1, |
171 | unsigned int width= 0, unsigned int height= 0); | 171 | unsigned int width= 0, unsigned int height= 0); |
172 | virtual void redrawTitle(); | 172 | virtual void redrawTitle(); |
173 | virtual void internal_hide(); | 173 | virtual void internal_hide(); |
174 | inline Menu *parent() { return m_parent; } | 174 | inline Menu *parent() { return m_parent; } |