summaryrefslogtreecommitdiff
path: root/src/widgetbase.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-25 16:36:55 +0000
committerDana Jansens <danakj@orodu.net>2003-01-25 16:36:55 +0000
commit997f94cf8657201ea9d1f2497e4ec4f56342e22f (patch)
tree11d43c9fdadb3c23b6903f4d3a794ba40d2e89b6 /src/widgetbase.hh
parent02d6362111a9e679b0a2f108d396f105243da4b5 (diff)
new/better/cleaner scripting interface
Diffstat (limited to 'src/widgetbase.hh')
-rw-r--r--src/widgetbase.hh28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/widgetbase.hh b/src/widgetbase.hh
index d8307574..46aacb9f 100644
--- a/src/widgetbase.hh
+++ b/src/widgetbase.hh
@@ -32,34 +32,34 @@ public:
inline WidgetType type() const { return _type; }
- inline MouseContext mcontext() const {
+ inline MouseContext::MC mcontext() const {
switch (_type) {
case Type_Frame:
- return MC_Frame;
+ return MouseContext::Frame;
case Type_Titlebar:
- return MC_Titlebar;
+ return MouseContext::Titlebar;
case Type_Handle:
- return MC_Handle;
+ return MouseContext::Handle;
case Type_Plate:
- return MC_Window;
+ return MouseContext::Window;
case Type_Label:
- return MC_Titlebar;
+ return MouseContext::Titlebar;
case Type_MaximizeButton:
- return MC_MaximizeButton;
+ return MouseContext::MaximizeButton;
case Type_CloseButton:
- return MC_CloseButton;
+ return MouseContext::CloseButton;
case Type_IconifyButton:
- return MC_IconifyButton;
+ return MouseContext::IconifyButton;
case Type_AllDesktopsButton:
- return MC_AllDesktopsButton;
+ return MouseContext::AllDesktopsButton;
case Type_LeftGrip:
- return MC_Grip;
+ return MouseContext::Grip;
case Type_RightGrip:
- return MC_Grip;
+ return MouseContext::Grip;
case Type_Client:
- return MC_Window;
+ return MouseContext::Window;
case Type_Root:
- return MC_Root;
+ return MouseContext::Root;
default:
assert(false); // unhandled type
}