TurtleBrains  0.3.5
High quality, portable, C++ framework for rapid 2D game development.
tbx_interface_container.hpp
1 
9 #ifndef TurtleBrainsExpress_InterfaceContainer_hpp
10 #define TurtleBrainsExpress_InterfaceContainer_hpp
11 
12 #include <turtle_brains/express/interface/tbx_interface_element.hpp>
13 #include <turtle_brains/express/interface/tbx_interface_controller.hpp>
14 
15 #include <memory>
16 
17 namespace TurtleBrainsExpress
18 {
19  namespace Interface
20  {
21  namespace Unstable
22  {
23  //typedef std::unique_ptr<Element> ElementPtr;
24 
25  //class ElementContainer : public Element
26  //{
27  //public:
28  // ElementContainer(void);
29  // virtual ~ElementContainer(void);
30 
31  // /// Like the tbGame::EntityManager or tbGraphics::GraphicList this is going to manage the elements
32  // /// when passed by pointer (*) and expected that elements passed by reference (&) will be removed
33  // /// before those elements fall out of scope (or that their scope will outlast the Screen).
34  // void AddElement(Element& element, const Point& position);
35  // void AddElement(ElementPtr& element, const Point& position);
36  // void RemoveElement(Element* element);
37 
38  // void Update(Controller& controller);
39 
40  //protected:
41  // virtual void OnRender(void) const override;
42 
43  // virtual bool ContainsPointer(const Point& pointerPosition) const override;
44  // virtual bool CanLinkWithNeighbor(const NavigationDirection& direction) const override;
45 
46  // virtual void OnHandleUserEvent(const UserEvent& userEvent) override;
47 
48  //private:
49  // typedef std::pair<Element*, ElementPtr> ElementPtrPair;
50  // typedef std::list<ElementPtrPair> ElementList;
51  // ElementList mChildren;
52  //};
53 
54  }; /* namespace Interface */
55  };
56 }; /* namespace TurtleBrainsExpress */
57 
59 
60 #endif /* TurtleBrainsExpress_InterfaceContainer_hpp */
A collection of objects and functions to express games quickly.
Definition: tbx_interface.hpp:18