32
// please, don't change these numbers
33
// add new action id's at end of this enumeration
35
ACTION_SHOW_COLLECTION = 1,
36
ACTION_SHOW_OPTIONS = 2,
39
ACTION_SHOW_CONTENTS = 5,
41
ACTION_FIND_PREVIOUS = 7,
43
ACTION_LARGE_SCROLL_FORWARD = 9,
44
ACTION_LARGE_SCROLL_BACKWARD = 10,
45
ACTION_SMALL_SCROLL_FORWARD = 11,
46
ACTION_SMALL_SCROLL_BACKWARD = 12,
47
ACTION_MOUSE_SCROLL_FORWARD = 13,
48
ACTION_MOUSE_SCROLL_BACKWARD = 14,
49
ACTION_SCROLL_TO_HOME = 15,
50
ACTION_SCROLL_TO_START_OF_TEXT = 16,
51
ACTION_SCROLL_TO_END_OF_TEXT = 17,
53
ACTION_INCREASE_FONT = 19,
54
ACTION_DECREASE_FONT = 20,
55
ACTION_SHOW_HIDE_POSITION_INDICATOR = 21,
56
ACTION_TOGGLE_FULLSCREEN = 22,
57
ACTION_FULLSCREEN_ON = 23,
59
ACTION_SHOW_BOOK_INFO = 25,
60
ACTION_SHOW_HELP = 26,
61
ACTION_ROTATE_SCREEN = 27,
62
ACTION_SHOW_LAST_BOOKS = 28,
64
ACTION_OPEN_PREVIOUS_BOOK = 30,
65
ACTION_FINGER_TAP_SCROLL_FORWARD = 31,
66
ACTION_FINGER_TAP_SCROLL_BACKWARD = 32,
67
ACTION_GOTO_NEXT_TOC_SECTION = 33,
68
ACTION_GOTO_PREVIOUS_TOC_SECTION = 34,
69
ACTION_COPY_SELECTED_TEXT_TO_CLIPBOARD = 35,
70
ACTION_CLEAR_SELECTION = 36,
71
ACTION_OPEN_SELECTED_TEXT_IN_DICTIONARY = 37,
32
static const std::string SHOW_COLLECTION;
33
static const std::string SHOW_OPTIONS;
34
static const std::string UNDO;
35
static const std::string REDO;
36
static const std::string SHOW_CONTENTS;
37
static const std::string SEARCH;
38
static const std::string FIND_PREVIOUS;
39
static const std::string FIND_NEXT;
40
static const std::string LARGE_SCROLL_FORWARD;
41
static const std::string LARGE_SCROLL_BACKWARD;
42
static const std::string SMALL_SCROLL_FORWARD;
43
static const std::string SMALL_SCROLL_BACKWARD;
44
static const std::string MOUSE_SCROLL_FORWARD;
45
static const std::string MOUSE_SCROLL_BACKWARD;
46
static const std::string TAP_SCROLL_FORWARD;
47
static const std::string TAP_SCROLL_BACKWARD;
48
static const std::string SCROLL_TO_HOME;
49
static const std::string SCROLL_TO_START_OF_TEXT;
50
static const std::string SCROLL_TO_END_OF_TEXT;
51
static const std::string CANCEL;
52
static const std::string INCREASE_FONT;
53
static const std::string DECREASE_FONT;
54
static const std::string SHOW_HIDE_POSITION_INDICATOR;
55
static const std::string TOGGLE_FULLSCREEN;
56
static const std::string FULLSCREEN_ON;
57
static const std::string ADD_BOOK;
58
static const std::string SHOW_BOOK_INFO;
59
static const std::string SHOW_HELP;
60
static const std::string ROTATE_SCREEN;
61
static const std::string SHOW_LAST_BOOKS;
62
static const std::string QUIT;
63
static const std::string OPEN_PREVIOUS_BOOK;
64
static const std::string GOTO_NEXT_TOC_SECTION;
65
static const std::string GOTO_PREVIOUS_TOC_SECTION;
66
static const std::string COPY_SELECTED_TEXT_TO_CLIPBOARD;
67
static const std::string CLEAR_SELECTION;
68
static const std::string OPEN_SELECTED_TEXT_IN_DICTIONARY;
69
static const std::string GOTO_PAGE_NUMBER;
74
75
class FBAction : public ZLApplication::Action {