Public Member Functions | |
void | GenerateFileName () |
SaveLoadWindow (const WindowDesc *desc, SaveLoadDialogMode mode) | |
virtual void | DrawWidget (const Rect &r, int widget) const |
virtual void | UpdateWidgetSize (int widget, Dimension *size, const Dimension &padding, Dimension *fill, Dimension *resize) |
virtual void | OnPaint () |
virtual void | OnClick (Point pt, int widget, int click_count) |
virtual void | OnMouseLoop () |
virtual EventState | OnKeyPress (uint16 key, uint16 keycode) |
virtual void | OnTimeout () |
virtual void | OnResize () |
virtual void | OnInvalidateData (int data=0, bool gui_scope=true) |
Some data on this window has become invalid. | |
Private Attributes | |
FiosItem | o_dir |
const FiosItem * | selected |
Scrollbar * | vscroll |
Definition at line 241 of file fios_gui.cpp.
virtual void SaveLoadWindow::OnInvalidateData | ( | int | data = 0 , |
|
bool | gui_scope = true | |||
) | [inline, virtual] |
Some data on this window has become invalid.
data | Information about the changed data. | |
gui_scope | Whether the call is done from GUI scope. You may not do everything when not in GUI scope. See InvalidateWindowData() for details. |
Definition at line 670 of file fios_gui.cpp.
References _settings_client, LoadCheckData::Clear(), GLC_NOT_FOUND, LoadCheckData::grf_compatibility, ClientSettings::gui, LoadCheckData::HasErrors(), LoadCheckData::HasNewGrfs(), Scrollbar::SetCount(), Window::SetWidgetDisabledState(), SLWW_LOAD_BUTTON, SLWW_NEWGRF_INFO, and GUISettings::UserIsAllowedToChangeNewGRFs().