#include <labelComponent.h>


Public Member Functions | |
| LabelComponent (SurfaceInterface *obj) | |
| サーフェス指定のコンストラクタ | |
| bool | draw (unsigned long ticks, const UserInput &ui) |
| コンポーネントの描画 | |
| bool | draw (const VXV::Grid &view_pos, const VXV::Rect &view_range, double view_magnify, const VXV::Grid &draw_pos, bool pined) |
| サーフェスの ViewComponent 描画用 | |
Definition at line 20 of file labelComponent.h.
| LabelComponent::LabelComponent | ( | SurfaceInterface * | obj | ) |
サーフェス指定のコンストラクタ
| obj | [i] サーフェス資源 |
Definition at line 10 of file labelComponent.cpp.
References SurfaceInterface::h, ComponentInterface::h, ComponentInterface::position, SurfaceInterface::w, and ComponentInterface::w.
| bool LabelComponent::draw | ( | unsigned long | ticks, | |
| const UserInput & | ui | |||
| ) | [virtual] |
コンポーネントの描画
コンポーネントを描画する
| ticks | [i] 時刻印 [msec]を渡す。ただし、これ以外の情報を渡してもよい | |
| ui | [i] ウィンドウへのユーザ入力情報 |
| true | 正常 | |
| false | 以後の描画は必要ない |
Implements ComponentInterface.
Definition at line 22 of file labelComponent.cpp.
References SurfaceInterface::draw(), SurfaceInterface::h, ComponentInterface::position, and SurfaceInterface::w.
Referenced by OptionComponent::draw(), MenuComponent::draw(), ComboBoxComponent::draw(), CheckBoxComponent::draw(), and TextDraw::draw().
| bool LabelComponent::draw | ( | const VXV::Grid & | view_pos, | |
| const VXV::Rect & | view_range, | |||
| double | view_magnify, | |||
| const VXV::Grid & | draw_pos, | |||
| bool | pined | |||
| ) |
サーフェスの ViewComponent 描画用
| view_pos | [i] 表示している座標 | |
| view_range | [i] 表示している範囲 | |
| view_magnify | [i] 拡大率 | |
| draw_pos | [i] 描画位置 | |
| pined | [i] 座標系に固定する場合に true |
| true | 正常 | |
| false | 以後の描画は必要ない |
Definition at line 33 of file labelComponent.cpp.
References SurfaceInterface::draw(), SurfaceInterface::h, VXV::Rect::h, SurfaceInterface::w, VXV::Rect::w, VXV::Grid::x, and VXV::Grid::y.
1.5.7.1