blob: cdb6ed592a04899658b66935a1bc7bdfb1856cb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/**
* vimb - a webkit based vim like browser.
*
* Copyright (C) 2012-2016 Daniel Carl
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
/* features */
/* show wget style progressbar in status bar */
#define FEATURE_WGET_PROGRESS_BAR
/* show load progress in window title */
#define FEATURE_TITLE_PROGRESS
/* show page title in url completions */
#define FEATURE_TITLE_IN_COMPLETION
/* support gui style settings compatible with vimb2 */
/* #define FEATURE_GUI_STYLE_VIMB2_COMPAT */
/* enable the read it later queue */
#define FEATURE_QUEUE
#ifdef FEATURE_WGET_PROGRESS_BAR
/* chars to use for the progressbar */
#define PROGRESS_BAR "=> "
#define PROGRESS_BAR_LEN 20
#endif
/* time in seconds after that message will be removed from inputbox if the
* message where only temporary */
#define MESSAGE_TIMEOUT 5
/* number of chars to be shown in statusbar for ambiguous commands */
#define SHOWCMD_LEN 10
/* css applied to the gui elements regardless of user's settings */
#define GUI_STYLE_CSS_BASE "#input text{background-color:inherit;color:inherit;caret-color:@color;font:inherit;}"
/* default font size for fonts in webview */
#define SETTING_DEFAULT_FONT_SIZE 16
#define SETTING_DEFAULT_MONOSPACE_FONT_SIZE 13
#define SETTING_GUI_FONT_NORMAL "10pt monospace"
#define SETTING_GUI_FONT_EMPH "bold 10pt monospace"
#define SETTING_HOME_PAGE "about:blank"
#define MAXIMUM_HINTS 500
/* default window dimensions */
#define WIN_WIDTH 800
#define WIN_HEIGHT 600
|