Added keyboard shortcut operations in the file system tree view, to complete SpartanJ/ecode#71.

This commit is contained in:
Martín Lucas Golini
2025-09-07 19:48:29 -03:00
parent 873274e33c
commit 7e6de3f9b2
10 changed files with 160 additions and 68 deletions

View File

@@ -8,8 +8,15 @@ using namespace EE::Scene;
namespace ecode {
NotificationCenter* sInstance = nullptr;
NotificationCenter* NotificationCenter::instance() {
return sInstance;
}
NotificationCenter::NotificationCenter( UILayout* layout, PluginManager* pluginManager ) :
mLayout( layout ), mPluginManager( pluginManager ) {
sInstance = this;
mPluginManager->subscribeMessages(
"notificationcenter", [this]( const PluginMessage& msg ) -> PluginRequestHandle {
if ( !msg.isBroadcast() )