1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef _WWTextP_h_INCLUDED_
- #define _WWTextP_h_INCLUDED_
- /*****************************************************************************/
- /* ここから */
- /*****************************************************************************/
- #include "WWText.h"
- #include "WWCharacter.h"
- /*****************************************************************************/
- /* クラスの定義 */
- /*****************************************************************************/
- typedef struct _WWText {
- /* テキストの描画情報 */
- WWScreen screen; /* テキストスクリーン */
- int x, y, width, height; /* テキストウインドウの領域 */
- int base; /* 使用するキャラクタのベース */
- WWPalette palette;
- /*
- * テキストフォントは
- * f = WWDisplay_GetForegroundColor(ww_display);
- * b = WWDisplay_GetBackgroundColor(ww_display);
- * で描画する必要があるため,描画のたびにビットマップをコピーする必要がある.
- * で,カラー化の際に,そのように修正した.
- * よって,テキストの初期化時に WWCharacter の配列を作成する必要は
- * 無くなったので,WWCharacter の配列はいずれ削除すること.
- * (WWText_PutCharacter() 参照)
- */
- WWCharacter font[128]; /* フォント */
- } _WWText;
- /*****************************************************************************/
- /* ここまで */
- /*****************************************************************************/
- #endif
- /*****************************************************************************/
- /* End of File. */
- /*****************************************************************************/
|