]> Dogcows Code - chaz/openbox/blobdiff - util/epist/actions.hh
add iconifying
[chaz/openbox] / util / epist / actions.hh
index 9a7a60435340dc36b951e5b54f8228b2ffe19ebf..6506f0e729055586d22b318c8eb6e3f3bbe34cf1 100644 (file)
@@ -35,27 +35,27 @@ public:
   enum ActionType {
     noaction = 0,
     execute,
-    iconify,
-    raiseWindow,
-    lowerWindow,
-    closeWindow,
-    shade,
+    iconify, //done
+    raise, //done
+    lower, //done
+    close, //done
+    toggleshade, //done
     moveWindowUp,
     moveWindowDown,
     moveWindowLeft,
     moveWindowRight,
 
-    nextWindow,
-    prevWindow,
-    nextWindowOnAllDesktops,
-    prevWindowOnAllDesktops,
+    nextWindow, //done for now
+    prevWindow, //done for now
+    nextWindowOnAllWorkspaces,
+    prevWindowOnAllWorkspaces,
 
     nextWindowOfClass,
     prevWindowOfClass,
 
-    changeDesktop,
-    nextDesktop,
-    prevDesktop,
+    changeWorkspace, //done
+    nextWorkspace, //done
+    prevWorkspace, //done
 
     // these are openbox extensions
     showRootMenu,
@@ -73,14 +73,17 @@ public:
 private:
   enum ActionType _type;
   const KeyCode _keycode;
-  const int _modifierMask;
-  
+  const unsigned int _modifierMask;
+
+  const int _numberParam;
 public:
   inline enum ActionType type() const { return _type;}
   inline const KeyCode keycode() const { return _keycode; }
-  inline const int modifierMask() const { return _modifierMask; }
+  inline const unsigned int modifierMask() const { return _modifierMask; }
+  inline const int number() const { return _numberParam; }
 
-  Action(enum ActionType type, KeyCode keycode, int modifierMask);
+  Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask,
+         int number = 0);
 };
   
 typedef std::list<Action> ActionList;
This page took 0.021945 seconds and 4 git commands to generate.