]>
Dogcows Code - chaz/openbox/blob - buttonwidget.hh
0d546f73fc8fc67763fc690e9bf6b0b68a43dcb9
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __buttonwidget_hh
3 #define __buttonwidget_hh
5 #include "widgetbase.hh"
6 #include "otk/widget.hh"
12 class ButtonWidget
: public otk::Widget
, public WidgetBase
22 ButtonWidget(otk::Widget
*parent
, WidgetBase::WidgetType type
,
24 virtual ~ButtonWidget();
26 virtual void setStyle(otk::RenderStyle
*style
);
28 virtual void adjust();
30 virtual void update();
32 virtual void renderForeground();
35 virtual void unfocus();
37 virtual void buttonPressHandler(const XButtonEvent
&e
);
38 virtual void buttonReleaseHandler(const XButtonEvent
&e
);
43 #endif // __buttonwidget_hh
This page took 0.035059 seconds and 3 git commands to generate.