Simutrans-Squirrel-API OTRP v63_4
Loading...
Searching...
No Matches
gui_window_x Class Reference
Collaboration diagram for gui_window_x:

Public Attributes

integer id
integer z_order
bool top
string title
bool has_title
gui_bounds_x bounds
gui_bounds_x client_bounds

Detailed Description

Snapshot of an open GUI window returned by gui::get_windows.

Definition at line 28 of file api_gui.cc.

Member Data Documentation

◆ bounds

gui_bounds_x gui_window_x::bounds

Full window bounds in screen pixels.

Definition at line 53 of file api_gui.cc.

◆ client_bounds

gui_bounds_x gui_window_x::client_bounds

Client area bounds in screen pixels.

Definition at line 57 of file api_gui.cc.

◆ has_title

bool gui_window_x::has_title

True if the window has a title bar.

Definition at line 49 of file api_gui.cc.

◆ id

integer gui_window_x::id

Window id to pass to gui::get_window_components.

Definition at line 33 of file api_gui.cc.

◆ title

string gui_window_x::title

Window title, or an empty string if no title is available.

Definition at line 45 of file api_gui.cc.

◆ top

bool gui_window_x::top

True if this is the top window.

Definition at line 41 of file api_gui.cc.

◆ z_order

integer gui_window_x::z_order

Stacking order. Higher array indices are closer to the front.

Definition at line 37 of file api_gui.cc.


The documentation for this class was generated from the following file: