aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextButton.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/TextButton.hh')
-rw-r--r--src/FbTk/TextButton.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/TextButton.hh b/src/FbTk/TextButton.hh
index a1c8b0e..eb0beca 100644
--- a/src/FbTk/TextButton.hh
+++ b/src/FbTk/TextButton.hh
@@ -56,7 +56,8 @@ public:
56 56
57 void exposeEvent(XExposeEvent &event); 57 void exposeEvent(XExposeEvent &event);
58 58
59 void renderForeground(FbDrawable &drawable); 59 //void renderForeground(FbDrawable &drawable);
60 void renderForeground(FbWindow &win, FbDrawable &drawable);
60 61
61 FbTk::Justify justify() const { return m_justify; } 62 FbTk::Justify justify() const { return m_justify; }
62 const BiDiString &text() const { return m_text; } 63 const BiDiString &text() const { return m_text; }
@@ -65,7 +66,6 @@ public:
65 unsigned int textWidth() const; 66 unsigned int textWidth() const;
66 int bevel() const { return m_bevel; } 67 int bevel() const { return m_bevel; }
67 68
68 void renderForeground(FbWindow &win, FbDrawable &drawable);
69 69
70protected: 70protected:
71 virtual void drawText(int x_offset, int y_offset, FbDrawable *drawable_override); 71 virtual void drawText(int x_offset, int y_offset, FbDrawable *drawable_override);