Design Patterns
application_window.h
Go to the documentation of this file.
1 // Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2 // book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3 //
4 // Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5 
6 #ifndef STRUCTURAL_BRIDGE_APPLICATION_WINDOW_H_
7 #define STRUCTURAL_BRIDGE_APPLICATION_WINDOW_H_
8 
9 #include "window.h"
10 
11 namespace structural
12 {
13 namespace bridge
14 {
15 class ApplicationWindow : public Window
16 {
17  public:
18  explicit ApplicationWindow(const std::string& application_title, WindowImp* imp);
19 
20  void DrawText(const std::string& text, const commons::Point<float>&) override;
21  void DrawTitle();
22 
23  private:
24  std::string application_title_;
25 };
26 }
27 }
28 
29 #endif
30 
Definition: window_imp.h:15
Definition: shape_interface.h:11
ApplicationWindow(const std::string &application_title, WindowImp *imp)
Definition: application_window.cc:12
Definition: window.h:16
void DrawText(const std::string &text, const commons::Point< float > &) override
Definition: application_window.cc:14
Definition: application_window.h:15
void DrawTitle()
Definition: application_window.cc:20