]>
Dogcows Code - chaz/openbox/blob - otk/button.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
9 class Button
: public Label
{
12 Button(Widget
*parent
);
15 virtual inline bool isDefault() const { return _default
; }
16 virtual void setDefault(bool d
);
18 virtual inline bool isPressed() const { return _pressed
; }
20 virtual void press(unsigned int mouse_button
);
21 virtual void release(unsigned int mouse_button
);
23 virtual void buttonPressHandler(const XButtonEvent
&e
);
24 virtual void buttonReleaseHandler(const XButtonEvent
&e
);
26 virtual void styleChanged(const RenderStyle
&style
);
31 unsigned int _mouse_button
;
This page took 0.03767 seconds and 4 git commands to generate.