]> Dogcows Code - chaz/openbox/blobdiff - openbox/misc.h
Add a hook system. They hooks don't run yet but they parse from the config file.
[chaz/openbox] / openbox / misc.h
index c79af595111381454fdf58930d43a66a33a873dd..13530ed92f4a4c04f6a7edb36d2af6cba6293ae5 100644 (file)
@@ -1,7 +1,7 @@
 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
 
    misc.h for the Openbox window manager
-   Copyright (c) 2003        Ben Jansens
+   Copyright (c) 2003-2007   Dana Jansens
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #ifndef __ob__misc_h
 #define __ob__misc_h
 
+/*! The alpha value to use for icons of iconified windows in various places
+  like the focus cycle popup and client list menus.
+  Give iconic windows 7/16 alpha. A little under 50%.
+ */
+#define OB_ICONIC_ALPHA 0x70
+
 typedef enum
 {
     OB_CURSOR_NONE,
     OB_CURSOR_POINTER,
+    OB_CURSOR_BUSYPOINTER,
     OB_CURSOR_BUSY,
     OB_CURSOR_MOVE,
     OB_CURSOR_NORTH,
@@ -44,6 +51,8 @@ typedef enum
     OB_KEY_RIGHT,
     OB_KEY_UP,
     OB_KEY_DOWN,
+    OB_KEY_TAB,
+    OB_KEY_SPACE,
     OB_NUM_KEYS
 } ObKey;
 
@@ -90,6 +99,7 @@ typedef enum {
 } ObMouseAction;
 
 typedef enum {
+    OB_USER_ACTION_NONE, /* being fired from inside another action and such */
     OB_USER_ACTION_KEYBOARD_KEY,
     OB_USER_ACTION_MOUSE_PRESS,
     OB_USER_ACTION_MOUSE_RELEASE,
@@ -97,6 +107,7 @@ typedef enum {
     OB_USER_ACTION_MOUSE_DOUBLE_CLICK,
     OB_USER_ACTION_MOUSE_MOTION,
     OB_USER_ACTION_MENU_SELECTION,
+    OB_USER_ACTION_HOOK,
     OB_NUM_USER_ACTIONS
 } ObUserAction;
 
This page took 0.020896 seconds and 4 git commands to generate.