Numworks Epsilon  1.4.1
Graphing Calculator Operating System
window.h
Go to the documentation of this file.
1 #ifndef ESCHER_WINDOW_H
2 #define ESCHER_WINDOW_H
3 
4 #include <escher/view.h>
5 
6 class Window : public View {
7 public:
8  Window();
9  void redraw(bool force = false);
10  void setContentView(View * contentView);
11 protected:
12 #if ESCHER_VIEW_LOGGING
13  const char * className() const override;
14 #endif
15  virtual int numberOfSubviews() const override;
16  virtual void layoutSubviews() override;
17  virtual View * subviewAtIndex(int index) override;
19 private:
20  const Window * window() const override;
21 };
22 
23 #endif
virtual int numberOfSubviews() const override
Definition: window.cpp:30
Definition: window.h:6
virtual View * subviewAtIndex(int index) override
Definition: window.cpp:34
void redraw(bool force=false)
Definition: window.cpp:12
void setContentView(View *contentView)
Definition: window.cpp:20
Window()
Definition: window.cpp:7
Definition: view.h:23
virtual void layoutSubviews() override
Definition: window.cpp:39
View * m_contentView
Definition: window.h:18