mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add gui.set_syntax_styles
This commit is contained in:
parent
1676c47093
commit
50f6c48771
11 changed files with 149 additions and 43 deletions
|
|
@ -17,6 +17,7 @@ struct CursorState;
|
|||
class Engine;
|
||||
class Input;
|
||||
class Window;
|
||||
struct FontStylesScheme;
|
||||
|
||||
namespace devtools {
|
||||
class Editor;
|
||||
|
|
@ -73,6 +74,7 @@ namespace gui {
|
|||
std::shared_ptr<UINode> focus;
|
||||
std::shared_ptr<UINode> tooltip;
|
||||
std::shared_ptr<UiDocument> rootDocument;
|
||||
std::unique_ptr<FontStylesScheme> syntaxColorScheme;
|
||||
std::unordered_map<std::string, std::shared_ptr<UINode>> storage;
|
||||
|
||||
std::unique_ptr<Camera> uicamera;
|
||||
|
|
@ -157,6 +159,9 @@ namespace gui {
|
|||
/// @deprecated
|
||||
std::shared_ptr<Container> getContainer() const;
|
||||
|
||||
void setSyntaxColorScheme(std::unique_ptr<FontStylesScheme> scheme);
|
||||
FontStylesScheme* getSyntaxColorScheme() const;
|
||||
|
||||
void onAssetsLoad(Assets* assets);
|
||||
|
||||
void postRunnable(const runnable& callback);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue