X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Factions.hh;h=0588692d64de549bcddeca6c394aca2d7a5e0871;hb=a9dfa0439bd8d4f525d5b41a22a3eb14b94d1200;hp=531d54d21f3349a7db99ed8904f5ecd117c7b47e;hpb=be77122bee3300e982ff257929ce1d1224f45803;p=chaz%2Fopenbox diff --git a/util/epist/actions.hh b/util/epist/actions.hh index 531d54d2..0588692d 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -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, //done + prevWindowOnAllWorkspaces, //done nextWindowOfClass, prevWindowOfClass, - changeDesktop, - nextDesktop, - prevDesktop, + changeWorkspace, //done + nextWorkspace, //done + prevWorkspace, //done // these are openbox extensions showRootMenu, @@ -73,16 +73,19 @@ 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::Action(enum ActionType type, KeyCode keycode, int modifierMask); + Action(enum ActionType type, KeyCode keycode, unsigned int modifierMask, + int number = 0); }; -typedef list ActionList; +typedef std::list ActionList; #endif