home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Programming / MR_Classes / Dev / Source / palette / locale.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-08  |  2.9 KB  |  132 lines

  1. #ifndef LOCALE_H
  2. #define LOCALE_H
  3.  
  4.  
  5. /****************************************************************************/
  6.  
  7.  
  8. /* This file was created automatically by CatComp.
  9.  * Do NOT edit by hand!
  10.  */
  11.  
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include <exec/types.h>
  15. #endif
  16.  
  17. #ifdef CATCOMP_ARRAY
  18. #undef CATCOMP_NUMBERS
  19. #undef CATCOMP_STRINGS
  20. #define CATCOMP_NUMBERS
  21. #define CATCOMP_STRINGS
  22. #endif
  23.  
  24. #ifdef CATCOMP_BLOCK
  25. #undef CATCOMP_STRINGS
  26. #define CATCOMP_STRINGS
  27. #endif
  28.  
  29.  
  30. /****************************************************************************/
  31.  
  32.  
  33. #ifdef CATCOMP_NUMBERS
  34.  
  35. #define MSG_W_TITLE 100
  36. #define MSG_G_PALETTE 200
  37. #define MSG_G_RED 300
  38. #define MSG_G_GREEN 301
  39. #define MSG_G_BLUE 302
  40. #define MSG_G_HUE 303
  41. #define MSG_G_SATURATION 304
  42. #define MSG_G_BRIGHTNESS 305
  43. #define MSG_G_COPY 400
  44. #define MSG_G_SWAP 401
  45. #define MSG_G_SPREAD 402
  46. #define MSG_G_UNDO 403
  47. #define MSG_G_RESET 404
  48. #define MSG_G_OK 500
  49. #define MSG_G_CANCEL 501
  50. #define MSG_M_PROJECT 10000
  51. #define MSG_MI_OPEN 10001
  52. #define MSG_MI_SAVE 10002
  53.  
  54. #endif /* CATCOMP_NUMBERS */
  55.  
  56.  
  57. /****************************************************************************/
  58.  
  59.  
  60. #ifdef CATCOMP_STRINGS
  61.  
  62. #define MSG_W_TITLE_STR "Palette Requester"
  63. #define MSG_G_PALETTE_STR "Palette"
  64. #define MSG_G_RED_STR "Red:"
  65. #define MSG_G_GREEN_STR "Green:"
  66. #define MSG_G_BLUE_STR "Blue:"
  67. #define MSG_G_HUE_STR "Hue:"
  68. #define MSG_G_SATURATION_STR "Saturation:"
  69. #define MSG_G_BRIGHTNESS_STR "Brightness:"
  70. #define MSG_G_COPY_STR "Copy"
  71. #define MSG_G_SWAP_STR "Swap"
  72. #define MSG_G_SPREAD_STR "Spread"
  73. #define MSG_G_UNDO_STR "Undo"
  74. #define MSG_G_RESET_STR "Reset"
  75. #define MSG_G_OK_STR "Ok"
  76. #define MSG_G_CANCEL_STR "Cancel"
  77. #define MSG_M_PROJECT_STR "Project"
  78. #define MSG_MI_OPEN_STR "Load..."
  79. #define MSG_MI_SAVE_STR "Save..."
  80.  
  81. #endif /* CATCOMP_STRINGS */
  82.  
  83.  
  84. /****************************************************************************/
  85.  
  86.  
  87. #ifdef CATCOMP_ARRAY
  88.  
  89. struct CatCompArrayType
  90. {
  91.     LONG   cca_ID;
  92.     STRPTR cca_Str;
  93. };
  94.  
  95. static const struct CatCompArrayType CatCompArray[] =
  96. {
  97.     {MSG_W_TITLE,(STRPTR)MSG_W_TITLE_STR},
  98.     {MSG_G_PALETTE,(STRPTR)MSG_G_PALETTE_STR},
  99.     {MSG_G_RED,(STRPTR)MSG_G_RED_STR},
  100.     {MSG_G_GREEN,(STRPTR)MSG_G_GREEN_STR},
  101.     {MSG_G_BLUE,(STRPTR)MSG_G_BLUE_STR},
  102.     {MSG_G_HUE,(STRPTR)MSG_G_HUE_STR},
  103.     {MSG_G_SATURATION,(STRPTR)MSG_G_SATURATION_STR},
  104.     {MSG_G_BRIGHTNESS,(STRPTR)MSG_G_BRIGHTNESS_STR},
  105.     {MSG_G_COPY,(STRPTR)MSG_G_COPY_STR},
  106.     {MSG_G_SWAP,(STRPTR)MSG_G_SWAP_STR},
  107.     {MSG_G_SPREAD,(STRPTR)MSG_G_SPREAD_STR},
  108.     {MSG_G_UNDO,(STRPTR)MSG_G_UNDO_STR},
  109.     {MSG_G_RESET,(STRPTR)MSG_G_RESET_STR},
  110.     {MSG_G_OK,(STRPTR)MSG_G_OK_STR},
  111.     {MSG_G_CANCEL,(STRPTR)MSG_G_CANCEL_STR},
  112.     {MSG_M_PROJECT,(STRPTR)MSG_M_PROJECT_STR},
  113.     {MSG_MI_OPEN,(STRPTR)MSG_MI_OPEN_STR},
  114.     {MSG_MI_SAVE,(STRPTR)MSG_MI_SAVE_STR},
  115. };
  116.  
  117. #endif /* CATCOMP_ARRAY */
  118.  
  119.  
  120. /****************************************************************************/
  121.  
  122.  
  123. struct LocaleInfo
  124. {
  125.     APTR li_LocaleBase;
  126.     APTR li_Catalog;
  127. };
  128.  
  129.  
  130.  
  131. #endif /* LOCALE_H */
  132.