X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fexhibit.h;h=9b5c753f4de63aa4030362b2b57a72e1f29c5010;hp=f331d9994236243556ac70992fb0a2c062837c0e;hb=37b68f014b46922b885c6344d6b069cba3c9c3c5;hpb=b5ed5107e21ff834d5a4510b9047f976abb03dff diff --git a/src/exhibit.h b/src/exhibit.h index f331d99..9b5c753 100644 --- a/src/exhibit.h +++ b/src/exhibit.h @@ -8,7 +8,7 @@ #include "audio/stream.h" class Exhibit; -class ExhibitPriv; +class ExhibitSlot; class Scene; enum { @@ -18,6 +18,8 @@ enum { class ExSelection { public: + static ExSelection null; // null selection + Exhibit *ex; void *obj; void *data; @@ -56,9 +58,10 @@ public: */ class Exhibit : public Object { private: - ExhibitPriv *priv; + SceneNode *orig_parent; public: + ExhibitSlot *prev_slot; std::vector data; Exhibit(); @@ -74,10 +77,6 @@ public: virtual void update(float dt = 0.0f) override; - virtual void pre_draw() const; - virtual void draw() const override; - virtual void post_draw() const; - virtual const AABox &get_aabox() const override; };