|
Numworks Epsilon
1.4.1
Graphing Calculator Operating System
|
#include <pointer_text_view.h>
Public Member Functions | |
| PointerTextView (KDText::FontSize size=KDText::FontSize::Large, const char *text=nullptr, float horizontalAlignment=0.0f, float verticalAlignment=0.0f, KDColor textColor=KDColorBlack, KDColor backgroundColor=KDColorWhite) | |
| const char * | text () const override |
| void | setText (const char *text) override |
| KDSize | minimalSizeForOptimalDisplay () const override |
Public Member Functions inherited from TextView | |
| 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) |
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 () |
| void | setSize (KDSize size) |
| void | setFrame (KDRect frame) |
| KDPoint | pointFromPointInView (View *view, KDPoint point) |
| KDRect | bounds () const |
| View * | subview (int index) |
Additional Inherited Members | |
Protected Member Functions inherited from View | |
| void | markRectAsDirty (KDRect rect) |
Protected Attributes inherited from TextView | |
| KDText::FontSize | m_fontSize |
Protected Attributes inherited from View | |
| KDRect | m_frame |
Definition at line 7 of file pointer_text_view.h.
| PointerTextView::PointerTextView | ( | KDText::FontSize | size = KDText::FontSize::Large, |
| const char * | text = nullptr, |
||
| float | horizontalAlignment = 0.0f, |
||
| float | verticalAlignment = 0.0f, |
||
| KDColor | textColor = KDColorBlack, |
||
| KDColor | backgroundColor = KDColorWhite |
||
| ) |
Definition at line 4 of file pointer_text_view.cpp.
|
overridevirtual |
Reimplemented from View.
Definition at line 18 of file pointer_text_view.cpp.
|
overridevirtual |
Implements TextView.
Definition at line 11 of file pointer_text_view.cpp.
|
inlineoverridevirtual |
Implements TextView.
Definition at line 11 of file pointer_text_view.h.