diff options
author | fluxgen <fluxgen> | 2003-12-10 23:08:06 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-10 23:08:06 (GMT) |
commit | 5ffb6290c12adc5c45a50758f90549fdfc693216 (patch) | |
tree | 6bed529f1d556b571dc0b6bfee5665aca408a6d9 /src/Screen.hh | |
parent | cb8e8e8d054b044db602326278055dc10f1c0c57 (diff) | |
download | fluxbox-5ffb6290c12adc5c45a50758f90549fdfc693216.zip fluxbox-5ffb6290c12adc5c45a50758f90549fdfc693216.tar.bz2 |
cleaning in the menu code
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index 7e221e3..df836db 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.hh,v 1.125 2003/09/29 12:53:58 rathnor Exp $ | 25 | // $Id: Screen.hh,v 1.126 2003/12/10 23:08:03 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
@@ -112,6 +112,8 @@ public: | |||
112 | const FbTk::Menu *getWorkspacemenu() const { return workspacemenu.get(); } | 112 | const FbTk::Menu *getWorkspacemenu() const { return workspacemenu.get(); } |
113 | FbTk::Menu *getWorkspacemenu() { return workspacemenu.get(); } | 113 | FbTk::Menu *getWorkspacemenu() { return workspacemenu.get(); } |
114 | 114 | ||
115 | |||
116 | |||
115 | unsigned int currentWorkspaceID() const; | 117 | unsigned int currentWorkspaceID() const; |
116 | Pixmap rootPixmap() const; | 118 | Pixmap rootPixmap() const; |
117 | /* | 119 | /* |
@@ -161,6 +163,8 @@ public: | |||
161 | 163 | ||
162 | void update(FbTk::Subject *subj); | 164 | void update(FbTk::Subject *subj); |
163 | 165 | ||
166 | FbTk::Menu *createMenu(const std::string &label); | ||
167 | |||
164 | /// @return the resource value of number of workspace | 168 | /// @return the resource value of number of workspace |
165 | inline int getNumberOfWorkspaces() const { return *resource.workspaces; } | 169 | inline int getNumberOfWorkspaces() const { return *resource.workspaces; } |
166 | 170 | ||