WWText.h 3.2 KB

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