mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
[Window] Allow to override viewport and project settings and force use of native window.
This commit is contained in:
parent
a07dd0d6a5
commit
cfdb968848
3 changed files with 29 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ private:
|
|||
bool visible = true;
|
||||
bool focused = false;
|
||||
WindowInitialPosition initial_position = WINDOW_INITIAL_POSITION_ABSOLUTE;
|
||||
bool force_native = false;
|
||||
|
||||
bool use_font_oversampling = false;
|
||||
bool transient = false;
|
||||
|
|
@ -273,6 +274,9 @@ public:
|
|||
void set_initial_position(WindowInitialPosition p_initial_position);
|
||||
WindowInitialPosition get_initial_position() const;
|
||||
|
||||
void set_force_native(bool p_force_native);
|
||||
bool get_force_native() const;
|
||||
|
||||
void set_current_screen(int p_screen);
|
||||
int get_current_screen() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue