mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Implement support for loading system fonts on Linux, macOS / iOS and Windows.
This commit is contained in:
parent
3e0e84a54c
commit
36ef8f29dc
27 changed files with 1089 additions and 54 deletions
|
|
@ -142,6 +142,8 @@ public:
|
|||
virtual void set_low_processor_usage_mode_sleep_usec(int p_usec);
|
||||
virtual int get_low_processor_usage_mode_sleep_usec() const;
|
||||
|
||||
virtual Vector<String> get_system_fonts() const { return Vector<String>(); };
|
||||
virtual String get_system_font_path(const String &p_font_name, bool p_bold = false, bool p_italic = false) const { return String(); };
|
||||
virtual String get_executable_path() const;
|
||||
virtual Error execute(const String &p_path, const List<String> &p_arguments, String *r_pipe = nullptr, int *r_exitcode = nullptr, bool read_stderr = false, Mutex *p_pipe_mutex = nullptr, bool p_open_console = false) = 0;
|
||||
virtual Error create_process(const String &p_path, const List<String> &p_arguments, ProcessID *r_child_id = nullptr, bool p_open_console = false) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue