Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <buffer_text_view.h>
Public Member Functions | |
BufferTextView (KDText::FontSize size=KDText::FontSize::Large, float horizontalAlignment=0.5f, float verticalAlignment=0.5f, KDColor textColor=KDColorBlack, KDColor backgroundColor=KDColorWhite) | |
void | setText (const char *text) override |
const char * | text () const override |
void | appendText (const char *text) |
![]() | |
TextView (KDText::FontSize size=KDText::FontSize::Large, float horizontalAlignment=0.0f, float verticalAlignment=0.0f, KDColor textColor=KDColorBlack, KDColor backgroundColor=KDColorWhite) | |
void | drawRect (KDContext *ctx, KDRect rect) const override |
void | setBackgroundColor (KDColor backgroundColor) |
void | setTextColor (KDColor textColor) |
void | setAlignment (float horizontalAlignment, float verticalAlignment) |
KDSize | minimalSizeForOptimalDisplay () const override |
void | setFontSize (KDText::FontSize fontSize) |
![]() | |
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 () |
void | setSize (KDSize size) |
void | setFrame (KDRect frame) |
KDPoint | pointFromPointInView (View *view, KDPoint point) |
KDRect | bounds () const |
View * | subview (int index) |
Static Public Member Functions | |
static int | maxNumberOfCharsInBuffer () |
Additional Inherited Members | |
![]() | |
void | markRectAsDirty (KDRect rect) |
![]() | |
KDText::FontSize | m_fontSize |
![]() | |
KDRect | m_frame |
Definition at line 6 of file buffer_text_view.h.
BufferTextView::BufferTextView | ( | KDText::FontSize | size = KDText::FontSize::Large , |
float | horizontalAlignment = 0.5f , |
||
float | verticalAlignment = 0.5f , |
||
KDColor | textColor = KDColorBlack , |
||
KDColor | backgroundColor = KDColorWhite |
||
) |
Definition at line 5 of file buffer_text_view.cpp.
void BufferTextView::appendText | ( | const char * | text | ) |
Definition at line 22 of file buffer_text_view.cpp.
|
inlinestatic |
Definition at line 13 of file buffer_text_view.h.
|
overridevirtual |
Implements TextView.
Definition at line 16 of file buffer_text_view.cpp.
|
overridevirtual |
Implements TextView.
Definition at line 12 of file buffer_text_view.cpp.