ComponentInterface Class Reference

描画コンポーネントのインターフェース More...

#include <componentInterface.h>

Inheritance diagram for ComponentInterface:

Inheritance graph
[legend]
Collaboration diagram for ComponentInterface:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool draw (unsigned long ticks, const UserInput &ui)=0
 コンポーネントの描画
ComponentInterfacesetPosition (const VXV::Grid &pos, char align=VXV::Top|VXV::Left)
 描画位置の設定

Public Attributes

int w
int h
VXV::Grid position


Detailed Description

描画コンポーネントのインターフェース

Definition at line 19 of file componentInterface.h.


Member Function Documentation

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

コンポーネントの描画

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

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

Implemented in ButtonComponent, CheckBoxComponent, ComboBoxComponent, DrawAreaComponent, LabelComponent, MenuComponent, MessageBoxComponent, OptionComponent, ScrollAreaComponent, TextInputComponent, and ViewComponent.

ComponentInterface * ComponentInterface::setPosition ( const VXV::Grid pos,
char  align = VXV::Top | VXV::Left 
)


Member Data Documentation


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