eepp: Added UISVGIcon class. Added Image::getInfoFromMemory.

ecode: Added "Welcome" screen.
This commit is contained in:
Martín Lucas Golini
2023-03-21 01:15:01 -03:00
parent 3aeb3fdc2f
commit 8f2071e389
14 changed files with 505 additions and 21 deletions

View File

@@ -125,6 +125,8 @@ class App : public UICodeEditorSplitter::Client {
Drawable* findIcon( const std::string& name );
Drawable* findIcon( const std::string& name, const size_t iconSize );
std::map<KeyBindings::Shortcut, std::string> getDefaultKeybindings();
std::map<KeyBindings::Shortcut, std::string> getLocalKeybindings();
@@ -244,6 +246,7 @@ class App : public UICodeEditorSplitter::Client {
if ( mTerminalManager )
mTerminalManager->configureTerminalShell();
} );
t.setCommand( "check-for-updates", [&] { checkForUpdates( false ); } );
mSplitter->registerSplitterCommands( t );
}
@@ -324,7 +327,9 @@ class App : public UICodeEditorSplitter::Client {
void loadFileDelayed();
const std::vector<std::string>& getRecentFolders() const;
const std::vector<std::string>& getRecentFolders() const { return mRecentFolders; };
const std::vector<std::string>& getRecentFiles() const { return mRecentFiles; };
const std::string& getThemesPath() const;
@@ -340,6 +345,10 @@ class App : public UICodeEditorSplitter::Client {
void loadImageFromMemory( const std::string& content );
void createAndShowRecentFolderPopUpMenu( Node* recentFoldersBut );
void createAndShowRecentFilesPopUpMenu( Node* recentFilesBut );
protected:
std::vector<std::string> mArgs;
EE::Window::Window* mWindow{ nullptr };
@@ -489,8 +498,6 @@ class App : public UICodeEditorSplitter::Client {
void cleanUpRecentFiles();
void createAndShowRecentFolderPopUpMenu();
void updateOpenRecentFolderBtn();
};