High level window description. More...
#include <window_gui.h>
Public Member Functions | |
WindowDesc (WindowPosition default_pos, int16 def_width, int16 def_height, WindowClass window_class, WindowClass parent_class, uint32 flags, const NWidgetPart *nwid_parts, int16 nwid_length) | |
Window description constructor. | |
Data Fields | |
WindowPosition | default_pos |
Prefered position of the window. | |
int16 | default_width |
Prefered initial width of the window. | |
int16 | default_height |
Prefered initial height of the window. | |
WindowClass | cls |
Class of the window,. | |
WindowClass | parent_cls |
Class of the parent window. | |
uint32 | flags |
Flags. | |
const NWidgetPart * | nwid_parts |
Nested widget parts describing the window. | |
int16 | nwid_length |
Length of the nwid_parts array. |
High level window description.
Definition at line 165 of file window_gui.h.
WindowDesc::WindowDesc | ( | WindowPosition | def_pos, | |
int16 | def_width, | |||
int16 | def_height, | |||
WindowClass | window_class, | |||
WindowClass | parent_class, | |||
uint32 | flags, | |||
const NWidgetPart * | nwid_parts, | |||
int16 | nwid_length | |||
) |
Window description constructor.
Definition at line 65 of file window.cpp.
Class of the window,.
Definition at line 176 of file window_gui.h.
Referenced by AllocateWindowDescFront(), Window::InitializeData(), and ShowCompanyGroup().
Prefered position of the window.
Definition at line 173 of file window_gui.h.
Referenced by Window::InitializeData(), and LocalGetWindowPlacement().
uint32 WindowDesc::flags |
Flags.
Definition at line 178 of file window_gui.h.
Referenced by Window::InitializeData().
Class of the parent window.
Definition at line 177 of file window_gui.h.
Referenced by LocalGetWindowPlacement().