-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvfusetup.h
More file actions
95 lines (78 loc) · 3.22 KB
/
vfusetup.h
File metadata and controls
95 lines (78 loc) · 3.22 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/****************************************************************************
#
# Copyright (c) 1996-2023 Vladi Belperchinov-Shabanski "Cade"
# https://cade.noxrun.com/ <cade@noxrun.com> <cade@bis.bg>
# https://cade.noxrun.com/projects/vfu https://github.com/cade-vs/vfu
#
# SEE `README',`LICENSE' OR `COPYING' FILE FOR LICENSE AND OTHER DETAILS!
#
****************************************************************************/
#ifndef _SETUP_H_
#define _SETUP_H_
/*
*
* This file is used to setup some global parameters as
* files locations and other similar things...
* (it is separated from vfu.h just to keep it clear)
*
*/
#define VFU_VERSION "5.09"
#define HEADER "VF/U v" VFU_VERSION " Copyright (c) 1996-2023 Vladi Belperchinov-Shabanski 'Cade'"
#define CONTACT "<cade@noxrun.com> <cade@bis.bg> [http://cade.noxrun.com]"
#define FILENAME_OPT "vfu.options"
#define FILENAME_CONF "vfu.conf"
#define FILENAME_TREE "vfu.tree"
#define FILENAME_SIZE_CACHE "vfu.size"
#define FILENAME_HISTORY "vfu.history"
#define FILENAME_FFR "vfu.ffr"
// The SYSCONFDIR macro can be used here, which is defined when
// ../configure --sysconfdir=nnnn is used. It no option is given, it
// defaults to /usr/local/etc on most systems.
// The macro has been added to Makefile.am
// -andy5995 2018-12-29
#ifndef FILENAME_CONF_GLOBAL0
#define FILENAME_CONF_GLOBAL0 "/etc/" FILENAME_CONF
#endif
#ifndef FILENAME_CONF_GLOBAL1
#define FILENAME_CONF_GLOBAL1 "/usr/local/etc/" FILENAME_CONF
#endif
#ifndef FILENAME_CONF_GLOBAL2
#define FILENAME_CONF_GLOBAL2 "/usr/libexec/vfu/" FILENAME_CONF
#endif
#define RX_TEMP_LIST "RX_TEMP_LIST"
/* colors */
#define cPLAIN (cNORMAL) // normal white
#define cHEADER (chRED) // files list headers
#define cINFO (chYELLOW) // general info messages
#define cINFO2 (chYELLOW) // bottom information panel
#define cINPUT (CONCOLOR(chWHITE,cBLUE)) // normal input lines
#define cINPUT2 (CONCOLOR(cBLACK,cWHITE)) // selected input lines
#define cMESSAGE (cWHITE) // all messages
#define cSTATUS (cCYAN) // status messages (progress info)
#define cSTATUS2 (chCYAN) // alt status messages (copy progress info)
#define cWARNING (CONCOLOR(chWHITE,cRED)) // warning messages
#define cBAR (CONCOLOR(chWHITE,cBLUE)) // inverted select bar (dir tree)
#define cTAG (CONCOLOR(cRED,cWHITE)) // currently selected file
#define cMENU_CN (CONCOLOR(chWHITE,cBLUE)) // menu normal
#define cMENU_CH (CONCOLOR(chWHITE,cGREEN)) // menu highlite
#define cMENU_TI (CONCOLOR(chWHITE,cMAGENTA)) // menu title
/* mono config -- never tested! */
/*
#define cPLAIN (cWHITE)
#define cHEADER (CONCOLOR(cBLACK,cWHITE))
#define cINFO (chWHITE)
#define cINFO2 (CONCOLOR(cBLACK,cWHITE))
#define cINPUT (CONCOLOR(cWHITE,cBLACK))
#define cINPUT2 (CONCOLOR(cBLACK,cWHITE))
#define cMESSAGE (chWHITE)
#define cSTATUS (cWHITE)
#define cSTATUS2 (chWHITE)
#define cWARNING (CONCOLOR(cBLACK,cWHITE))
#define cBAR (CONCOLOR(cBLACK,cWHITE))
#define cTAG cBAR
#define cMENU_CN (CONCOLOR(cWHITE,cBLACK)) // menu normal
#define cMENU_CH (CONCOLOR(cBLACK,cWHITE)) // menu highlite
#define cMENU_TI (CONCOLOR(cBLACK,cWHITE)) // menu title
*/
/* colors setup end */
#endif //_SETUP_H_