TextInputComponent Class Reference

テキスト入力枠 More...

#include <textInputComponent.h>

Inheritance diagram for TextInputComponent:

Inheritance graph
[legend]
Collaboration diagram for TextInputComponent:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

テキスト入力枠

Definition at line 22 of file textInputComponent.h.


Member Function Documentation

bool TextInputComponent::draw ( unsigned long  ticks,
const UserInput ui 
) [virtual]

コンポーネントの描画

コンポーネントを描画する

Parameters:
ticks [i] 時刻印 [msec]を渡す。ただし、これ以外の情報を渡してもよい
ui [i] ウィンドウへのユーザ入力情報
Return values:
true 正常
false 以後の描画は必要ない

Implements ComponentInterface.

Definition at line 120 of file textInputComponent.cpp.

References FillSurface::draw(), and ComponentInterface::position.


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

Generated on Mon Apr 13 22:52:07 2009 by  doxygen 1.5.7.1