050c8907fdb7d60e4ab2e74fa486cca77d75412b
[wordblah.git] / constantstrings.h
1 #ifndef __CONSTANTSTRINGS_H
2 #define __CONSTANTSTRINGS_H
3
4 #define FROZEN_GRID "Grid is frozen. Unfreeze grid first!"
5 #define UNFROZEN_GRID "Grid is unfrozen. Freeze grid first!"
6 #define EXCEED_GRID_SIZE "Row/col exceeded grid size!"
7 #define INPUT_ROW "Enter the row: "
8 #define INPUT_COL "Enter the col: "
9 #define INPUT_INDEX "Enter the word index: "
10 #define INPUT_CLUE "Enter the clue: "
11 #define WORD_TOO_LONG "Word too long"
12 #define INPUT_WORD "Enter the word: "
13 #define INPUT_FILE "Enter the file name: "
14 #define PUZZLE_MENU_TITLE "Edit Puzzle"
15 #define MAIN_MENU_TITLE "Main Menu"
16 #define INPUT_GRID_SIZE "Number of rows/columns: "
17 #define INPUT_EXPORT_ANSWERS "Export as solution (y/N): "
18 #define INPUT_CHOICE "Your Choice: "
19 #define EXCEED_MAX_GRID_SIZE "Exceeds max puzzle size"
20 #define ERROR_WRITING_FILE "Error writing file"
21 #define ERROR_READING_FILE "Error reading file"
22 #define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!"
23 #define FILE_SAVED "File saved successfully"
24 #define NO_WORD_INDEX "No such word with specified index"
25 #define INPUT_CONFIRM_EXIT "Are you sure you wish to exit? \
26 Unsaved changes will be lost [y/N]"
27
28 #define USAGE_LINE_1 "Usage: %s [<filename> [new <nn>]]\n"
29 #define USAGE_LINE_2 "<filename> - puzzle file name\n"
30 #define USAGE_LINE_3 "new <nn> - create new puzzle with <nn> grid \
31 columns (warning: existing file name may be overwritten)\n"
32
33 char *MAIN_MENU[] =
34 {"1. New puzzle",
35 "2. Open existing puzzle",
36 "3. Exit"};
37
38 char *PUZZLE_EDIT_MENU[] =
39 { "1. Display grid",
40 "2. Add word across",
41 "3. Add word down",
42 "4. Clear Cell",
43 "5. Freeze grid",
44 "6. Unfreeze grid",
45 "7. Set Clue - Across Word",
46 "8. Set Clue - Down Word",
47 "9. Save puzzle",
48 "10.Export puzzle as PNG image",
49 "11.Return to main menu" };
50
51 #endif