[Window] Allow to override viewport and project settings and force use of native window.

This commit is contained in:
bruvzg 2024-03-04 20:21:10 +02:00
parent a07dd0d6a5
commit cfdb968848
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
3 changed files with 29 additions and 0 deletions

View file

@ -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;