Version bump required programs.
[fvwm-themes.git] / themes / celticbow / colors.cpp
blobb74d7dfcc6949c744c999c5eed0ea19d3aa6c1f2
1 //# colors@plainb
3 /*
4 # ****************************************************************************
6 # I. FVWM Colorsets (0 to 9)
7 # I.1. Default Colorsets
8 # I.2. Window Decorations
9 # I.3. Menu Colorsets
11 # II. Module Colorsets (10 to 29)
12 # II.1. Common Colorsets
13 # II.2. Window List Module Colorsets
14 # II.3. Other Module Colorsets
15 # II.4. External Colorsets
17 # III. Application Colorsets (30 to 35)
19 # IV. Start/Stop functions
21 # ****************************************************************************
25 # ============================================================================
26 # I. FVWM Colorsets
27 # ============================================================================
29 # ----------------------
30 # I.1. Default Colorsets
31 # ----------------------
35 # for feedback windows (like geometry window and NoteMessage) and FvwmScroll
38 #if (DEF_STRENGTH == 3)
39 Colorset 0 fg TRAD_HIGH_LIGHT, bg TRAD_DEF_MID
40 #else
41 #if (DEF_STRENGTH == 1)
42 Colorset 0 fg TRAD_HIGH_DARK, bg TRAD_DEF_MID
43 #else
44 Colorset 0 fg TRAD_HIGH_LIGHT, bg TRAD_DEF_DARK
45 #endif
46 #endif
49 # -----------------------
50 # I.2. Window Decorations
51 # -----------------------
55 # The following colors are used in FvwmPager for the window colors
56 # and in a title bar of windows (shade/hilight colors, computed from
57 # the bg color, but might be specified directly by sh and hi).
58 # The title bar background is defined below using TitleStyle.
60 # window title, inactive and active
63 #if (DEF_STRENGTH == 3)
64 Colorset 1 fg DEF_LIGHT, bg DEF_MID, Plain, NoShape
65 #else
66 Colorset 1 fg DEF_DARK, bg DEF_MID, Plain, NoShape
67 #endif
68 #if (ACT_STRENGTH == 1)
69 Colorset 2 fg ACT_DARK, bg ACT_MID, Plain, NoShape
70 #else
71 Colorset 2 fg ACT_PALE, bg ACT_MID, Plain, NoShape
72 #endif
74 //# window borders, inactive and active
76 Colorset 3 fg DEF_FORE, bg DEF_MID, Plain, NoShape
77 Colorset 4 fg ACT_FORE, bg ACT_MID, Plain, NoShape
79 DestroyFunc FuncFvwmDecorBackground
80 AddToFunc FuncFvwmDecorBackground
81 #if (ACT_STRENGTH == 1)
82 + I AddTitleStyle ActiveUp (VGradient 64 2 ACT_PALE 40 ACT_MID 60 ACT_DARK)
83 #else
84 #if (ACT_STRENGTH == 3)
85 + I AddTitleStyle ActiveUp (VGradient 64 2 ACT_LIGHT 40 ACT_MID 60 ACT_DARK)
86 #else
87 + I AddTitleStyle ActiveUp (VGradient 64 2 ACT_LIGHT 40 ACT_MID 60 ACT_DARK)
88 #endif
89 #endif
90 + I AddTitleStyle ActiveUp (Pixmap decor/knots.png -- left)
91 + I AddTitleStyle ActiveUp (Pixmap decor/knots.png -- right)
92 #if (ACT_STRENGTH == 1)
93 + I AddTitleStyle ActiveDown (VGradient 64 2 ACT_DARK 60 ACT_MID 40 ACT_PALE)
94 #else
95 + I AddTitleStyle ActiveDown (VGradient 64 2 ACT_DARK 60 ACT_MID 40 ACT_LIGHT)
96 #endif
97 #if (DEF_STRENGTH == 1)
98 + I AddTitleStyle Inactive (VGradient 64 2 DEF_PALE 40 DEF_MID 60 DEF_DARK)
99 + I AddTitleStyle Inactive (TiledPixmap decor/knots.png)
100 #else
101 #if (DEF_STRENGTH == 3)
102 + I AddTitleStyle Inactive (VGradient 64 2 DEF_LIGHT 40 DEF_MID 60 DEF_DARK)
103 + I AddTitleStyle Inactive (Pixmap decor/knots.png -- left)
104 + I AddTitleStyle Inactive (Pixmap decor/knots.png -- right)
105 #else
106 + I AddTitleStyle Inactive (VGradient 64 2 DEF_LIGHT 40 DEF_MID 60 DEF_DARK)
107 + I AddTitleStyle Inactive (TiledPixmap decor/knots.png)
108 #endif
109 #endif
110 //+ I AddTitleStyle ToggledActiveUp (Solid ACT_MID -- Raised)
111 //+ I AddTitleStyle ToggledActiveDown (Solid ACT_MID -- Raised)
112 //+ I AddTitleStyle ToggledInactive (Solid DEF_MID -- Raised)
113 #if (ACT_STRENGTH == 1)
114 + I ButtonStyle All ActiveUp (VGradient 64 2 ACT_PALE 40 ACT_MID 60 ACT_DARK -- Flat)
115 #else
116 + I ButtonStyle All ActiveUp (VGradient 64 2 ACT_LIGHT 40 ACT_MID 60 ACT_DARK -- Flat)
117 #endif
118 #if (ACT_STRENGTH == 1)
119 + I ButtonStyle All ActiveDown (VGradient 64 2 ACT_DARK 60 ACT_MID 40 ACT_PALE -- Raised)
120 #else
121 + I ButtonStyle All ActiveDown (VGradient 64 2 ACT_DARK 60 ACT_MID 40 ACT_LIGHT -- Raised)
122 #endif
123 #if (DEF_STRENGTH == 1)
124 + I ButtonStyle All Inactive (VGradient 64 2 DEF_PALE 40 DEF_MID 60 DEF_DARK -- flat)
125 #else
126 + I ButtonStyle All Inactive (VGradient 64 2 DEF_LIGHT 40 DEF_MID 60 DEF_DARK -- flat)
127 #endif
130 # -------------------
131 # I.3. Menu Colorsets
132 # -------------------
135 //# inactive menu item fg+bg and menu face if any
137 #if (DEF_STRENGTH == 3)
138 Colorset 5 fg DEF_PALE, bg DEF_MID, DGradient 64 ACT_MID DEF_MID
139 #else
140 Colorset 5 fg DEF_FORE, bg DEF_MID, DGradient 64 3 ACT_LIGHT 30 ACT_MID 60 DEF_MID 30 DEF_LIGHT
141 #endif
143 //# active menu item fg+bg
145 #if (ACT_STRENGTH == 3)
146 Colorset 6 fg ACT_PALE, bg ACT_MID, Plain, NoShape
147 #else
148 Colorset 6 fg ACT_FORE, bg ACT_LIGHT, Plain, NoShape
149 #endif
151 //# greyed menu item fg
153 Colorset 7 fg DEF_LIGHT, bg DEF_MID, Plain, NoShape
156 # -------------------------------------------------
157 # Colorsets 8 and 9 are reserved for the future use.
159 # ============================================================================
160 # II. Module Colorsets
161 # ============================================================================
163 # ----------------------
164 # II.1. Common Colorsets
165 # ----------------------
167 # default for modules
168 # For FvwmButtons, FvwmPager, can be also used for FvwmIconMan, FvwmIconBox.
171 Colorset 10 fg DEF_PALE, bg DEF_DARK, Plain, NoShape
173 //# default hilight for modules
174 //# For hilighting a part of a button bar (some swallowed apps for example).
176 Colorset 11 fg HIGH_DARK, bg HIGH_LIGHT, Plain, NoShape
178 //# special or funny: a gradient or a pixmap
179 //# May be used in certain FvwmButtons, FvwmIconMan, FvwmIconBox.
181 #if (DEF_STRENGTH == 3)
182 Colorset 12 fg DEF_PALE, bg DEF_MID, \
183 VGradient 20 DEF_MID DEF_DARK, NoShape
184 #else
185 Colorset 12 fg DEF_FORE, bg DEF_MID, \
186 VGradient 20 DEF_MID DEF_LIGHT, NoShape
187 #endif
189 //# swallowed window: the hilight and shadow colors should be defined
190 //# (-hd of xclock and -hl of xload use sh, and -hl of xclock uses hi)
192 Colorset 13 fg DEF_PALE, bg DEF_DARK, hi DEF_FORE, sh DEF_LIGHT, \
193 Plain, NoShape
195 //# default #2
196 //# FvwmPager or to get more colors in FvwmButtons, can be set to 10.
198 Colorset 14 fg DEF_PALE, bg DEF_DARK, Plain, NoShape
200 //# default hilight #2
201 //# FvwmPager or to get more colors in FvwmButtons, can be set to 11.
203 Colorset 15 fg HIGH_PALE, bg HIGH_DARK, Plain, NoShape
205 //# tips/balloons (TaskBar and FvwmPager)
207 Colorset 16 fg DEF_FORE, bg DEF_LIGHT, Plain, NoShape
210 # ----------------------------------
211 # II.2. Window List Module Colorsets
212 # ----------------------------------
215 //# standard item
216 #if (DEF_STRENGTH == 3)
217 Colorset 17 fg DEF_PALE, bg DEF_MID, Plain, NoShape
218 #else
219 Colorset 17 fg DEF_FORE, bg DEF_MID, Plain, NoShape
220 #endif
222 //# active item
223 #if (ACT_STRENGTH == 3)
224 Colorset 18 fg ACT_PALE, bg ACT_MID, Plain, NoShape
225 #else
226 Colorset 18 fg ACT_FORE, bg ACT_MID, Plain, NoShape
227 #endif
229 //# iconified item
230 Colorset 19 fg DEF_PALE, bg DEF_DARK, Plain, NoShape
232 //# pointed item
233 #if (ACT_STRENGTH == 3)
234 Colorset 20 fg HIGH_LIGHT, bg ACT_MID, Plain, NoShape
235 #else
236 #if (ACT_STRENGTH == 1)
237 Colorset 20 fg HIGH_DARK, bg ACT_MID, Plain, NoShape
238 #else
239 Colorset 20 fg HIGH_LIGHT, bg ACT_DARK, Plain, NoShape
240 #endif
241 #endif
244 # ----------------------------
245 # II.3. Other Module Colorsets
246 # ----------------------------
249 //# FvwmIdent
251 #if (DEF_STRENGTH == 3)
252 Colorset 21 fg DEF_LIGHT, bg DEF_DARK, Plain, NoShape
253 #else
254 Colorset 21 fg DEF_FORE, bg DEF_LIGHT, Plain, NoShape
255 #endif
257 //# FvwmConsole
259 Colorset 22 fg DEF_PALE, bg DEF_DARK, Plain, NoShape
261 //# transparent
262 //#*FvwmTheme: Colorset 23 fg $[fg.cs10], bg $[bg.cs10], Transparent, Plain, NoShape
265 # ------------------------
266 # II.4. External Colorsets
267 # ------------------------
271 # ----------------------------
272 # reserved for modules@: 24-25
274 # ----------------------------------
275 # reserved for the future use: 26-28
277 # temporary colorset: 29, has no static definition, used dynamically
281 # ============================================================================
282 # III. Application Colorsets
283 # ============================================================================
286 //# regular terminal (xterm, rxvt, Eterm)
288 Colorset 30 fg black, bg GhostWhite, Plain, NoShape
290 //# admin terminal (su xterm)
292 Colorset 31 fg HIGH_FORE, bg HIGH_PALE, Plain, NoShape
294 //# remote terminal (ssh, telnet)
296 Colorset 32 fg DEF_PALE, bg DEF_DARK, Plain, NoShape
298 //# viewer terminal (man, less, tail -f)
300 Colorset 33 fg DEF_FORE, bg DEF_PALE, Plain, NoShape
302 //# application run in the terminal, text editor using ft-xrdb
304 Colorset 34 fg DEF_FORE, bg DEF_PALE, Plain, NoShape
306 //# dialog main background (FvwmScript, FvwmForm, xmessage, ft-xrdb)
308 Colorset 35 fg DEF_FORE, bg DEF_MID, Plain, NoShape
310 //# dialog text area (FvwmScript, FvwmForm, xmessage, ft-xrdb)
312 Colorset 36 fg DEF_FORE, bg DEF_PALE, Plain, NoShape
315 # --------------------------------------------------
316 # Colorsets 37 to 39 are reserved for the future use.
318 # ============================================================================
319 # IV. Start/Stop Functions:
320 # ============================================================================
322 # These functions are executed when you enter (Start) and when you leave
323 # (Stop) this component. For example, in colors@blackbox they are used to
324 # set/unset a good window "transparency" style ParentalRelativity/Opacity;
325 # in colors@cde and colors@luthien these functions are used for more things.
328 DestroyFunc FuncFvwmStartColors
329 AddToFunc FuncFvwmStartColors
331 DestroyFunc FuncFvwmStopColors
332 AddToFunc FuncFvwmStopColors