Replace global oversampling with overrideable per-viewport oversampling.

This commit is contained in:
Pāvels Nadtočajevs 2025-03-30 14:20:25 +03:00
parent 215acd52e8
commit 4afeca3bcf
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
38 changed files with 1235 additions and 557 deletions

View file

@ -134,7 +134,6 @@ private:
WindowInitialPosition initial_position = WINDOW_INITIAL_POSITION_ABSOLUTE;
bool force_native = false;
bool use_font_oversampling = false;
bool transient = false;
bool transient_to_focused = false;
bool exclusive = false;
@ -385,9 +384,6 @@ public:
void set_content_scale_factor(real_t p_factor);
real_t get_content_scale_factor() const;
void set_use_font_oversampling(bool p_oversampling);
bool is_using_font_oversampling() const;
void set_mouse_passthrough_polygon(const Vector<Vector2> &p_region);
Vector<Vector2> get_mouse_passthrough_polygon() const;
@ -433,6 +429,9 @@ public:
bool is_layout_rtl() const;
#ifndef DISABLE_DEPRECATED
void set_use_font_oversampling(bool p_oversampling);
bool is_using_font_oversampling() const;
void set_auto_translate(bool p_enable);
bool is_auto_translating() const;
#endif