#include <textInputComponent.h>
Public Member Functions | |
TextInputComponent (TTF_Draw &ttfObj, int pxSize, const VXV::Rect &size, unsigned long color=White, unsigned long back=Black) | |
void | setBufferMax (int maxSize) |
bool | draw (unsigned long ticks, const UserInput &ui) |
コンポーネントの描画 | |
void | clear (void) |
void | setText (const char *text) |
void | activate (bool on) |
bool | isDecided (void) |
void | disable (bool on) |
void | beginFocus (void) |
void | endFocus (void) |
Public Attributes | |
std::list< unsigned short > | inputed |
Definition at line 22 of file textInputComponent.h.
bool TextInputComponent::draw | ( | unsigned long | ticks, | |
const UserInput & | ui | |||
) | [virtual] |
コンポーネントの描画
コンポーネントを描画する
ticks | [i] 時刻印 [msec]を渡す。ただし、これ以外の情報を渡してもよい | |
ui | [i] ウィンドウへのユーザ入力情報 |
true | 正常 | |
false | 以後の描画は必要ない |
Implements ComponentInterface.
Definition at line 120 of file textInputComponent.cpp.
References FillSurface::draw(), and ComponentInterface::position.