]>
Dogcows Code - chaz/openbox/blob - buttonwidget.hh
5a994a9b0a750a91269e56dfb378639e6b9312c1
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"
10 class ButtonWidget
: public otk::Widget
, public WidgetBase
18 ButtonWidget(otk::Widget
*parent
, WidgetBase::WidgetType type
);
19 virtual ~ButtonWidget();
21 virtual void setStyle(otk::RenderStyle
*style
);
23 virtual void adjust();
25 virtual void update();
26 virtual void renderForeground();
29 virtual void unfocus();
31 virtual void buttonPressHandler(const XButtonEvent
&e
);
32 virtual void buttonReleaseHandler(const XButtonEvent
&e
);
37 #endif // __buttonwidget_hh
This page took 0.039246 seconds and 3 git commands to generate.