GUI: RTL: Radiobuttons and Checkboxes RTL layout
This commit is contained in:
parent
d968665110
commit
143b9fb13c
4 changed files with 130 additions and 22 deletions
|
@ -649,7 +649,7 @@ void CheckboxWidget::setState(bool state) {
|
|||
}
|
||||
|
||||
void CheckboxWidget::drawWidget() {
|
||||
g_gui.theme()->drawCheckbox(Common::Rect(_x, _y, _x + _w, _y + _h), _label, _state, Widget::_state);
|
||||
g_gui.theme()->drawCheckbox(Common::Rect(_x, _y, _x + _w, _y + _h), _label, _state, Widget::_state, (g_gui.useRTL() && _useRTL));
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
@ -718,7 +718,7 @@ void RadiobuttonWidget::setState(bool state, bool setGroup) {
|
|||
}
|
||||
|
||||
void RadiobuttonWidget::drawWidget() {
|
||||
g_gui.theme()->drawRadiobutton(Common::Rect(_x, _y, _x + _w, _y + _h), _label, _state, Widget::_state);
|
||||
g_gui.theme()->drawRadiobutton(Common::Rect(_x, _y, _x + _w, _y + _h), _label, _state, Widget::_state, (g_gui.useRTL() && _useRTL));
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue