]>
Dogcows Code - chaz/openbox/blob - src/buttonwidget.hh
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.04066 seconds and 4 git commands to generate.