summaryrefslogtreecommitdiff
path: root/apps/plugins/textviewer/tv_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/textviewer/tv_settings.h')
-rw-r--r--apps/plugins/textviewer/tv_settings.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/apps/plugins/textviewer/tv_settings.h b/apps/plugins/textviewer/tv_settings.h
deleted file mode 100644
index 317d6aa211..0000000000
--- a/apps/plugins/textviewer/tv_settings.h
+++ /dev/null
@@ -1,85 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 Gilles Roux
11 * 2003 Garrett Derner
12 * 2010 Yoshihisa Uchida
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
18 *
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
21 *
22 ****************************************************************************/
23#ifndef PLUGIN_TEXT_VIEWER_PREFERENCE_H
24#define PLUGIN_TEXT_VIEWER_PREFERENCE_H
25
26struct viewer_preferences {
27 enum {
28 WRAP=0,
29 CHOP,
30 } word_mode;
31
32 enum {
33 NORMAL=0,
34 JOIN,
35 EXPAND,
36 REFLOW, /* won't be set on charcell LCD, must be last */
37 } line_mode;
38
39 enum {
40 NARROW=0,
41 WIDE,
42 } view_mode;
43
44 enum codepages encoding;
45
46 enum {
47 SB_OFF=0,
48 SB_ON,
49 } scrollbar_mode;
50 bool need_scrollbar;
51
52 enum {
53 NO_OVERLAP=0,
54 OVERLAP,
55 } page_mode;
56
57 enum {
58 HD_NONE = 0,
59 HD_PATH,
60 HD_SBAR,
61 HD_BOTH,
62 } header_mode;
63
64 enum {
65 FT_NONE = 0,
66 FT_PAGE,
67 FT_SBAR,
68 FT_BOTH,
69 } footer_mode;
70
71 enum {
72 PAGE=0,
73 LINE,
74 } scroll_mode;
75
76 int autoscroll_speed;
77
78 unsigned char font[MAX_PATH];
79};
80
81struct viewer_preferences *viewer_get_preference(void);
82void viewer_load_settings(void);
83bool viewer_save_settings(void);
84
85#endif