/[CvsGraph]/cvsgraph/cvsgraph.h
ViewVC logotype

Annotate of /cvsgraph/cvsgraph.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations)
Wed Dec 19 18:10:58 2001 UTC (16 years ago) by bertho
Branch: MAIN
Changes since 1.7: +1 -1 lines
File MIME type: text/plain
- Updated the docu a bit
- Renamed the branch_mirror to branch_dupbox which is more appropriate
- strip_untagged displays now draw dashed connector lines to indicate a jump
1 /*
2 * CvsGraph graphical representation generator of brances and revisions
3 * of a file in cvs/rcs.
4 *
5 * Copyright (C) 2001 B. Stultiens
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22 #ifndef __CVSGRAPH_H
23 #define __CVSGRAPH_H
24
25 #define DEBUG_CONF_LEX 0x01
26 #define DEBUG_CONF_YACC 0x02
27 #define DEBUG_RCS_LEX 0x04
28 #define DEBUG_RCS_YACC 0x08
29 #define DEBUG_RCS_FILE 0x10
30
31 extern int debuglevel;
32
33 typedef gdFontPtr font_t;
34
35 typedef struct __color_t
36 {
37 int r;
38 int g;
39 int b;
40 int id;
41 } color_t;
42
43 typedef struct __config_t
44 {
45 char *cvsroot;
46 char *cvsmodule;
47 char *date_format;
48
49 color_t color_bg;
50 int box_shadow;
51 int upside_down;
52 int strip_untagged;
53
54 font_t tag_font;
55 color_t tag_color;
56
57 font_t rev_font;
58 color_t rev_color;
59 color_t rev_bgcolor;
60 int rev_separator;
61 int rev_minline;
62 int rev_maxline;
63 int rev_lspace;
64 int rev_rspace;
65 int rev_tspace;
66 int rev_bspace;
67 char *rev_text;
68 color_t rev_text_color;
69 font_t rev_text_font;
70
71 font_t branch_font;
72 color_t branch_color;
73 color_t branch_bgcolor;
74 int branch_lspace;
75 int branch_rspace;
76 int branch_tspace;
77 int branch_bspace;
78 int branch_connect;
79 int branch_margin;
80 int branch_dupbox;
81
82 char *title;
83 int title_x;
84 int title_y;
85 font_t title_font;
86 int title_align;
87 color_t title_color;
88
89 int margin_top;
90 int margin_bottom;
91 int margin_left;
92 int margin_right;
93
94 int image_type;
95 int image_quality;
96
97 char *map_name;
98 char *map_branch_href;
99 char *map_branch_alt;
100 char *map_rev_href;
101 char *map_rev_alt;
102 char *map_diff_href;
103 char *map_diff_alt;
104
105 char *expand[10];
106 } config_t;
107
108 extern config_t conf;
109
110 #endif

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0