aboutsummaryrefslogtreecommitdiff
path: root/src/BaseDisplay.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/BaseDisplay.hh')
-rw-r--r--src/BaseDisplay.hh49
1 files changed, 23 insertions, 26 deletions
diff --git a/src/BaseDisplay.hh b/src/BaseDisplay.hh
index 84ae92e..d2c3bb9 100644
--- a/src/BaseDisplay.hh
+++ b/src/BaseDisplay.hh
@@ -35,32 +35,6 @@ class ScreenInfo;
35#include "LinkedList.hh" 35#include "LinkedList.hh"
36#include "Timer.hh" 36#include "Timer.hh"
37 37
38#define AttribShaded (1l << 0)
39#define AttribMaxHoriz (1l << 1)
40#define AttribMaxVert (1l << 2)
41#define AttribOmnipresent (1l << 3)
42#define AttribWorkspace (1l << 4)
43#define AttribStack (1l << 5)
44#define AttribDecoration (1l << 6)
45
46#define StackTop (0)
47#define StackNormal (1)
48#define StackBottom (2)
49
50#define DecorNone (0)
51#define DecorNormal (1)
52#define DecorTiny (2)
53#define DecorTool (3)
54
55typedef struct _blackbox_hints {
56 unsigned long flags, attrib, workspace, stack, decoration;
57} BlackboxHints;
58
59typedef struct _blackbox_attributes {
60 unsigned long flags, attrib, workspace, stack;
61 int premax_x, premax_y;
62 unsigned int premax_w, premax_h;
63} BlackboxAttributes;
64 38
65#define PropBlackboxHintsElements (5) 39#define PropBlackboxHintsElements (5)
66#define PropBlackboxAttributesElements (8) 40#define PropBlackboxAttributesElements (8)
@@ -77,6 +51,29 @@ class BaseDisplay {
77public: 51public:
78 BaseDisplay(char *, char * = 0); 52 BaseDisplay(char *, char * = 0);
79 virtual ~BaseDisplay(void); 53 virtual ~BaseDisplay(void);
54
55 enum Attrib {
56 ATTRIB_SHADED = 0x01,
57 ATTRIB_MAXHORIZ = 0x02,
58 ATTRIB_MAXVERT = 0x04,
59 ATTRIB_OMNIPRESENT = 0x08,
60 ATTRIB_WORKSPACE = 0x10,
61 ATTRIB_STACK = 0x20,
62 ATTRIB_DECORATION = 0x40
63 };
64 enum Decor {DECOR_NONE=0, DECOR_NORMAL, DECOR_TINY, DECOR_TOOL};
65 enum Stack {STACK_TOP=0, STACK_NORMAL, STACK_BOTTOM};
66
67 typedef struct _blackbox_hints {
68 unsigned long flags, attrib, workspace, stack;
69 Decor decoration;
70 } BlackboxHints;
71
72 typedef struct _blackbox_attributes {
73 unsigned long flags, attrib, workspace, stack;
74 int premax_x, premax_y;
75 unsigned int premax_w, premax_h;
76 } BlackboxAttributes;
80 77
81#ifdef GNOME 78#ifdef GNOME
82 inline Atom *getGnomeListAtoms() { return gnome_atom_list; } 79 inline Atom *getGnomeListAtoms() { return gnome_atom_list; }