~ubuntu-branches/ubuntu/trusty/aeolus/trusty

« back to all changes in this revision

Viewing changes to styles.h

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2007-05-14 22:18:54 UTC
  • Revision ID: james.westby@ubuntu.com-20070514221854-274rj6fqs5tegu7q
Tags: upstream-0.6.6+2
ImportĀ upstreamĀ versionĀ 0.6.6+2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (C) 2003 Fons Adriaensen <fons.adriaensen@skynet.be>
 
3
    
 
4
    This program is free software; you can redistribute it and/or modify
 
5
    it under the terms of the GNU General Public License as published by
 
6
    the Free Software Foundation; either version 2 of the License, or
 
7
    (at your option) any later version.
 
8
 
 
9
    This program is distributed in the hope that it will be useful,
 
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
    GNU General Public License for more details.
 
13
 
 
14
    You should have received a copy of the GNU General Public License
 
15
    along with this program; if not, write to the Free Software
 
16
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
17
*/
 
18
 
 
19
 
 
20
#ifndef __STYLES_H
 
21
#define __STYLES_H
 
22
 
 
23
 
 
24
#include "clxclient.h"
 
25
 
 
26
 
 
27
struct colors
 
28
{
 
29
    unsigned long   white;
 
30
    unsigned long   black;
 
31
    unsigned long   spla_bg;
 
32
    unsigned long   main_bg;
 
33
    unsigned long   main_ds;
 
34
    unsigned long   main_ls;
 
35
    unsigned long   text_bg;
 
36
    unsigned long   text_hl;
 
37
    unsigned long   text_ca;
 
38
    unsigned long   slid_kn;
 
39
    unsigned long   slid_mk;
 
40
    unsigned long   butt_bg0;
 
41
    unsigned long   butt_bg1;
 
42
    unsigned long   ife0_bg0;
 
43
    unsigned long   ife0_bg1;
 
44
    unsigned long   ife1_bg0;
 
45
    unsigned long   ife1_bg1;
 
46
    unsigned long   ife2_bg0;
 
47
    unsigned long   ife2_bg1;
 
48
    unsigned long   ife3_bg0;
 
49
    unsigned long   ife3_bg1;
 
50
    unsigned long   func_bg;
 
51
    unsigned long   func_gr;
 
52
    unsigned long   func_mk;
 
53
    unsigned long   midi_bg;
 
54
    unsigned long   midi_gr1;
 
55
    unsigned long   midi_gr2;
 
56
    unsigned long   midi_co1;
 
57
    unsigned long   midi_co2;
 
58
    unsigned long   midi_co3;
 
59
};
 
60
 
 
61
 
 
62
struct xftcolors
 
63
{
 
64
    XftColor   *white;
 
65
    XftColor   *black;
 
66
    XftColor   *spla_fg;
 
67
    XftColor   *main_fg;
 
68
    XftColor   *text_fg;
 
69
    XftColor   *butt_fg0;
 
70
    XftColor   *butt_fg1;
 
71
    XftColor   *ife0_fg0;
 
72
    XftColor   *ife0_fg1;
 
73
    XftColor   *ife1_fg0;
 
74
    XftColor   *ife1_fg1;
 
75
    XftColor   *ife2_fg0;
 
76
    XftColor   *ife2_fg1;
 
77
    XftColor   *ife3_fg0;
 
78
    XftColor   *ife3_fg1;
 
79
    XftColor   *func_d0;
 
80
    XftColor   *func_d1;
 
81
    XftColor   *func_d2;
 
82
    XftColor   *midi_fg;
 
83
};
 
84
 
 
85
 
 
86
struct fonts 
 
87
{
 
88
};
 
89
 
 
90
 
 
91
struct xftfonts 
 
92
{
 
93
    XftFont   *spla1;
 
94
    XftFont   *spla2;
 
95
    XftFont   *main;
 
96
    XftFont   *large;
 
97
    XftFont   *stops;
 
98
    XftFont   *button;
 
99
    XftFont   *scales;
 
100
    XftFont   *midimt;
 
101
};
 
102
 
 
103
 
 
104
extern struct colors    Colors;
 
105
extern struct fonts     Fonts;
 
106
extern struct xftcolors XftColors;
 
107
extern struct xftfonts  XftFonts;
 
108
extern X_scale_style    sca_dBsh, sca_dBsm, sca_dBlg, sca_Tatt, sca_Patt, sca_0_12, sca_Tu1, sca_Tu2, sca_Tu3, sca_Tu4;
 
109
extern X_scale_style    sca_azim, sca_difg, sca_size, sca_trev, sca_spos, sca_Tfr, sca_Tmd, sca_Swl;
 
110
extern X_button_style   ife0, ife1, ife2, ife3, but1, but2;
 
111
extern X_menuwin_style  menu1;
 
112
extern X_textln_style   text0, text1, text2, texti, textc;
 
113
extern X_slider_style   sli1; 
 
114
 
 
115
extern void init_styles (X_display *disp, X_resman *xrm);
 
116
 
 
117
 
 
118
#endif