X-Git-Url: https://harishankar.org/repos/?p=wordblah.git;a=blobdiff_plain;f=constantstrings.h;h=76fede7e6edde89ec4920bb1cb4f18feed445a5d;hp=c8d3b58f67cb7fae6a754a3e1f1505f1cefb67bc;hb=762979409c32bd4902716911101a1d1071f11038;hpb=d29b37aa1b82dbd3c4baa55396521296f4a88ef4 diff --git a/constantstrings.h b/constantstrings.h index c8d3b58..76fede7 100644 --- a/constantstrings.h +++ b/constantstrings.h @@ -14,6 +14,7 @@ #define PUZZLE_MENU_TITLE "Edit Puzzle" #define MAIN_MENU_TITLE "Main Menu" #define INPUT_GRID_SIZE "Number of rows/columns: " +#define INPUT_EXPORT_ANSWERS "Export as solution (y/N): " #define INPUT_CHOICE "Your Choice: " #define EXCEED_MAX_GRID_SIZE "Exceeds max puzzle size" #define ERROR_WRITING_FILE "Error writing file" @@ -21,6 +22,15 @@ #define INVALID_WORD "Word contains illegal characters. Only alphabets allowed!" #define FILE_SAVED "File saved successfully" #define NO_WORD_INDEX "No such word with specified index" +#define INPUT_CONFIRM_EXIT "Are you sure you wish to exit? \ +Unsaved changes will be lost [y/N]" +#define INPUT_CONFIRM_RESET "Are you sure? This will destroy the entire grid\ +and is irreversible (y/N): " + +#define USAGE_LINE_1 "Usage: %s [ [new ]]\n" +#define USAGE_LINE_2 " - puzzle file name\n" +#define USAGE_LINE_3 "new - create new puzzle with grid \ +columns (warning: existing file name may be overwritten)\n" char *MAIN_MENU[] = {"1. New puzzle", @@ -35,7 +45,11 @@ char *PUZZLE_EDIT_MENU[] = "5. Freeze grid", "6. Unfreeze grid", "7. Set Clue - Across Word", - "8. Save puzzle", - "9. Return to main menu" }; + "8. Set Clue - Down Word", + "9. Save puzzle", + "10.Reset entire grid", + "11.Export puzzle as PNG image", + "12.Export clues to text file", + "13.Return to main menu" }; #endif