12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- #ifndef _WWText_h_INCLUDED_
- #define _WWText_h_INCLUDED_
- /*****************************************************************************/
- /* ここから */
- /*****************************************************************************/
- #include "WWDisplay.h"
- #include "WWScreen.h"
- #include "WWPalette.h"
- /*****************************************************************************/
- /* クラスの定義 */
- /*****************************************************************************/
- typedef struct _WWText * WWText;
- /*===========================================================================*/
- /* メンバの取得 */
- /*===========================================================================*/
- WWScreen WWText_GetScreen(WWText t);
- int WWText_GetX(WWText t);
- int WWText_GetY(WWText t);
- int WWText_GetWidth( WWText t);
- int WWText_GetHeight(WWText t);
- int WWText_GetBase(WWText t);
- WWPalette WWText_GetPalette(WWText t);
- /*===========================================================================*/
- /* メンバの設定 */
- /*===========================================================================*/
- WWScreen WWText_SetScreen(WWText t, WWScreen s);
- int WWText_SetX(WWText t, int n);
- int WWText_SetY(WWText t, int n);
- int WWText_SetWidth( WWText t, int n);
- int WWText_SetHeight(WWText t, int n);
- int WWText_SetBase(WWText t, int n);
- WWPalette WWText_SetPalette(WWText t, WWPalette p);
- int WWText_SetTextWindow(WWText ww_text, int x, int y,
- int width, int height, int base,
- WWDisplay ww_display);
- int WWText_PutCharacter(WWText ww_text, int x, int y, int character,
- WWDisplay ww_display);
- /*===========================================================================*/
- /* オブジェクトの生成と消去 */
- /*===========================================================================*/
- WWText WWText_Create(WWScreen screen, int x, int y, int width, int height,
- WWPalette palette);
- WWText WWText_Destroy(WWText text);
- /*****************************************************************************/
- /* ここまで */
- /*****************************************************************************/
- /*****************************************************************************/
- /* End of File. */
- /*****************************************************************************/
- /*****************************************************************************/
- /* ここまで */
- /*****************************************************************************/
- #endif
- /*****************************************************************************/
- /* End of File. */
- /*****************************************************************************/
|