diff options
author | fluxgen <fluxgen> | 2003-02-17 12:28:06 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-02-17 12:28:06 (GMT) |
commit | 50a2f33b73cabdbed4b3b8fbe1cd35b87c8469f2 (patch) | |
tree | a13ebf21c5a558cc01e8eb8b849c18f6a5e0af08 | |
parent | a3e6f621d016f9c99341b884bcdf790416bc67b2 (diff) | |
download | fluxbox_paul-50a2f33b73cabdbed4b3b8fbe1cd35b87c8469f2.zip fluxbox_paul-50a2f33b73cabdbed4b3b8fbe1cd35b87c8469f2.tar.bz2 |
we might want to change command once the object is created
-rw-r--r-- | src/FbTk/MenuItem.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/MenuItem.hh b/src/FbTk/MenuItem.hh index 134c8a3..4dcecc7 100644 --- a/src/FbTk/MenuItem.hh +++ b/src/FbTk/MenuItem.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: MenuItem.hh,v 1.1 2003/01/12 17:06:07 fluxgen Exp $ | 22 | // $Id: MenuItem.hh,v 1.2 2003/02/17 12:28:06 fluxgen Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_MENUITEM_HH | 24 | #ifndef FBTK_MENUITEM_HH |
25 | #define FBTK_MENUITEM_HH | 25 | #define FBTK_MENUITEM_HH |
@@ -60,6 +60,7 @@ public: | |||
60 | { } | 60 | { } |
61 | virtual ~MenuItem() { } | 61 | virtual ~MenuItem() { } |
62 | 62 | ||
63 | void setCommand(RefCount<Command> &cmd) { m_command = cmd; } | ||
63 | virtual void setSelected(bool selected) { m_selected = selected; } | 64 | virtual void setSelected(bool selected) { m_selected = selected; } |
64 | virtual void setEnabled(bool enabled) { m_enabled = enabled; } | 65 | virtual void setEnabled(bool enabled) { m_enabled = enabled; } |
65 | virtual void setLabel(const char *label) { m_label = (label ? label : ""); } | 66 | virtual void setLabel(const char *label) { m_label = (label ? label : ""); } |