File: preferences.h

package info (click to toggle)
xdx 2.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,760 kB
  • sloc: ansic: 5,899; sh: 4,685; perl: 197; makefile: 72; sed: 16
file content (105 lines) | stat: -rw-r--r-- 2,921 bytes parent folder | download | duplicates (2)
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
96
97
98
99
100
101
102
103
104
105
/*
 * xdx - GTK+ DX-cluster client for amateur radio
 * Copyright (C) 2002-2006 Joop Stakenborg <pg4i@amsat.org>
 *
 * 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 2 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, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

/*
 * preferences.h
 */


#ifndef XDX_PREFERENCES_H
#define XDX_PREFERENCES_H

#define COL0WIDTH 70
#define COL1WIDTH 70
#define COL2WIDTH 70
#define COL3WIDTH 250
#define COL4WIDTH 60
#define COL5WIDTH 60
#define COL6WIDTH 60

typedef struct {
    gint         x;
    gint         y;
    gint         width;
    gint         height;
    gchar       *columnwidths;
    gint         autologin;
    gchar       *callsign;
    gchar       *commands;
    gint         savedx;
    gint         savewwv;
    gint         savetoall;
    gint         savewx;
    gint         hamlib;
    gchar       *rigctl;
    gchar       *browserapp;
    gchar       *mailapp;
    gchar       *soundapp;
    gint         col0visible;
    gint         col1visible;
    gint         col2visible;
    gint         col3visible;
    gint         col4visible;
    gint         col5visible;
    gint         col6visible;
    gchar       *dxfont;
    gchar       *allfont;
    gint         localecho;
    gint         handlebarpos;
    gchar       *highword1;
    gchar       *highword2;
    gchar       *highword3;
    gchar       *highword4;
    gchar       *highword5;
    gchar       *highword6;
    gchar       *highword7;
    gchar       *highword8;
    GdkColor     highcolor1;
    GdkColor     highcolor2;
    GdkColor     highcolor3;
    GdkColor     highcolor4;
    GdkColor     highcolor5;
    GdkColor     highcolor6;
    GdkColor     highcolor7;
    GdkColor     highcolor8;
    gchar       *highmenu;
    gint         sidebar;
    gint         fbox;
    gint         reconnect;
    gint         playsound;
    gint         keepalive;
    GdkColor     promptcolor;
    GdkColor     sentcolor;
    GdkColor     wwvcolor;
    GdkColor     wxcolor;
    gchar       *f1command;
    gchar       *f2command;
    gchar       *f3command;
    gchar       *f4command;
    gchar       *f5command;
    gchar       *f6command;
    gchar       *f7command;
    gchar       *f8command;
} preferencestype;

void dircheck(void);
void loadpreferences(void);
void savepreferences(void);

#endif /* XDX_PREFERENCES_H */