Add functions for getting name and font style from dynamic and bitmap fonts.

Add font selection toolbar editor plugin.
This commit is contained in:
bruvzg
2021-10-26 09:40:11 +03:00
parent d6f972fad4
commit 3f33e1d7d6
20 changed files with 1026 additions and 3 deletions

View File

@ -130,6 +130,7 @@ private:
bool middle_mouse_paste_enabled = true;
Ref<Texture2D> right_icon;
bool flat = false;
struct Selection {
int begin = 0;
@ -332,6 +333,9 @@ public:
void set_right_icon(const Ref<Texture2D> &p_icon);
Ref<Texture2D> get_right_icon();
void set_flat(bool p_enabled);
bool is_flat() const;
virtual bool is_text_field() const override;
void show_virtual_keyboard();