/[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.3 - (show annotations)
Mon Feb 26 00:09:20 2001 UTC (16 years, 7 months ago) by bertho
Branch: MAIN
Changes since 1.2: +4 -0 lines
File MIME type: text/plain
- Fixed the recursion problem so that branches of branches are properly placed.
- Fixed a lonely '+' in an expression.
- Started to make an imagemap functionality (not very functional yet)
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 typedef gdFontPtr font_t;
26
27 typedef struct __color_t
28 {
29 int r;
30 int g;
31 int b;
32 int id;
33 } color_t;
34
35 typedef struct __config_t
36 {
37 char *cmd_rlog;
38 char *cvsroot;
39 char *cvsmodule;
40
41 color_t color_bg;
42
43 font_t tag_font;
44 color_t tag_color;
45
46 font_t rev_font;
47 color_t rev_color;
48 int rev_separator;
49 int rev_minline;
50 int rev_maxline;
51 int rev_lspace;
52 int rev_rspace;
53 int rev_tspace;
54 int rev_bspace;
55
56 font_t branch_font;
57 color_t branch_color;
58 color_t branch_bgcolor;
59 int branch_lspace;
60 int branch_rspace;
61 int branch_tspace;
62 int branch_bspace;
63 int branch_separator;
64
65 char *title;
66 int title_x;
67 int title_y;
68 font_t title_font;
69 int title_align;
70 color_t title_color;
71
72 int margin_top;
73 int margin_bottom;
74 int margin_left;
75 int margin_right;
76
77 int image_type;
78 int image_quality;
79
80 char *map_name;
81 char *map_branch;
82 char *map_rev;
83 } config_t;
84
85 extern config_t conf;
86
87 #endif

  ViewVC Help
Powered by ViewVC 1.1.0 with CvsGraph 1.7.0