/[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.7 - (hide annotations)
Tue Dec 18 22:50:12 2001 UTC (15 years, 11 months ago) by bertho
Branch: MAIN
Changes since 1.6: +3 -0 lines
File MIME type: text/plain
- Added upside-down imaging of the tree
- Added extra branch-box at the bottom/top of the trunk
- Added stripping of untagged revisions
1 bertho 1.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 bertho 1.4 #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 bertho 1.1 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 bertho 1.6 char *date_format;
48 bertho 1.1
49     color_t color_bg;
50 bertho 1.6 int box_shadow;
51 bertho 1.7 int upside_down;
52     int strip_untagged;
53 bertho 1.1
54     font_t tag_font;
55     color_t tag_color;
56    
57     font_t rev_font;
58     color_t rev_color;
59 bertho 1.6 color_t rev_bgcolor;
60 bertho 1.1 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 bertho 1.6 char *rev_text;
68     color_t rev_text_color;
69     font_t rev_text_font;
70 bertho 1.1
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 bertho 1.4 int branch_connect;
79     int branch_margin;
80 bertho 1.7 int branch_mirror;
81 bertho 1.1
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 bertho 1.2
94     int image_type;
95     int image_quality;
96 bertho 1.3
97     char *map_name;
98 bertho 1.5 char *map_branch_href;
99     char *map_branch_alt;
100     char *map_rev_href;
101     char *map_rev_alt;
102 bertho 1.6 char *map_diff_href;
103     char *map_diff_alt;
104 bertho 1.5
105     char *expand[10];
106 bertho 1.1 } config_t;
107    
108     extern config_t conf;
109    
110     #endif

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0