Numworks Epsilon  1.4.1
Graphing Calculator Operating System
MessageView Class Reference

#include <message_view.h>

Inheritance diagram for MessageView:
View

Public Member Functions

 MessageView (I18n::Message *messages, KDColor *colors, uint8_t numberOfMessages)
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
- Public Member Functions inherited from View
 View ()
 
virtual ~View ()
 
 View (const View &other)=delete
 
 View (View &&other)=delete
 
Viewoperator= (const View &other)=delete
 
Viewoperator= (View &&other)=delete
 
void resetSuperview ()
 
void setSize (KDSize size)
 
void setFrame (KDRect frame)
 
KDPoint pointFromPointInView (View *view, KDPoint point)
 
KDRect bounds () const
 
Viewsubview (int index)
 
virtual KDSize minimalSizeForOptimalDisplay () const
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 6 of file message_view.h.

Constructor & Destructor Documentation

◆ MessageView()

MessageView::MessageView ( I18n::Message *  messages,
KDColor colors,
uint8_t  numberOfMessages 
)

Definition at line 4 of file message_view.cpp.

Member Function Documentation

◆ drawRect()

void MessageView::drawRect ( KDContext ctx,
KDRect  rect 
) const
overridevirtual

Reimplemented from View.

Definition at line 14 of file message_view.cpp.

◆ layoutSubviews()

void MessageView::layoutSubviews ( )
overrideprotectedvirtual

Reimplemented from View.

Definition at line 26 of file message_view.cpp.

◆ numberOfSubviews()

int MessageView::numberOfSubviews ( ) const
inlineoverrideprotectedvirtual

Reimplemented from View.

Definition at line 11 of file message_view.h.

◆ subviewAtIndex()

View * MessageView::subviewAtIndex ( int  index)
overrideprotectedvirtual

Reimplemented from View.

Definition at line 18 of file message_view.cpp.


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