- OtkFocusLabel::setStyle(style);
-
- setTexture(getStyle()->getButtonFocus());
- setUnfocusTexture(getStyle()->getButtonUnfocus());
- _pressed_focus_tx = getStyle()->getButtonPressedFocus();
- _pressed_unfocus_tx = getStyle()->getButtonPressedUnfocus();
+ FocusLabel::setStyle(style);
+
+ setTexture(style->buttonUnpressFocusBackground());
+ setUnfocusTexture(style->buttonUnpressUnfocusBackground());
+ _pressed_focus_tx = style->buttonPressFocusBackground();
+ _pressed_unfocus_tx = style->buttonPressUnfocusBackground();