mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
eepp: Added UISVGIcon class. Added Image::getInfoFromMemory.
ecode: Added "Welcome" screen.
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user