diff options
author | rtk0c <[email protected]> | 2022-04-10 23:00:36 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-04-10 23:00:36 -0700 |
commit | 17d5b091c9b2901ac96f5eee0da6af07228ae690 (patch) | |
tree | c210229c4bee1d3f56a64eacf1f976dfd8f971a7 /source/EditorResources.hpp | |
parent | a849c199d970e153580c312a24cfdfa099bc7b69 (diff) |
Changeset: 5 Add shader and corresponding editor components
Diffstat (limited to 'source/EditorResources.hpp')
-rw-r--r-- | source/EditorResources.hpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/source/EditorResources.hpp b/source/EditorResources.hpp index f4e1ffe..db6a277 100644 --- a/source/EditorResources.hpp +++ b/source/EditorResources.hpp @@ -2,7 +2,7 @@ #include "Shader.hpp" -class EditorInspector; +class EditorInstance; class EditorContentBrowser { private: enum Pane { @@ -17,19 +17,15 @@ private: static constexpr float kLeftPaneMinWidth = 200.0f; static constexpr float kRightPaneMinWidth = 200.0f; - EditorInspector* mInspector; + EditorInstance* mEditor; Pane mPane = P_Settings; float splitterLeft = kLeftPaneMinWidth; float splitterRight = 0.0f; bool docked = true; - bool visible = false; public: - EditorContentBrowser(EditorInspector* inspector); + EditorContentBrowser(EditorInstance* editor); ~EditorContentBrowser(); - bool IsVisible() const; - void SetVisible(bool visible); - - void Show(); + void Show(bool* open = nullptr); }; |