// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-#ifndef __obwidgetbase_hh
-#define __obwidgetbase_hh
+#ifndef __widgetbase_hh
+#define __widgetbase_hh
#include "python.hh"
namespace ob {
-class OBWidget {
+class WidgetBase {
public:
enum WidgetType {
Type_Frame,
Type_MaximizeButton,
Type_CloseButton,
Type_IconifyButton,
- Type_StickyButton,
+ Type_AllDesktopsButton,
Type_LeftGrip,
Type_RightGrip,
Type_Client,
WidgetType _type;
public:
- OBWidget(WidgetType type) : _type(type) {}
+ WidgetBase(WidgetType type) : _type(type) {}
inline WidgetType type() const { return _type; }
return MC_CloseButton;
case Type_IconifyButton:
return MC_IconifyButton;
- case Type_StickyButton:
- return MC_StickyButton;
+ case Type_AllDesktopsButton:
+ return MC_AllDesktopsButton;
case Type_LeftGrip:
return MC_Grip;
case Type_RightGrip:
}
-#endif // __obwidgetbase_hh
+#endif // __widgetbase_hh