#include <text_field.h>
|
| | ContentView (char *textBuffer, char *draftTextBuffer, size_t textBufferSize, KDText::FontSize size, float horizontalAlignment=0.0f, float verticalAlignment=0.5f, KDColor textColor=KDColorBlack, KDColor=KDColorWhite) |
| |
| void | setDraftTextBuffer (char *draftTextBuffer) |
| |
| void | drawRect (KDContext *ctx, KDRect rect) const override |
| |
| bool | isEditing () const |
| |
| const char * | text () const override |
| |
| size_t | editedTextLength () const override |
| |
| char * | textBuffer () |
| |
| char * | draftTextBuffer () |
| |
| int | bufferSize () |
| |
| void | setText (const char *text) |
| |
| void | setAlignment (float horizontalAlignment, float verticalAlignment) |
| |
| void | setEditing (bool isEditing, bool reinitDraftBuffer) |
| |
| void | reinitDraftTextBuffer () |
| |
| bool | insertTextAtLocation (const char *text, int location) override |
| |
| KDSize | minimalSizeForOptimalDisplay () const override |
| |
| bool | removeChar () override |
| |
| bool | removeEndOfLine () override |
| |
| | ContentView (KDText::FontSize size, KDColor textColor, KDColor backgroundColor) |
| |
| void | setBackgroundColor (KDColor backgroundColor) |
| |
| KDColor | backgroundColor () const |
| |
| void | setTextColor (KDColor textColor) |
| |
| size_t | cursorLocation () const |
| |
| void | setCursorLocation (int cursorLocation) |
| |
| KDRect | cursorRect () |
| |
| | 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) |
| |
Definition at line 29 of file text_field.h.
◆ ContentView()
◆ bufferSize()
| int TextField::ContentView::bufferSize |
( |
| ) |
|
|
inline |
◆ draftTextBuffer()
| char* TextField::ContentView::draftTextBuffer |
( |
| ) |
|
|
inline |
◆ drawRect()
| void TextField::ContentView::drawRect |
( |
KDContext * |
ctx, |
|
|
KDRect |
rect |
|
) |
| const |
|
overridevirtual |
◆ editedTextLength()
| size_t TextField::ContentView::editedTextLength |
( |
| ) |
const |
|
overridevirtual |
◆ insertTextAtLocation()
| bool TextField::ContentView::insertTextAtLocation |
( |
const char * |
text, |
|
|
int |
location |
|
) |
| |
|
overridevirtual |
◆ isEditing()
| bool TextField::ContentView::isEditing |
( |
| ) |
const |
|
inline |
◆ minimalSizeForOptimalDisplay()
| KDSize TextField::ContentView::minimalSizeForOptimalDisplay |
( |
| ) |
const |
|
overridevirtual |
◆ reinitDraftTextBuffer()
| void TextField::ContentView::reinitDraftTextBuffer |
( |
| ) |
|
◆ removeChar()
| bool TextField::ContentView::removeChar |
( |
| ) |
|
|
overridevirtual |
◆ removeEndOfLine()
| bool TextField::ContentView::removeEndOfLine |
( |
| ) |
|
|
overridevirtual |
◆ setAlignment()
| void TextField::ContentView::setAlignment |
( |
float |
horizontalAlignment, |
|
|
float |
verticalAlignment |
|
) |
| |
◆ setDraftTextBuffer()
| void TextField::ContentView::setDraftTextBuffer |
( |
char * |
draftTextBuffer | ) |
|
◆ setEditing()
| void TextField::ContentView::setEditing |
( |
bool |
isEditing, |
|
|
bool |
reinitDraftBuffer |
|
) |
| |
◆ setText()
| void TextField::ContentView::setText |
( |
const char * |
text | ) |
|
◆ text()
| const char * TextField::ContentView::text |
( |
| ) |
const |
|
overridevirtual |
◆ textBuffer()
| char* TextField::ContentView::textBuffer |
( |
| ) |
|
|
inline |
◆ k_maxBufferSize
| constexpr int TextField::ContentView::k_maxBufferSize = 152 |
|
static |
The documentation for this class was generated from the following files:
- C:/msys64/home/David Markarian/dox/epsilon/escher/include/escher/text_field.h
- C:/msys64/home/David Markarian/dox/epsilon/escher/src/text_field.cpp