1
- /*
2
- Copyright (c) 2018 DIVIDE-Studio
3
- Copyright (c) 2009 Ionut Cava
4
-
5
- This file is part of DIVIDE Framework.
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software
9
- and associated documentation files (the "Software"), to deal in the Software
10
- without restriction,
11
- including without limitation the rights to use, copy, modify, merge, publish,
12
- distribute, sublicense,
13
- and/or sell copies of the Software, and to permit persons to whom the
14
- Software is furnished to do so,
15
- subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in
18
- all copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED,
22
- INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
23
- PARTICULAR PURPOSE AND NONINFRINGEMENT.
24
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
25
- DAMAGES OR OTHER LIABILITY,
26
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
27
- IN CONNECTION WITH THE SOFTWARE
28
- OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
-
30
- */
31
-
32
- #ifndef _DIVIDE_EDITOR_TABBED_WINDOW_H_
33
- #define _DIVIDE_EDITOR_TABBED_WINDOW_H_
34
-
35
- #include " Platform/Headers/PlatformDefines.h"
36
- namespace Divide {
37
-
38
- class TabbedWindow {
39
- public:
40
- explicit TabbedWindow (const stringImpl& name);
41
- ~TabbedWindow ();
42
-
43
- ImGui::TabWindow& impl ();
44
- const ImGui::TabWindow& impl () const ;
45
-
46
- public:
47
- static bool loadFromFile (ImGui::TabWindow* tabWindows, size_t count);
48
- static bool saveToFile (const ImGui::TabWindow* tabWindows, size_t count);
49
-
50
- protected:
51
- stringImpl _name;
52
- ImGui::TabWindow _impl;
53
-
54
- protected:
55
- static stringImpl s_savePath;
56
- };
57
-
58
- }; // namespace Divide
59
-
60
- #endif // _DIVIDE_EDITOR_TABBED_WINDOW_H_
1
+ /*
2
+ Copyright (c) 2018 DIVIDE-Studio
3
+ Copyright (c) 2009 Ionut Cava
4
+
5
+ This file is part of DIVIDE Framework.
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software
9
+ and associated documentation files (the "Software"), to deal in the Software
10
+ without restriction,
11
+ including without limitation the rights to use, copy, modify, merge, publish,
12
+ distribute, sublicense,
13
+ and/or sell copies of the Software, and to permit persons to whom the
14
+ Software is furnished to do so,
15
+ subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in
18
+ all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED,
22
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
23
+ PARTICULAR PURPOSE AND NONINFRINGEMENT.
24
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
25
+ DAMAGES OR OTHER LIABILITY,
26
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
27
+ IN CONNECTION WITH THE SOFTWARE
28
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
+
30
+ */
31
+
32
+ #ifndef _SCENE_VIEW_WINDOW_H_
33
+ #define _SCENE_VIEW_WINDOW_H_
34
+
35
+ #include " Editor/Widgets/Headers/DockedWindow.h"
36
+
37
+ namespace Divide {
38
+ class SceneViewWindow : public DockedWindow {
39
+ public:
40
+ SceneViewWindow (PanelManager& parent);
41
+ ~SceneViewWindow ();
42
+
43
+ void draw () override ;
44
+ };
45
+ }; // namespace Divide
46
+
47
+ #endif // _SCENE_VIEW_WINDOW_H_
0 commit comments