diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-22 22:46:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-22 22:46:16 +0000 |
| commit | 033e9843bcec8340c9e657fe0f0519f86075424b (patch) | |
| tree | 6bebf966b56fac4bf36f8060abfd77119e584c60 /otk/button.cc | |
| parent | 75e8fc2705d9c606a702eb7057e9e503be90618b (diff) | |
otk using new render shit.. supposedly
Diffstat (limited to 'otk/button.cc')
| -rw-r--r-- | otk/button.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/otk/button.cc b/otk/button.cc index 04906fe5..e7340d1b 100644 --- a/otk/button.cc +++ b/otk/button.cc @@ -19,15 +19,14 @@ Button::~Button() } -void Button::setStyle(Style *style) +void Button::setStyle(RenderStyle *style) { FocusLabel::setStyle(style); - // XXX: do this again - //setTexture(style->getButtonFocus()); - //setUnfocusTexture(style->getButtonUnfocus()); - //_pressed_focus_tx = style->getButtonPressedFocus(); - //_pressed_unfocus_tx = style->getButtonPressedUnfocus(); + setTexture(style->buttonUnpressFocusBackground()); + setUnfocusTexture(style->buttonUnpressUnfocusBackground()); + _pressed_focus_tx = style->buttonPressFocusBackground(); + _pressed_unfocus_tx = style->buttonPressUnfocusBackground(); } |
