diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-14 11:37:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-14 11:37:22 +0000 |
| commit | 351f1d03315b84887b7532c35bdd8a49bdce1d43 (patch) | |
| tree | fe1b7051d28b77d9934ace86881261099ec532f7 /src/Basemenu.h | |
| parent | d00ef145828941dc15c31bd7c3fc2f69f29c2955 (diff) | |
Using some references instead of pointers for the menus.
Diffstat (limited to 'src/Basemenu.h')
| -rw-r--r-- | src/Basemenu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Basemenu.h b/src/Basemenu.h index ba28404c..fc9c894c 100644 --- a/src/Basemenu.h +++ b/src/Basemenu.h @@ -36,10 +36,10 @@ class BasemenuItem; class Basemenu { private: LinkedList<BasemenuItem> *menuitems; - Openbox *openbox; + Openbox &openbox; Basemenu *parent; BImageControl *image_ctrl; - BScreen *screen; + BScreen &screen; Bool moving, visible, movable, torn, internal_menu, title_vis, shifted, hide_tree; @@ -74,13 +74,13 @@ protected: public: - Basemenu(BScreen *); + Basemenu(BScreen &); virtual ~Basemenu(void); inline const Bool &isTorn(void) const { return torn; } inline const Bool &isVisible(void) const { return visible; } - inline BScreen *getScreen(void) { return screen; } + inline BScreen &getScreen(void) { return screen; } inline const Window &getWindowID(void) const { return menu.window; } |
