Move Node to Outliner class

This commit is contained in:
Zero-One101 2016-02-26 20:25:34 +00:00
parent aa0ae06532
commit 4197cd69dc
1 changed files with 32 additions and 29 deletions

View File

@ -3,8 +3,10 @@
namespace Specter namespace Specter
{ {
class Node : public View class Outliner
{ {
class Node : public View
{
struct INodeController struct INodeController
{ {
virtual boo::ITexture* icon() const { return nullptr; } virtual boo::ITexture* icon() const { return nullptr; }
@ -19,7 +21,7 @@ class Node : public View
bool m_collapsible; bool m_collapsible;
bool m_collapsed; bool m_collapsed;
public: public:
class Resources class Resources
{ {
friend class ViewResources; friend class ViewResources;
@ -35,6 +37,7 @@ public:
void resized(const boo::SWindowRect& root, const boo::SWindowRect& sub); void resized(const boo::SWindowRect& root, const boo::SWindowRect& sub);
void draw(boo::IGraphicsCommandQueue* gfxQ); void draw(boo::IGraphicsCommandQueue* gfxQ);
void think(); void think();
};
}; };
} }