summaryrefslogtreecommitdiff
path: root/src/Screen.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-14 13:58:17 +0000
committerDana Jansens <danakj@orodu.net>2002-04-14 13:58:17 +0000
commit72af8cea6a0573f7d2c004102cd04f1a1ad88798 (patch)
tree952486ba8d942552722f3c9ae11627282c28ff95 /src/Screen.h
parent9ea141105eea23c48bbf22eb3d451e4c7267f766 (diff)
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
Diffstat (limited to 'src/Screen.h')
-rw-r--r--src/Screen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.h b/src/Screen.h
index 06a0c15c..bdeeaca5 100644
--- a/src/Screen.h
+++ b/src/Screen.h
@@ -102,7 +102,7 @@ private:
Pixmap geom_pixmap;
Window geom_window;
- Openbox *openbox;
+ Openbox &openbox;
BImageControl *image_control;
Configmenu *configmenu;
Iconmenu *iconmenu;
@@ -175,7 +175,7 @@ protected:
public:
- BScreen(Openbox *, int);
+ BScreen(Openbox &, int);
~BScreen(void);
inline const Bool &isToolbarOnTop(void) const
@@ -199,7 +199,7 @@ public:
inline const GC &getOpGC() const { return opGC; }
- inline Openbox *getOpenbox(void) { return openbox; }
+ inline Openbox &getOpenbox(void) { return openbox; }
inline BColor *getBorderColor(void) { return &resource.border_color; }
inline BImageControl *getImageControl(void) { return image_control; }
inline Rootmenu *getRootmenu(void) { return rootmenu; }