mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Replace global oversampling with overrideable per-viewport oversampling.
This commit is contained in:
parent
215acd52e8
commit
4afeca3bcf
38 changed files with 1235 additions and 557 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue