| @@ -1,12 +1,28 @@ | |||||
| #ifndef __CHAR__ | #ifndef __CHAR__ | ||||
| #define __CHAR__ | #define __CHAR__ | ||||
| /** | |||||
| * 文字列表示 | |||||
| * | |||||
| * @property str text | |||||
| * @property int posX | |||||
| * @property int posY | |||||
| * @property int size | |||||
| * @property bool exists | |||||
| */ | |||||
| #module \ | #module \ | ||||
| Char | Char | ||||
| #const CHAR_WIDTH 32 | #const CHAR_WIDTH 32 | ||||
| #const UNKNOWN 52 | #const UNKNOWN 52 | ||||
| /** | |||||
| * コンストラクタ:文字列を生成する. | |||||
| * | |||||
| * @param int posX | |||||
| * @param int posY | |||||
| * @param str text | |||||
| */ | |||||
| #defcfunc local \ | #defcfunc local \ | ||||
| New \ | New \ | ||||
| int p_posX,\ | int p_posX,\ | ||||
| @@ -31,6 +47,11 @@ New \ | |||||
| Return insNum - 1 | Return insNum - 1 | ||||
| /** | |||||
| * 文字列を非表示にする. | |||||
| * | |||||
| * @return void | |||||
| */ | |||||
| #deffunc local \ | #deffunc local \ | ||||
| Destroy \ | Destroy \ | ||||
| int p_insId | int p_insId | ||||
| @@ -38,6 +59,14 @@ Destroy \ | |||||
| Return | Return | ||||
| /** | |||||
| * 文字列を描画する. | |||||
| * | |||||
| * @var int cnt | |||||
| * @var bool found | |||||
| * @var double zoom | |||||
| * @return void | |||||
| */ | |||||
| #deffunc local \ | #deffunc local \ | ||||
| Draw \ | Draw \ | ||||
| local l_cnt,\ | local l_cnt,\ | ||||