diff options
author | rubidium <rubidium@openttd.org> | 2008-05-17 12:48:06 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-17 12:48:06 +0000 |
commit | a89b5721a8bff2a601161a1dc456f588c065b0eb (patch) | |
tree | 95ff2c47f7b8b827b734ad75a798bd9257a80067 /src/newgrf_gui.cpp | |
parent | 7f6ccdc624851aaecce81ccead4f6829925df8d9 (diff) | |
download | openttd-a89b5721a8bff2a601161a1dc456f588c065b0eb.tar.xz |
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index b03ae8faf..da8fa6507 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -150,7 +150,7 @@ struct NewGRFAddWindow : public Window { SetVScrollCount(this, n); this->SetWidgetDisabledState(ANGRFW_ADD, this->sel == NULL || this->sel->IsOpenTTDBaseGRF()); - DrawWindowWidgets(this); + this->DrawWidgets(); GfxFillRect(wl->left + 1, wl->top + 1, wl->right, wl->bottom, 0xD7); @@ -345,7 +345,7 @@ struct NewGRFWindow : public Window { if (this->sel->IsOpenTTDBaseGRF()) this->DisableWidget(SNGRFS_REMOVE); } - DrawWindowWidgets(this); + this->DrawWidgets(); /* Draw NewGRF list */ int y = this->widget[SNGRFS_FILE_LIST].top; |