Fixed minor bug in UISplitter that caused to incorrectly calculate its size after being dragged.

Code clean up regarding the status bar (WIP).
This commit is contained in:
Martín Lucas Golini
2024-01-31 01:14:50 -03:00
parent 9a0368af1d
commit ea0f34de7e
12 changed files with 147 additions and 142 deletions

View File

@@ -297,8 +297,12 @@ class PluginManager {
const PluginDefinition* getDefinitionIndex( const Int64& index ) const;
/** This is the code editor splitter. Where documents/terminals/etc are opened */
UICodeEditorSplitter* getSplitter() const;
/** This is the splitter between the code editor splitter and the bottom panel. */
UISplitter* getMainSplitter() const;
UISceneNode* getUISceneNode() const;
const std::string& getWorkspaceFolder() const;
@@ -355,6 +359,7 @@ class PluginManager {
std::map<std::string, PluginDefinition> mDefinitions;
std::shared_ptr<ThreadPool> mThreadPool;
UICodeEditorSplitter* mSplitter{ nullptr };
UISplitter* mMainSplitter{ nullptr };
FileSystemListener* mFileSystemListener{ nullptr };
Mutex mSubscribedPluginsMutex;
Mutex mPluginsFSSubsMutex;
@@ -369,6 +374,8 @@ class PluginManager {
void setSplitter( UICodeEditorSplitter* splitter );
void setMainSplitter( UISplitter* splitter );
void setFileSystemListener( FileSystemListener* listener );
void subscribeFileSystemListener();