From 276b2be581c6cb138b439537761ff2ca42201805 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 Jul 2003 06:18:47 +0000 Subject: add misc.h with some standard enumerations with proper prefixing and capitalizations. use the new enums throughout. provide keycodes and cursors through ob_cursor and ob_keycode functions, which use the new misc.h enums for picking the cursor and keycode. --- openbox/screen.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'openbox/screen.h') diff --git a/openbox/screen.h b/openbox/screen.h index 42e3dc17..b68f6ea5 100644 --- a/openbox/screen.h +++ b/openbox/screen.h @@ -1,6 +1,7 @@ #ifndef __screen_h #define __screen_h +#include "misc.h" #include "geom.h" #include "client.h" @@ -17,15 +18,9 @@ extern guint screen_desktop; /*! Are we in showing-desktop mode? */ extern gboolean screen_showing_desktop; -/*! Orientation of the desktops */ -typedef enum { - Orientation_Horz = 0, - Orientation_Vert = 1 -} Orientation; - typedef struct DesktopLayout { - Orientation orientation; - Corner start_corner; + ObOrientation orientation; + ObCorner start_corner; guint rows; guint columns; } DesktopLayout; -- cgit v1.2.3