diff options
author | fluxgen <fluxgen> | 2003-08-23 15:45:38 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-23 15:45:38 (GMT) |
commit | 0836477c19457381fe5bd4ef4bf9dfcfad000274 (patch) | |
tree | 337deed6c14443917ef15096f700b5ea5c91d1fd | |
parent | efc1ec4b206f3e24c1fd9ca29096f23735f2e7ae (diff) | |
download | fluxbox-0836477c19457381fe5bd4ef4bf9dfcfad000274.zip fluxbox-0836477c19457381fe5bd4ef4bf9dfcfad000274.tar.bz2 |
added accessor for button
-rw-r--r-- | src/WorkspaceNameTool.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/WorkspaceNameTool.hh b/src/WorkspaceNameTool.hh index f7cc4f0..b51008e 100644 --- a/src/WorkspaceNameTool.hh +++ b/src/WorkspaceNameTool.hh | |||
@@ -20,7 +20,7 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: WorkspaceNameTool.hh,v 1.3 2003/08/19 16:15:32 fluxgen Exp $ | 23 | // $Id: WorkspaceNameTool.hh,v 1.4 2003/08/23 15:45:38 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef WORKSPACENAMETOOL_HH | 25 | #ifndef WORKSPACENAMETOOL_HH |
26 | #define WORKSPACENAMETOOL_HH | 26 | #define WORKSPACENAMETOOL_HH |
@@ -50,7 +50,8 @@ public: | |||
50 | unsigned int borderWidth() const; | 50 | unsigned int borderWidth() const; |
51 | 51 | ||
52 | void update(FbTk::Subject *subj); | 52 | void update(FbTk::Subject *subj); |
53 | 53 | FbTk::Button &button() { return m_button; } | |
54 | const FbTk::Button &button() const { return m_button; } | ||
54 | private: | 55 | private: |
55 | void renderTheme(); | 56 | void renderTheme(); |
56 | FbTk::TextButton m_button; | 57 | FbTk::TextButton m_button; |