all repos — fluxbox @ 50a2f33b73cabdbed4b3b8fbe1cd35b87c8469f2

custom fork of the fluxbox windowmanager

we might want to change command once the object is created
fluxgen fluxgen
commit

50a2f33b73cabdbed4b3b8fbe1cd35b87c8469f2

parent

a3e6f621d016f9c99341b884bcdf790416bc67b2

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/FbTk/MenuItem.hhsrc/FbTk/MenuItem.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: MenuItem.hh,v 1.1 2003/01/12 17:06:07 fluxgen Exp $ +// $Id: MenuItem.hh,v 1.2 2003/02/17 12:28:06 fluxgen Exp $ #ifndef FBTK_MENUITEM_HH #define FBTK_MENUITEM_HH

@@ -60,6 +60,7 @@ , m_selected(false)

{ } virtual ~MenuItem() { } + void setCommand(RefCount<Command> &cmd) { m_command = cmd; } virtual void setSelected(bool selected) { m_selected = selected; } virtual void setEnabled(bool enabled) { m_enabled = enabled; } virtual void setLabel(const char *label) { m_label = (label ? label : ""); }