Started to prepare the gui for runtime resolution switches.
(some little things could be missing yet though) svn-id: r22017
This commit is contained in:
parent
ec7e734adb
commit
30787714d3
20 changed files with 255 additions and 37 deletions
|
@ -137,6 +137,17 @@ bool TabWidget::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
|
|||
return Widget::handleKeyDown(ascii, keycode, modifiers);
|
||||
}
|
||||
|
||||
void TabWidget::handleScreenChanged() {
|
||||
for (uint i = 0; i < _tabs.size(); ++i) {
|
||||
Widget *w = _tabs[i].firstWidget;
|
||||
while (w) {
|
||||
w->handleScreenChanged();
|
||||
w = w->next();
|
||||
}
|
||||
}
|
||||
Widget::handleScreenChanged();
|
||||
}
|
||||
|
||||
void TabWidget::drawWidget(bool hilite) {
|
||||
Common::Array<Common::String> tabs;
|
||||
for (int i = 0; i < (int)_tabs.size(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue