home *** CD-ROM | disk | FTP | other *** search
- #ifndef GUI_CD_H
- #define GUI_CD_H
-
-
- /****************************************************************************/
-
-
- /* This file was created automatically by CatComp.
- * Do NOT edit by hand!
- */
-
-
- #ifndef EXEC_TYPES_H
- #include <exec/types.h>
- #endif
-
- #ifdef CATCOMP_ARRAY
- #undef CATCOMP_NUMBERS
- #undef CATCOMP_STRINGS
- #define CATCOMP_NUMBERS
- #define CATCOMP_STRINGS
- #endif
-
- #ifdef CATCOMP_BLOCK
- #undef CATCOMP_STRINGS
- #define CATCOMP_STRINGS
- #endif
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_NUMBERS
-
- #define LBL_Timeout 256
- #define LBL_Density 257
- #define LBL_Speed 258
- #define CHS_Matrix 259
- #define CHS_Binary 260
- #define CHS_Hexadecimal 261
- #define CHS_DNA 262
- #define LBL_Encoding 263
- #define CHK_Fog 264
- #define CHK_Wave 265
- #define CHK_Rotate 266
- #define BTN_Save 267
- #define BTN_Cancel 269
- #define Window_Title 270
- #define Icon_Title 271
- #define CHS_Decimal 272
- #define BTN_Use 273
- #define CHS_Size_1 274
- #define CHS_Size_2 275
- #define CHS_Size_3 276
- #define CHS_Size_4 277
- #define LBL_ScreenSize 278
- #define CHK_Invert 279
-
- #endif /* CATCOMP_NUMBERS */
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_STRINGS
-
- #define LBL_Timeout_STR "Timeout: "
- #define LBL_Density_STR "Density: "
- #define LBL_Speed_STR "Speed: "
- #define CHS_Matrix_STR "Matrix"
- #define CHS_Binary_STR "Binary"
- #define CHS_Hexadecimal_STR "Hexadecimal"
- #define CHS_DNA_STR "DNA"
- #define LBL_Encoding_STR "Encoding: "
- #define CHK_Fog_STR "_Fog"
- #define CHK_Wave_STR "_Wave"
- #define CHK_Rotate_STR "_Rotate"
- #define BTN_Save_STR "_Save"
- #define BTN_Cancel_STR "_Cancel"
- #define Window_Title_STR "GLMatrix"
- #define Icon_Title_STR "GLMatrix"
- #define CHS_Decimal_STR "Decimal"
- #define BTN_Use_STR "_Use"
- #define CHS_Size_1_STR "640x480"
- #define CHS_Size_2_STR "800x600"
- #define CHS_Size_3_STR "1024x768"
- #define CHS_Size_4_STR "1280x1024"
- #define LBL_ScreenSize_STR "Screen size: "
- #define CHK_Invert_STR "Invert alpha"
-
- #endif /* CATCOMP_STRINGS */
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_ARRAY
-
- struct CatCompArrayType
- {
- LONG cca_ID;
- STRPTR cca_Str;
- };
-
- static const struct CatCompArrayType CatCompArray[] =
- {
- {LBL_Timeout,(STRPTR)LBL_Timeout_STR},
- {LBL_Density,(STRPTR)LBL_Density_STR},
- {LBL_Speed,(STRPTR)LBL_Speed_STR},
- {CHS_Matrix,(STRPTR)CHS_Matrix_STR},
- {CHS_Binary,(STRPTR)CHS_Binary_STR},
- {CHS_Hexadecimal,(STRPTR)CHS_Hexadecimal_STR},
- {CHS_DNA,(STRPTR)CHS_DNA_STR},
- {LBL_Encoding,(STRPTR)LBL_Encoding_STR},
- {CHK_Fog,(STRPTR)CHK_Fog_STR},
- {CHK_Wave,(STRPTR)CHK_Wave_STR},
- {CHK_Rotate,(STRPTR)CHK_Rotate_STR},
- {BTN_Save,(STRPTR)BTN_Save_STR},
- {BTN_Cancel,(STRPTR)BTN_Cancel_STR},
- {Window_Title,(STRPTR)Window_Title_STR},
- {Icon_Title,(STRPTR)Icon_Title_STR},
- {CHS_Decimal,(STRPTR)CHS_Decimal_STR},
- {BTN_Use,(STRPTR)BTN_Use_STR},
- {CHS_Size_1,(STRPTR)CHS_Size_1_STR},
- {CHS_Size_2,(STRPTR)CHS_Size_2_STR},
- {CHS_Size_3,(STRPTR)CHS_Size_3_STR},
- {CHS_Size_4,(STRPTR)CHS_Size_4_STR},
- {LBL_ScreenSize,(STRPTR)LBL_ScreenSize_STR},
- {CHK_Invert,(STRPTR)CHK_Invert_STR},
- };
-
- #endif /* CATCOMP_ARRAY */
-
-
- /****************************************************************************/
-
-
- #ifdef CATCOMP_BLOCK
-
- static const char CatCompBlock[] =
- {
- "\x00\x00\x01\x00\x00\x0A"
- LBL_Timeout_STR "\x00"
- "\x00\x00\x01\x01\x00\x0A"
- LBL_Density_STR "\x00"
- "\x00\x00\x01\x02\x00\x08"
- LBL_Speed_STR "\x00"
- "\x00\x00\x01\x03\x00\x08"
- CHS_Matrix_STR "\x00\x00"
- "\x00\x00\x01\x04\x00\x08"
- CHS_Binary_STR "\x00\x00"
- "\x00\x00\x01\x05\x00\x0C"
- CHS_Hexadecimal_STR "\x00"
- "\x00\x00\x01\x06\x00\x04"
- CHS_DNA_STR "\x00"
- "\x00\x00\x01\x07\x00\x0C"
- LBL_Encoding_STR "\x00\x00"
- "\x00\x00\x01\x08\x00\x06"
- CHK_Fog_STR "\x00\x00"
- "\x00\x00\x01\x09\x00\x06"
- CHK_Wave_STR "\x00"
- "\x00\x00\x01\x0A\x00\x08"
- CHK_Rotate_STR "\x00"
- "\x00\x00\x01\x0B\x00\x06"
- BTN_Save_STR "\x00"
- "\x00\x00\x01\x0D\x00\x08"
- BTN_Cancel_STR "\x00"
- "\x00\x00\x01\x0E\x00\x0A"
- Window_Title_STR "\x00\x00"
- "\x00\x00\x01\x0F\x00\x0A"
- Icon_Title_STR "\x00\x00"
- "\x00\x00\x01\x10\x00\x08"
- CHS_Decimal_STR "\x00"
- "\x00\x00\x01\x11\x00\x06"
- BTN_Use_STR "\x00\x00"
- "\x00\x00\x01\x12\x00\x08"
- CHS_Size_1_STR "\x00"
- "\x00\x00\x01\x13\x00\x08"
- CHS_Size_2_STR "\x00"
- "\x00\x00\x01\x14\x00\x0A"
- CHS_Size_3_STR "\x00\x00"
- "\x00\x00\x01\x15\x00\x0A"
- CHS_Size_4_STR "\x00"
- "\x00\x00\x01\x16\x00\x0E"
- LBL_ScreenSize_STR "\x00"
- "\x00\x00\x01\x17\x00\x0E"
- CHK_Invert_STR "\x00\x00"
- };
-
- #endif /* CATCOMP_BLOCK */
-
-
- /****************************************************************************/
-
-
- struct LocaleInfo
- {
- APTR li_LocaleBase;
- APTR li_Catalog;
- };
-
-
- #ifdef CATCOMP_CODE
-
- STRPTR GetString(struct LocaleInfo *li, LONG stringNum)
- {
- LONG *l;
- UWORD *w;
- STRPTR builtIn;
-
- l = (LONG *)CatCompBlock;
-
- while (*l != stringNum)
- {
- w = (UWORD *)((ULONG)l + 4);
- l = (LONG *)((ULONG)l + (ULONG)*w + 6);
- }
- builtIn = (STRPTR)((ULONG)l + 6);
-
- #undef LocaleBase
- #define LocaleBase li->li_LocaleBase
-
- if (LocaleBase)
- return(GetCatalogStr(li->li_Catalog,stringNum,builtIn));
- #undef LocaleBase
-
- return(builtIn);
- }
-
-
- #endif /* CATCOMP_CODE */
-
-
- /****************************************************************************/
-
-
- #endif /* GUI_CD_H */
-