diff options
Diffstat (limited to 'src/FbTk/Button.hh')
-rw-r--r-- | src/FbTk/Button.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/FbTk/Button.hh b/src/FbTk/Button.hh index 9df0bcd..791de24 100644 --- a/src/FbTk/Button.hh +++ b/src/FbTk/Button.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Button.hh,v 1.8 2003/12/16 17:06:49 fluxgen Exp $ | 22 | // $Id: Button.hh,v 1.9 2004/08/26 15:09:33 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_BUTTON_HH | 24 | #ifndef FBTK_BUTTON_HH |
25 | #define FBTK_BUTTON_HH | 25 | #define FBTK_BUTTON_HH |
@@ -36,6 +36,8 @@ | |||
36 | 36 | ||
37 | namespace FbTk { | 37 | namespace FbTk { |
38 | 38 | ||
39 | class Theme; | ||
40 | |||
39 | class Button:public FbTk::FbWindow, public EventHandler, | 41 | class Button:public FbTk::FbWindow, public EventHandler, |
40 | private NotCopyable { | 42 | private NotCopyable { |
41 | public: | 43 | public: |
@@ -67,6 +69,9 @@ public: | |||
67 | virtual void exposeEvent(XExposeEvent &event); | 69 | virtual void exposeEvent(XExposeEvent &event); |
68 | //@} | 70 | //@} |
69 | 71 | ||
72 | // in case it cares about a theme | ||
73 | virtual void updateTheme(const FbTk::Theme &theme) {} | ||
74 | |||
70 | /// @return true if the button is pressed, else false | 75 | /// @return true if the button is pressed, else false |
71 | bool pressed() const { return m_pressed; } | 76 | bool pressed() const { return m_pressed; } |
72 | 77 | ||