Files
@ r12162:c4894f5339c3
Branch filter:
Location: cpp/openttd-patchpack/source/src/window_func.h - annotation
r12162:c4894f5339c3
1.2 KiB
text/x-c
(svn r16583) -Update: the order of the language files so it's in sync with english.txt. Normally WT2 would do this, but only with activity for those languages. Now we'd like to the order to match so we can more easily spot import bugs while developing WT3.
r8106:01dbd10fde05 r8106:01dbd10fde05 r8348:e6507808d2e7 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r10208:ef8fcc3dc4ca r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r10207:a1fc2f2a33db r8106:01dbd10fde05 r8106:01dbd10fde05 r8107:82461791b7a2 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r11085:c87a330fb4c2 r8106:01dbd10fde05 r9165:ce5457160835 r9165:ce5457160835 r9165:ce5457160835 r9165:ce5457160835 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r10998:94dcb82c0e64 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r9165:ce5457160835 r8131:7a50db7be0ff r8131:7a50db7be0ff r9165:ce5457160835 r10528:99ad5205b347 r8131:7a50db7be0ff r8131:7a50db7be0ff r8106:01dbd10fde05 | /* $Id$ */
/** @file window_func.h Window functions not directly related to making/drawing windows. */
#ifndef WINDOW_FUNC_H
#define WINDOW_FUNC_H
#include "window_type.h"
#include "company_type.h"
void SetWindowDirty(const Window *w);
Window *FindWindowById(WindowClass cls, WindowNumber number);
void ChangeWindowOwner(Owner old_owner, Owner new_owner);
void ResizeWindow(Window *w, int x, int y);
int PositionMainToolbar(Window *w);
void InitWindowSystem();
void UnInitWindowSystem();
void ResetWindowSystem();
void SetupColoursAndInitialWindow();
void InputLoop();
void InvalidateThisWindowData(Window *w, int data = 0);
void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0);
void InvalidateWindowClassesData(WindowClass cls, int data = 0);
void DeleteNonVitalWindows();
void DeleteAllNonVitalWindows();
void DeleteConstructionWindows();
void HideVitalWindows();
void ShowVitalWindows();
void InvalidateWindowWidget(WindowClass cls, WindowNumber number, byte widget_index);
void InvalidateWindow(WindowClass cls, WindowNumber number);
void InvalidateWindowClasses(WindowClass cls);
void DeleteWindowById(WindowClass cls, WindowNumber number, bool force = true);
void DeleteWindowByClass(WindowClass cls);
#endif /* WINDOW_FUNC_H */
|