File: idaconfig.h

package info (click to toggle)
fbi 2.07-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,240 kB
  • ctags: 2,357
  • sloc: ansic: 17,896; sh: 59; makefile: 33; perl: 12
file content (24 lines) | stat: -rw-r--r-- 825 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "parseconfig.h"

#define O_OPTIONS		"config", "options"
#define O_BOOKMARKS		"config", "bookmarks"

#define O_AUTOZOOM		O_OPTIONS, "autozoom"
#define O_PHOTOCD_RES		O_OPTIONS, "photocd_res"
#define O_SANE_RES		O_OPTIONS, "sane_res"
#define O_ICON_SMALL		O_OPTIONS, "icon_small"
#define O_ICON_LARGE		O_OPTIONS, "icon_large"

#define GET_AUTOZOOM()		cfg_get_bool(O_AUTOZOOM,      1)
#define GET_PHOTOCD_RES()      	cfg_get_int(O_PHOTOCD_RES,    3)
#define GET_SANE_RES()		cfg_get_int(O_SANE_RES,     300)
#define GET_ICON_SMALL()     	cfg_get_int(O_ICON_SMALL,    32)
#define GET_ICON_LARGE()     	cfg_get_int(O_ICON_LARGE,    96)

/* -------------------------------------------------------------------------- */

char *ida_lists;

void ida_init_config(void);
void ida_read_config(void);
void ida_write_config(void);