WWText.h 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #ifndef _WWText_h_INCLUDED_
  2. #define _WWText_h_INCLUDED_
  3. /*****************************************************************************/
  4. /* ここから */
  5. /*****************************************************************************/
  6. /*****************************************************************************/
  7. /* クラスの定義 */
  8. /*****************************************************************************/
  9. typedef struct _WWText * WWText;
  10. /*****************************************************************************/
  11. /* ヘッダファイルのインクルード */
  12. /*****************************************************************************/
  13. #include "WWDisplay.h"
  14. #include "WWScreen.h"
  15. #include "WWPalette.h"
  16. /*===========================================================================*/
  17. /* メンバの取得 */
  18. /*===========================================================================*/
  19. WWScreen WWText_GetScreen(WWText t);
  20. int WWText_GetX(WWText t);
  21. int WWText_GetY(WWText t);
  22. int WWText_GetWidth( WWText t);
  23. int WWText_GetHeight(WWText t);
  24. int WWText_GetBase(WWText t);
  25. WWPalette WWText_GetPalette(WWText t);
  26. /*===========================================================================*/
  27. /* メンバの設定 */
  28. /*===========================================================================*/
  29. WWScreen WWText_SetScreen(WWText t, WWScreen s);
  30. int WWText_SetX(WWText t, int n);
  31. int WWText_SetY(WWText t, int n);
  32. int WWText_SetWidth( WWText t, int n);
  33. int WWText_SetHeight(WWText t, int n);
  34. int WWText_SetBase(WWText t, int n);
  35. WWPalette WWText_SetPalette(WWText t, WWPalette p);
  36. int WWText_SetTextWindow(WWText ww_text, int x, int y,
  37. int width, int height, int base,
  38. WWDisplay ww_display);
  39. int WWText_PutCharacter(WWText ww_text, int x, int y, int character,
  40. WWDisplay ww_display);
  41. /*===========================================================================*/
  42. /* オブジェクトの生成と消去 */
  43. /*===========================================================================*/
  44. WWText WWText_Create(WWScreen screen, int x, int y, int width, int height,
  45. WWPalette palette);
  46. WWText WWText_Destroy(WWText text);
  47. /*****************************************************************************/
  48. /* ここまで */
  49. /*****************************************************************************/
  50. #endif
  51. /*****************************************************************************/
  52. /* End of File. */
  53. /*****************************************************************************/