From 0836477c19457381fe5bd4ef4bf9dfcfad000274 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 23 Aug 2003 15:45:38 +0000 Subject: added accessor for button --- src/WorkspaceNameTool.hh | 5 +++-- 1 file 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 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: WorkspaceNameTool.hh,v 1.3 2003/08/19 16:15:32 fluxgen Exp $ +// $Id: WorkspaceNameTool.hh,v 1.4 2003/08/23 15:45:38 fluxgen Exp $ #ifndef WORKSPACENAMETOOL_HH #define WORKSPACENAMETOOL_HH @@ -50,7 +50,8 @@ public: unsigned int borderWidth() const; void update(FbTk::Subject *subj); - + FbTk::Button &button() { return m_button; } + const FbTk::Button &button() const { return m_button; } private: void renderTheme(); FbTk::TextButton m_button; -- cgit v0.11.2