Numworks Epsilon  1.4.1
Graphing Calculator Operating System
TitleBarView Class Reference

#include <title_bar_view.h>

Inheritance diagram for TitleBarView:
View

Public Member Functions

 TitleBarView ()
 
void drawRect (KDContext *ctx, KDRect rect) const override
 
void setTitle (I18n::Message title)
 
bool setChargeState (Ion::Battery::Charge chargeState)
 
bool setIsCharging (bool isCharging)
 
bool setIsPlugged (bool isPlugged)
 
bool setShiftAlphaLockStatus (Ion::Events::ShiftAlphaStatus status)
 
void refreshPreferences ()
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from View
void markRectAsDirty (KDRect rect)
 
- Protected Attributes inherited from View
KDRect m_frame
 

Detailed Description

Definition at line 9 of file title_bar_view.h.

Constructor & Destructor Documentation

◆ TitleBarView()

TitleBarView::TitleBarView ( )

Definition at line 11 of file title_bar_view.cpp.

Member Function Documentation

◆ drawRect()

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

Reimplemented from View.

Definition at line 19 of file title_bar_view.cpp.

◆ refreshPreferences()

void TitleBarView::refreshPreferences ( )

Definition at line 84 of file title_bar_view.cpp.

◆ setChargeState()

bool TitleBarView::setChargeState ( Ion::Battery::Charge  chargeState)

Definition at line 29 of file title_bar_view.cpp.

◆ setIsCharging()

bool TitleBarView::setIsCharging ( bool  isCharging)

Definition at line 33 of file title_bar_view.cpp.

◆ setIsPlugged()

bool TitleBarView::setIsPlugged ( bool  isPlugged)

Definition at line 37 of file title_bar_view.cpp.

◆ setShiftAlphaLockStatus()

bool TitleBarView::setShiftAlphaLockStatus ( Ion::Events::ShiftAlphaStatus  status)

Definition at line 41 of file title_bar_view.cpp.

◆ setTitle()

void TitleBarView::setTitle ( I18n::Message  title)

Definition at line 25 of file title_bar_view.cpp.


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