/[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.5 - (show annotations)
Sun Mar 4 03:19:18 2001 UTC (16 years, 9 months ago) by bertho
Branch: MAIN
CVS Tags: REL_1_1_0
Changes since 1.4: +6 -2 lines
File MIME type: text/plain
Basic imagemap stuff done. The expansion code needs some work to allow
for conditional expansion.
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
48 color_t color_bg;
49
50 font_t tag_font;
51 color_t tag_color;
52
53 font_t rev_font;
54 color_t rev_color;
55 int rev_separator;
56 int rev_minline;
57 int rev_maxline;
58 int rev_lspace;
59 int rev_rspace;
60 int rev_tspace;
61 int rev_bspace;
62
63 font_t branch_font;
64 color_t branch_color;
65 color_t branch_bgcolor;
66 int branch_lspace;
67 int branch_rspace;
68 int branch_tspace;
69 int branch_bspace;
70 int branch_connect;
71 int branch_margin;
72
73 char *title;
74 int title_x;
75 int title_y;
76 font_t title_font;
77 int title_align;
78 color_t title_color;
79
80 int margin_top;
81 int margin_bottom;
82 int margin_left;
83 int margin_right;
84
85 int image_type;
86 int image_quality;
87
88 char *map_name;
89 char *map_branch_href;
90 char *map_branch_alt;
91 char *map_rev_href;
92 char *map_rev_alt;
93
94 char *expand[10];
95 } config_t;
96
97 extern config_t conf;
98
99 #endif

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0