diff options
Diffstat (limited to 'src/ButtonTool.cc')
-rw-r--r-- | src/ButtonTool.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ButtonTool.cc b/src/ButtonTool.cc index 78edbe7..0640048 100644 --- a/src/ButtonTool.cc +++ b/src/ButtonTool.cc | |||
@@ -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: ButtonTool.cc,v 1.4 2004/08/26 15:09:33 rathnor Exp $ | 22 | // $Id: ButtonTool.cc,v 1.5 2004/08/29 08:33:12 rathnor Exp $ |
23 | 23 | ||
24 | #include "ButtonTool.hh" | 24 | #include "ButtonTool.hh" |
25 | 25 | ||
@@ -48,6 +48,11 @@ ButtonTool::~ButtonTool() { | |||
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | void ButtonTool::updateSizing() { | ||
52 | FbTk::Button &btn = static_cast<FbTk::Button &>(window()); | ||
53 | btn.setBorderWidth(theme().border().width()); | ||
54 | } | ||
55 | |||
51 | void ButtonTool::renderTheme() { | 56 | void ButtonTool::renderTheme() { |
52 | FbTk::Button &btn = static_cast<FbTk::Button &>(window()); | 57 | FbTk::Button &btn = static_cast<FbTk::Button &>(window()); |
53 | 58 | ||