Added color picking capability in the UICodeEditor.

Some minor improvements to the code editor.
Some minor fixes.
This commit is contained in:
Martín Lucas Golini
2020-06-07 19:52:39 -03:00
parent 3c218237e1
commit bd9170baee
14 changed files with 201 additions and 20 deletions

View File

@@ -91,6 +91,7 @@ class App {
void findAndReplace( String find, String replace, const bool& caseSensitive );
void runCommand( const std::string& command );
protected:
EE::Window::Window* mWindow{NULL};
UISceneNode* mUISceneNode{NULL};
@@ -104,6 +105,8 @@ class App {
std::vector<UITabWidget*> mTabWidgets;
std::map<std::string, SyntaxColorScheme> mColorSchemes;
std::string mCurrentColorScheme;
UIPopUpMenu* mSettingsMenu;
UITextView* mSettingsButton;
void onFileDropped( String file );
@@ -128,6 +131,10 @@ class App {
void initSearchBar();
void addRemainingTabWidgets( Node* widget );
void createSettingsMenu();
UIMenu* createColorSchemeMenu();
};
#endif // EE_TOOLS_CODEEDITOR_HPP