Files
@ r13191:af1540e675da
Branch filter:
Location: cpp/openttd-patchpack/source/src/window_func.h - annotation
r13191:af1540e675da
1.7 KiB
text/x-c
(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.
r8106:01dbd10fde05 r8106:01dbd10fde05 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r8348:e6507808d2e7 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r10208:ef8fcc3dc4ca 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 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r10998:94dcb82c0e64 r8106:01dbd10fde05 r8106:01dbd10fde05 r8106:01dbd10fde05 r12262:8e175bd7b32c r12262:8e175bd7b32c r13024:48c81d0b078a r13024:48c81d0b078a r13024:48c81d0b078a r9165:ce5457160835 r10528:99ad5205b347 r8131:7a50db7be0ff r8131:7a50db7be0ff r8106:01dbd10fde05 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @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"
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 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 ReInitAllWindows();
void SetWindowWidgetDirty(WindowClass cls, WindowNumber number, byte widget_index);
void SetWindowDirty(WindowClass cls, WindowNumber number);
void SetWindowClassesDirty(WindowClass cls);
void DeleteWindowById(WindowClass cls, WindowNumber number, bool force = true);
void DeleteWindowByClass(WindowClass cls);
#endif /* WINDOW_FUNC_H */
|