Design Patterns
decorator.h
Go to the documentation of this file.
1 #ifndef DESIGNPATTERNS_DECORATOR_DECORATOR_H_
2 #define DESIGNPATTERNS_DECORATOR_DECORATOR_H_
3 
4 #include "../../../foundation/src/visual_component_interface.h"
5 
6 namespace structural
7 {
8  class Decorator : public foundation::VisualComponentInterface
9  {
10  public:
11  explicit Decorator(VisualComponentInterface* component_interface);
12 
13  virtual void Draw() override;
14  virtual void Resize() override;
15 
16  private:
17  VisualComponentInterface* component_;
18  };
19 }
20 
21 #endif
Decorator(VisualComponentInterface *component_interface)
Definition: shape_interface.h:11
Definition: decorator.h:8
virtual void Draw() override
virtual void Resize() override