TurtleBrains  0.3.5
High quality, portable, C++ framework for rapid 2D game development.
tbx_interface_label.hpp
1 
9 #ifndef TurtleBrainsExpress_InterfaceLabel_hpp
10 #define TurtleBrainsExpress_InterfaceLabel_hpp
11 
12 #include <turtle_brains/express/interface/tbx_interface_element.hpp>
13 
14 namespace TurtleBrainsExpress
15 {
16  namespace Interface
17  {
18  namespace Unstable
19  {
20 
21  class Label : public Element
22  {
23  public:
24  Label(const tbCore::tbString& labelText);
25  virtual ~Label(void);
26 
27  protected:
28  virtual bool ContainsPointer(const Point& pointerPosition) const override;
29  virtual bool CanLinkWithNeighbor(const NavigationDirection& direction) const override;
30 
31  private:
32  };
33 
34  }; /* namespace Interface */
35  };
36 }; /* namespace TurtleBrainsExpress */
37 
39 
40 #endif /* TurtleBrainsExpress_InterfaceLabel_hpp */
A collection of objects and functions to express games quickly.
Definition: tbx_interface.hpp:18
Definition: tbx_interface.hpp:58
Definition: tbx_interface_element.hpp:28
std::string tbString
Definition: tb_string.hpp:335
Definition: tbx_interface_label.hpp:21