Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r48722 - in sandbox/guigl: boost/guigl/widget libs/guigl/src/widget
From: stipe_at_[hidden]
Date: 2008-09-11 02:26:19


Author: srajko
Date: 2008-09-11 02:26:19 EDT (Thu, 11 Sep 2008)
New Revision: 48722
URL: http://svn.boost.org/trac/boost/changeset/48722

Log:
labeled button doesn't need draw_* functions, button.cpp can't have inlined draw_*
Text files modified:
   sandbox/guigl/boost/guigl/widget/labeled_button.hpp | 2 +-
   sandbox/guigl/libs/guigl/src/widget/button.cpp | 4 ++--
   sandbox/guigl/libs/guigl/src/widget/labeled_button.cpp | 10 ----------
   3 files changed, 3 insertions(+), 13 deletions(-)

Modified: sandbox/guigl/boost/guigl/widget/labeled_button.hpp
==============================================================================
--- sandbox/guigl/boost/guigl/widget/labeled_button.hpp (original)
+++ sandbox/guigl/boost/guigl/widget/labeled_button.hpp 2008-09-11 02:26:19 EDT (Thu, 11 Sep 2008)
@@ -30,7 +30,7 @@
     {}
 
 protected:
- BOOST_GUIGL_WIDGET_DRAW
+ void draw();
 };
 
 }}}

Modified: sandbox/guigl/libs/guigl/src/widget/button.cpp
==============================================================================
--- sandbox/guigl/libs/guigl/src/widget/button.cpp (original)
+++ sandbox/guigl/libs/guigl/src/widget/button.cpp 2008-09-11 02:26:19 EDT (Thu, 11 Sep 2008)
@@ -18,7 +18,7 @@
 
 BOOST_GUIGL_WIDGET_DRAW_IMPL(button)
 
-inline void button::draw_prologue()
+void button::draw_prologue()
 {
     base_type::draw_prologue();
     if(button_down())
@@ -28,7 +28,7 @@
     }
 }
 
-inline void button::draw_epilogue()
+void button::draw_epilogue()
 {
     base_type::draw_epilogue();
 }

Modified: sandbox/guigl/libs/guigl/src/widget/labeled_button.cpp
==============================================================================
--- sandbox/guigl/libs/guigl/src/widget/labeled_button.cpp (original)
+++ sandbox/guigl/libs/guigl/src/widget/labeled_button.cpp 2008-09-11 02:26:19 EDT (Thu, 11 Sep 2008)
@@ -15,14 +15,4 @@
 
 BOOST_GUIGL_WIDGET_DRAW_IMPL(labeled_button)
 
-inline void labeled_button::draw_prologue()
-{
- base_type::draw_prologue();
-}
-
-inline void labeled_button::draw_epilogue()
-{
- base_type::draw_epilogue();
-}
-
 }}}
\ No newline at end of file


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk