Numworks Epsilon  1.4.1
Graphing Calculator Operating System
Window Class Reference

#include <window.h>

Inheritance diagram for Window:
View AppsWindow EmptyBatteryWindow

Public Member Functions

 Window ()
 
void redraw (bool force=false)
 
void setContentView (View *contentView)
 
- Public Member Functions inherited from View
 View ()
 
virtual ~View ()
 
 View (const View &other)=delete
 
 View (View &&other)=delete
 
View & operator= (const View &other)=delete
 
View & operator= (View &&other)=delete
 
void resetSuperview ()
 
virtual void drawRect (KDContext *ctx, KDRect rect) const
 
void setSize (KDSize size)
 
void setFrame (KDRect frame)
 
KDPoint pointFromPointInView (View *view, KDPoint point)
 
KDRect bounds () const
 
View * subview (int index)
 
virtual KDSize minimalSizeForOptimalDisplay () const
 

Protected Member Functions

virtual int numberOfSubviews () const override
 
virtual void layoutSubviews () override
 
virtual View * subviewAtIndex (int index) override
 
- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 

Protected Attributes

View * m_contentView
 
- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 6 of file window.h.

Constructor & Destructor Documentation

◆ Window()

Window::Window ( )

Definition at line 7 of file window.cpp.

Member Function Documentation

◆ layoutSubviews()

void Window::layoutSubviews ( )
overrideprotectedvirtual

Reimplemented from View.

Definition at line 39 of file window.cpp.

◆ numberOfSubviews()

int Window::numberOfSubviews ( ) const
overrideprotectedvirtual

Reimplemented from View.

Definition at line 30 of file window.cpp.

◆ redraw()

void Window::redraw ( bool  force = false)

Definition at line 12 of file window.cpp.

◆ setContentView()

void Window::setContentView ( View *  contentView)

Definition at line 20 of file window.cpp.

◆ subviewAtIndex()

View * Window::subviewAtIndex ( int  index)
overrideprotectedvirtual

Reimplemented from View.

Definition at line 34 of file window.cpp.

Member Data Documentation

◆ m_contentView

View* Window::m_contentView
protected

Definition at line 18 of file window.h.


The documentation for this class was generated from the following files: