~ubuntu-branches/ubuntu/lucid/boinc/lucid

« back to all changes in this revision

Viewing changes to doc/manager_skin.php

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2008-05-31 08:02:47 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080531080247-4ce890lp2rc768cr
Tags: 6.2.7-1
[ Frank S. Thomas ]
* New upstream release.
  - BOINC Manager: Redraw disk usage charts immediately after connecting to
    a (different) client. (closes: 463823)
* debian/copyright:
  - Added the instructions from debian/README.Debian-source about how
    repackaged BOINC tarballs can be reproduced because DevRef now
    recommends to put this here instead of in the afore-mentioned file.
  - Updated for the new release.
* Removed the obsolete debian/README.Debian-source.
* For consistency upstream renamed the core client and the command tool
  ("boinc_client" to "boinc" and "boinc_cmd" to "boinccmd"). Done the same
  in all packages and created symlinks with the old names for the binaries
  and man pages. Also added an entry in debian/boinc-client.NEWS explaining
  this change.
* debian/rules: Do not list Makefile.ins in the clean target individually,
  just remove all that can be found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
require_once("docutil.php");
3
 
page_head("Creating a skin for the BOINC Manager");
4
 
echo "
5
 
This document describes how to customize the appearance
6
 
of the BOINC Manager simple GUI (available in 5.8+).
7
 
 
8
 
<h3>Contents</h3>
9
 
<ul>
10
 
    <li><a href=#Skin>Skins</a>
11
 
        <ul>
12
 
            <li><a href=\"#Localization\">Localization</a>
13
 
            <li><a href=\"#Layout\">Layout</a>
14
 
            <li><a href=\"#Samples\">Samples</a>
15
 
        </ul>
16
 
    <li><a href=\"#SkinCollections\">Skin Collections</a>
17
 
        <ul>
18
 
            <li><a href=\"#Simple\">Simple</a>
19
 
            <li><a href=\"#Advanced\">Advanced</a>
20
 
            <li><a href=\"#Wizards\">Wizards</a>
21
 
        </ul>
22
 
    <li><a href=\"#SkinBasicElements\">Skin Basic Elements</a>
23
 
        <ul>
24
 
            <li><a href=\"#Image\">Image</a>
25
 
            <li><a href=\"#Icon\">Icon</a>
26
 
            <li><a href=\"#SimpleTab\">Simple Tab</a>
27
 
            <li><a href=\"#SimpleLink\">Simple Link</a>
28
 
            <li><a href=\"#SimpleButton\">Simple Button</a>
29
 
        </ul>
30
 
    <li> <a href=#stencils>Stencils</a>
31
 
</ul>
32
 
 
33
 
<h3><a name=Skin>Skins</a></h3>
34
 
<p>
35
 
Skins allow you to customize how the BOINC Manager looks.
36
 
<p>
37
 
A skin.xml file needs to be created for any customized skin.
38
 
This document describes the layout of the skin.xml file.
39
 
<p>
40
 
A skin.xml file should be contained within its
41
 
own directory under the 'skins' directory.
42
 
<p>
43
 
An example would look like this:
44
 
"; block_start(); echo "
45
 
+ /BOINC
46
 
|
47
 
+---+ /Skins
48
 
    |
49
 
    +---+ /Custom Skin
50
 
        |
51
 
        +--- skin.xml
52
 
"; block_end(); echo "
53
 
<p>
54
 
 
55
 
<h4><a name=\"Localization\">Localization</a></h4>
56
 
<p>
57
 
BOINC Manager attempts to find and use localized skin references.
58
 
It falls back to a suitable language
59
 
and if none can be found it'll fall back to English.
60
 
Overriding the
61
 
language being searched for can be done in the Advanced GUI's option dialog.
62
 
<p>
63
 
If the prefered language is 'pt_BR' and it cannot be found then the next language searched for is 'pt'.
64
 
If 'pt cannot be found then the manager resorts to 'en'.
65
 
 
66
 
<h4><a name=\"Layout\">Layout</a></h4>
67
 
<p>
68
 
The skin.xml file is described as follows:
69
 
"; block_start(); echo "
70
 
&lt;skin&gt;
71
 
    &lt;pt_BR&gt;
72
 
        &lt;<a href=\"#Simple\">simple</a> /&gt;
73
 
        [ &lt;<a href=\"#Advanced\">advanced</a> /&gt; ]
74
 
        [ &lt;<a href=\"#Wizards\">wizards</a> /&gt; ]
75
 
    &lt;/pt_BR&gt;
76
 
    &lt;pt&gt;
77
 
        &lt;<a href=\"#Simple\">simple</a> /&gt;
78
 
        [ &lt;<a href=\"#Advanced\">advanced</a> /&gt; ]
79
 
        [ &lt;<a href=\"#Wizards\">wizards</a> /&gt; ]
80
 
    &lt;/pt&gt;
81
 
    &lt;en&gt;
82
 
        &lt;<a href=\"#Simple\">simple</a> /&gt;
83
 
        [ &lt;<a href=\"#Advanced\">advanced</a> /&gt; ]
84
 
        [ &lt;<a href=\"#Wizards\">wizards</a> /&gt; ]
85
 
    &lt;/en&gt;
86
 
&lt;/skin&gt;
87
 
"; block_end(); echo "
88
 
<p>
89
 
Both the <a href=\"#Advanced\">advanced</a> and <a href=\"#Wizards\">wizards</a> collections are optional.
90
 
<p>
91
 
 
92
 
<h4><a name=\"Sample\">Sample</a></h4>
93
 
<p>
94
 
The World Community Grid skin can be found <a href=http://boinc.berkeley.edu/trac/browser/trunk/boinc/clientgui/skins/World%20Community%20Grid>here</a>.
95
 
<p>
96
 
 
97
 
<h3><a name=\"SkinCollections\">Skin Collections</a></h3>
98
 
 
99
 
<h4><a name=\"Simple\">Simple</a></h4>
100
 
<p>
101
 
The Simple collection contains all the elements need to construct the Simple GUI.
102
 
<p>
103
 
The Simple collection contains the following elements:
104
 
<table width=100%>
105
 
  <tr>
106
 
    <th>Name</th>
107
 
    <th>Type</th>
108
 
    <th>Image Height</th>
109
 
    <th>Image Width</th>
110
 
    <th>Notes</th>
111
 
  </tr>
112
 
  <tr>
113
 
    <td>background_image</td>
114
 
    <td><a href=\"#Image\">Image</a></td>
115
 
    <td>540px</td>
116
 
    <td>410px</td>
117
 
    <td>
118
 
      Used as the Simple GUI background image.<br>
119
 
      A background color should be specified for this element.
120
 
    </td>
121
 
  <tr>
122
 
  <tr>
123
 
    <td>spacer_image</td>
124
 
    <td><a href=\"#Image\">Image</a></td>
125
 
    <td>11px</td>
126
 
    <td>2px</td>
127
 
    <td>Used to seperate the links on the bottom of the Simple GUI</td>
128
 
  <tr>
129
 
  <tr>
130
 
    <td>static_line_color</td>
131
 
    <td>String</td>
132
 
    <td></td>
133
 
    <td></td>
134
 
    <td>The color is represented as an RGB value with the token being ':'</td>
135
 
  <tr>
136
 
  <tr>
137
 
    <td>state_indicator_background_image</td>
138
 
    <td><a href=\"#Image\">Image</a></td>
139
 
    <td>35px</td>
140
 
    <td>264px</td>
141
 
    <td></td>
142
 
  <tr>
143
 
  <tr>
144
 
    <td>connecting_indicator_image</td>
145
 
    <td><a href=\"#Image\">Image</a></td>
146
 
    <td>15px</td>
147
 
    <td>14px</td>
148
 
    <td></td>
149
 
  <tr>
150
 
  <tr>
151
 
    <td>error_indicator_image</td>
152
 
    <td><a href=\"#Image\">Image</a></td>
153
 
    <td>20px</td>
154
 
    <td>69px</td>
155
 
    <td></td>
156
 
  <tr>
157
 
  <tr>
158
 
    <td>workunit_active_tab</td>
159
 
    <td><a href=\"#SimpleTab\">Simple Tab</a></td>
160
 
    <td>16px</td>
161
 
    <td>16px</td>
162
 
    <td></td>
163
 
  <tr>
164
 
  <tr>
165
 
    <td>workunit_suspended_tab</td>
166
 
    <td><a href=\"#SimpleTab\">Simple Tab</a></td>
167
 
    <td>16px</td>
168
 
    <td>16px</td>
169
 
    <td></td>
170
 
  <tr>
171
 
  <tr>
172
 
    <td>workunit_tab_area_background_image</td>
173
 
    <td><a href=\"#Image\">Image</a></td>
174
 
    <td>24px</td>
175
 
    <td>343px</td>
176
 
    <td></td>
177
 
  <tr>
178
 
  <tr>
179
 
    <td>workunit_area_background_image</td>
180
 
    <td><a href=\"#Image\">Image</a></td>
181
 
    <td>314px</td>
182
 
    <td>343px</td>
183
 
    <td></td>
184
 
  <tr>
185
 
  <tr>
186
 
    <td>workunit_animation_background_image</td>
187
 
    <td><a href=\"#Image\">Image</a></td>
188
 
    <td>146px</td>
189
 
    <td>294px</td>
190
 
    <td></td>
191
 
  <tr>
192
 
  <tr>
193
 
    <td>workunit_animation_image</td>
194
 
    <td><a href=\"#Image\">Image</a></td>
195
 
    <td>126px</td>
196
 
    <td>290px</td>
197
 
    <td></td>
198
 
  <tr>
199
 
  <tr>
200
 
    <td>workunit_gauge_background_image</td>
201
 
    <td><a href=\"#Image\">Image</a></td>
202
 
    <td>18px</td>
203
 
    <td>258px</td>
204
 
    <td></td>
205
 
  <tr>
206
 
  <tr>
207
 
    <td>workunit_gauge_progress_indicator_image</td>
208
 
    <td><a href=\"#Image\">Image</a></td>
209
 
    <td>7px</td>
210
 
    <td>8px</td>
211
 
    <td></td>
212
 
  <tr>
213
 
  <tr>
214
 
    <td>project_area_background_image</td>
215
 
    <td><a href=\"#Image\">Image</a></td>
216
 
    <td>113px</td>
217
 
    <td>343px</td>
218
 
    <td></td>
219
 
  <tr>
220
 
  <tr>
221
 
    <td>project_image</td>
222
 
    <td><a href=\"#Image\">Image</a></td>
223
 
    <td>40px</td>
224
 
    <td>40px</td>
225
 
    <td>Default image to display for a project that does not currently have an image defined.</td>
226
 
  <tr>
227
 
  <tr>
228
 
    <td>attach_project_button</td>
229
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
230
 
    <td>18px</td>
231
 
    <td>81px</td>
232
 
    <td></td>
233
 
  <tr>
234
 
  <tr>
235
 
    <td>right_arrow_button</td>
236
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
237
 
    <td>20px</td>
238
 
    <td>20px</td>
239
 
    <td></td>
240
 
  <tr>
241
 
  <tr>
242
 
    <td>left_arrow_button</td>
243
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
244
 
    <td>20px</td>
245
 
    <td>20px</td>
246
 
    <td></td>
247
 
  <tr>
248
 
  <tr>
249
 
    <td>save_button</td>
250
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
251
 
    <td>16px</td>
252
 
    <td>57px</td>
253
 
    <td></td>
254
 
  <tr>
255
 
  <tr>
256
 
    <td>cancel_button</td>
257
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
258
 
    <td>16px</td>
259
 
    <td>57px</td>
260
 
    <td></td>
261
 
  <tr>
262
 
  <tr>
263
 
    <td>close_button</td>
264
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
265
 
    <td>16px</td>
266
 
    <td>57px</td>
267
 
    <td></td>
268
 
  <tr>
269
 
  <tr>
270
 
    <td>copy_all_button</td>
271
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
272
 
    <td>18pxpx</td>
273
 
    <td>85px</td>
274
 
    <td></td>
275
 
  <tr>
276
 
  <tr>
277
 
    <td>copy_button</td>
278
 
    <td><a href=\"#SimpleButton\">Simple Button</a></td>
279
 
    <td>18px</td>
280
 
    <td>85px</td>
281
 
    <td></td>
282
 
  <tr>
283
 
  <tr>
284
 
    <td>messages_link_image</td>
285
 
    <td><a href=\"#SimpleLink\">Simple Link</a></td>
286
 
    <td>20px</td>
287
 
    <td>70px</td>
288
 
    <td></td>
289
 
  <tr>
290
 
  <tr>
291
 
    <td>messages_alert_link_image</td>
292
 
    <td><a href=\"#SimpleLink\">Simple Link</a></td>
293
 
    <td>20px</td>
294
 
    <td>70px</td>
295
 
    <td></td>
296
 
  <tr>
297
 
  <tr>
298
 
    <td>suspend_link_image</td>
299
 
    <td><a href=\"#SimpleLink\">Simple Link</a></td>
300
 
    <td>20px</td>
301
 
    <td>59px</td>
302
 
    <td></td>
303
 
  <tr>
304
 
  <tr>
305
 
    <td>resume_link_image</td>
306
 
    <td><a href=\"#SimpleLink\">Simple Link</a></td>
307
 
    <td>20px</td>
308
 
    <td>59px</td>
309
 
    <td></td>
310
 
  <tr>
311
 
  <tr>
312
 
    <td>preferences_link_image</td>
313
 
    <td><a href=\"#SimpleLink\">Simple Link</a></td>
314
 
    <td>20px</td>
315
 
    <td>81px</td>
316
 
    <td></td>
317
 
  <tr>
318
 
  <tr>
319
 
    <td>advanced_link_image</td>
320
 
    <td><a href=\"#SimpleLink\">Simple Link</a></td>
321
 
    <td>20px</td>
322
 
    <td>101px</td>
323
 
    <td></td>
324
 
  <tr>
325
 
  <tr>
326
 
    <td>dialog_background_image</td>
327
 
    <td><a href=\"#Image\">Image</a></td>
328
 
    <td>600px</td>
329
 
    <td>800px</td>
330
 
    <td>
331
 
      The dialogs height and width change according to the configuraton of the computer 
332
 
      so the center of the image is what is drawn on to the dialog.
333
 
    </td>
334
 
  <tr>
335
 
</table>
336
 
<p>
337
 
The Simple collection is described as follows:
338
 
"; block_start(); echo "
339
 
&lt;simple&gt;
340
 
    &lt;background_image /&gt;
341
 
    &lt;spacer_image /&gt;
342
 
    ...
343
 
&lt;/simple&gt;
344
 
"; block_end(); echo "
345
 
<p>
346
 
 
347
 
 
348
 
<h4><a name=\"Advanced\">Advanced</a></h4>
349
 
<p>
350
 
The Advanced collection contains all the elements need to construct the Advanced GUI.
351
 
<p>
352
 
The Advanced collection contains the following elements:
353
 
<table width=100%>
354
 
  <tr>
355
 
    <th>Name</th>
356
 
    <th>Type</th>
357
 
    <th>Image Height</th>
358
 
    <th>Image Width</th>
359
 
    <th>Notes</th>
360
 
  </tr>
361
 
  <tr>
362
 
    <td>application_name</td>
363
 
    <td>String</td>
364
 
    <td></td>
365
 
    <td></td>
366
 
    <td>Displayed in title bar.</td>
367
 
  <tr>
368
 
  <tr>
369
 
    <td>application_icon</td>
370
 
    <td><a href=\"#Icon\">Icon</a></td>
371
 
    <td>16px</td>
372
 
    <td>16px</td>
373
 
    <td>Taskbar icon.</td>
374
 
  <tr>
375
 
  <tr>
376
 
    <td>application_disconnected_icon</td>
377
 
    <td><a href=\"#Icon\">Icon</a></td>
378
 
    <td>16px</td>
379
 
    <td>16px</td>
380
 
    <td>Taskbar icon when disconnected.</td>
381
 
  <tr>
382
 
  <tr>
383
 
    <td>application_snooze_icon</td>
384
 
    <td><a href=\"#Icon\">Icon</a></td>
385
 
    <td>16px</td>
386
 
    <td>16px</td>
387
 
    <td>Taskbar icon when snoozing.</td>
388
 
  <tr>
389
 
  <tr>
390
 
    <td>application_logo</td>
391
 
    <td>String</td>
392
 
    <td>50px</td>
393
 
    <td>50px</td>
394
 
    <td>Application logo that appears in the about box.</td>
395
 
  <tr>
396
 
  <tr>
397
 
    <td>company_name</td>
398
 
    <td>String</td>
399
 
    <td></td>
400
 
    <td></td>
401
 
    <td>Company associated with the release of the client software package.</td>
402
 
  <tr>
403
 
  <tr>
404
 
    <td>company_website</td>
405
 
    <td>String</td>
406
 
    <td></td>
407
 
    <td></td>
408
 
    <td>Company website.</td>
409
 
  <tr>
410
 
  <tr>
411
 
    <td>project_name</td>
412
 
    <td>String</td>
413
 
    <td></td>
414
 
    <td></td>
415
 
    <td>Shorter version of the application name, or a specific project who sponsored the client package.</td>
416
 
  <tr>
417
 
  <tr>
418
 
    <td>open_tab</td>
419
 
    <td>Number</td>
420
 
    <td></td>
421
 
    <td></td>
422
 
    <td>Which tab to open by default in the Advanced GUI. A value of '0' means open the last tab used.</td>
423
 
  <tr>
424
 
  <tr>
425
 
    <td>exit_message</td>
426
 
    <td>String</td>
427
 
    <td></td>
428
 
    <td></td>
429
 
    <td>What message should be sent to the user when they close BOINC manager.</td>
430
 
  <tr>
431
 
</table>
432
 
<p>
433
 
The Advanced collection is described as follows:
434
 
"; block_start(); echo "
435
 
&lt;advanced&gt;
436
 
    &lt;application_name /&gt;
437
 
    &lt;application_icon /&gt;
438
 
    ...
439
 
&lt;/advanced&gt;
440
 
"; block_end(); echo "
441
 
<p>
442
 
 
443
 
 
444
 
<h4><a name=\"Wizards\">Wizards</a></h4>
445
 
<p>
446
 
The Wizards collection consists of two elements which are broken out into the attach 
447
 
to project wizard and the attach to account manager wizard.
448
 
<p>
449
 
The attach to project element is descibed like this:
450
 
"; block_start(); echo "
451
 
&lt;attach_to_project&gt;
452
 
    &lt;title&gt;Attach to Project&lt;/title&gt;
453
 
    &lt;logo&gt;graphic/logo.png&lt;/logo&gt;
454
 
&lt;/attach_to_project&gt;
455
 
"; block_end(); echo "
456
 
<p>
457
 
The title is displayed in the wizard's title bar.
458
 
<p>
459
 
The logo is played on each wizard page and should have a height of 280px and a width of 115px. 
460
 
logos can be any of the following types: PNG, JPG, GIF, and BMP. The logo location should be 
461
 
specified as a path relative to the skin.xml description file. The path seperator should be a 
462
 
'/' for all platforms.
463
 
<p>
464
 
The attach to account manager element is descibed like this:
465
 
"; block_start(); echo "
466
 
&lt;attach_to_account_manager&gt;
467
 
    &lt;title&gt;Attach to Account Manager&lt;/title&gt;
468
 
    &lt;logo&gt;graphic/logo.png&lt;/logo&gt;
469
 
    &lt;account_info_message&gt;&lt;/account_info_message&gt;
470
 
&lt;/attach_to_account_manager&gt;
471
 
"; block_end(); echo "
472
 
<p>
473
 
The title is displayed in the wizard's title bar.
474
 
<p>
475
 
The logo is played on each wizard page and should have a height of 280px and a width of 115px. 
476
 
logos can be any of the following types: PNG, JPG, GIF, and BMP. The logo location should be 
477
 
specified as a path relative to the skin.xml description file. The path seperator should be a 
478
 
'/' for all platforms.
479
 
<p>
480
 
The account_info_message is text that is displayed when the user is asked for 
481
 
username/email address and password information for the account manager.
482
 
<p>
483
 
The Wizards collection is described as follows:
484
 
"; block_start(); echo "
485
 
&lt;wizards&gt;
486
 
    &lt;attach_to_project /&gt;
487
 
    &lt;attach_to_account_manager /&gt;
488
 
    ...
489
 
&lt;/wizards&gt;
490
 
"; block_end(); echo "
491
 
<p>
492
 
 
493
 
 
494
 
<h3><a name=\"SkinBasicElements\">Skin Basic Elements</a></h3>
495
 
 
496
 
<h4><a name=\"Image\">Image</a></h4>
497
 
<p>
498
 
Images are used for backgrounds and miscellaneous visual elements.
499
 
<p>
500
 
Images are described as follows:
501
 
"; block_start(); echo "
502
 
&lt;image&gt;
503
 
    &lt;imagesrc&gt;graphics/image.jpg&lt;/imagesrc&gt;
504
 
    [ &lt;background_color&gt;255:0:255&lt;/background_color&gt; ]
505
 
&lt;/image&gt;
506
 
"; block_end(); echo "
507
 
<p>
508
 
imagesrc describes the name and location of the image in question. Images 
509
 
can be any of the following types: PNG, JPG, GIF, and BMP. The image location
510
 
should be specified as a path relative to the skin.xml description file. The
511
 
path seperator should be a '/' for all platforms.
512
 
<p>
513
 
NOTE: we have had reports of JPG files not working with background_image, 
514
 
project_area_background_image, dialog_background_image, and 
515
 
workunit_area_background_image. If you experience this issue swithc the
516
 
image file format to PNG. We'll try to address this issue in 5.10.x.
517
 
<p>
518
 
background_color is optional and describes the backgrond color that 
519
 
should be painted on to the dialog before the image is drawn over the top
520
 
of it. The color is represented as an RGB value with the token being ':'.
521
 
<p>
522
 
 
523
 
 
524
 
<h4><a name=\"Icon\">Icon</a></h4>
525
 
<p>
526
 
These elements are used to describe the taskbar icons in various states.
527
 
<p>
528
 
Icons are described as follows:
529
 
"; block_start(); echo "
530
 
&lt;image&gt;
531
 
    &lt;imagesrc&gt;graphics/image.jpg&lt;/imagesrc&gt; 
532
 
    &lt;transparency_mask&gt;255:0:255&lt;/transparency_mask&gt;
533
 
&lt;/image&gt;
534
 
"; block_end(); echo "
535
 
<p>
536
 
imagesrc describes the name and location of the image in question. Images 
537
 
can be any of the following types: PNG, JPG, GIF, and BMP. The image location
538
 
should be specified as a path relative to the skin.xml description file. The
539
 
path seperator should be a '/' for all platforms.
540
 
<p>
541
 
transparency_mask describes the backgrond color that should be used as the
542
 
transparency mask. The color is represented as an RGB value with the token 
543
 
being ':'.
544
 
<p>
545
 
 
546
 
 
547
 
<h4><a name=\"SimpleTab\">Simple Tab</a></h4>
548
 
<p>
549
 
The different types of simple tabs represent the different states an active
550
 
task can be displayed as.
551
 
<p>
552
 
Tabs are described as follows:
553
 
"; block_start(); echo "
554
 
&lt;tab&gt;
555
 
    &lt;imagesrc&gt;graphic/icon.png&lt;/imagesrc&gt;
556
 
    &lt;border_color&gt;51:102:102&lt;/border_color&gt;
557
 
    &lt;gradient_from_color&gt;51:102:102&lt;/gradient_from_color&gt;
558
 
    &lt;gradient_to_color&gt;134:179:176&lt;/gradient_to_color&gt;
559
 
&lt;/tab&gt;
560
 
"; block_end(); echo "
561
 
<p>
562
 
imagesrc describes the name and location of the image in question. Images 
563
 
can be any of the following types: PNG, JPG, GIF, and BMP. The image location
564
 
should be specified as a path relative to the skin.xml description file. The
565
 
path seperator should be a '/' for all platforms.
566
 
<p>
567
 
border_color describes the color that surrounds the tab. The color is 
568
 
represented as an RGB value with the token being ':'.
569
 
<p>
570
 
gradient_from_color describes the color that should start the gradient
571
 
effect. The color is represented as an RGB value with the token being ':'.
572
 
<p>
573
 
gradient_to_color describes the color that should finish the gradient
574
 
effect. The color is represented as an RGB value with the token being ':'.
575
 
<p>
576
 
 
577
 
 
578
 
<h4><a name=\"SimpleLink\">Simple Link</a></h4>
579
 
<p>
580
 
Links are images that cause an action to happen. Links do not change state
581
 
when clicked.
582
 
<p>
583
 
Links are described as follows:
584
 
"; block_start(); echo "
585
 
&lt;image&gt;
586
 
    &lt;imagesrc&gt;graphic/image.png&lt;/imagesrc&gt;
587
 
&lt;/image&gt;
588
 
"; block_end(); echo "
589
 
<p>
590
 
imagesrc describes the name and location of the image in question. Images 
591
 
can be any of the following types: PNG, JPG, GIF, and BMP. The image location
592
 
should be specified as a path relative to the skin.xml description file. The
593
 
path seperator should be a '/' for all platforms.
594
 
<p>
595
 
 
596
 
 
597
 
<h4><a name=\"SimpleButton\">Simple Button</a></h4>
598
 
<p>
599
 
Buttons are images that cause an action to happen. Buttons can be at rest or in
600
 
a clicked state. When the button is clicked it changes to the clicked image.
601
 
<p>
602
 
Buttons are described as follows:
603
 
"; block_start(); echo "
604
 
&lt;button&gt;
605
 
    &lt;imagesrc&gt;graphic/button.png&lt;/imagesrc&gt;
606
 
    &lt;imagesrc_clicked&gt;graphic/button_clicked.png&lt;/imagesrc_clicked&gt;
607
 
&lt;/button&gt;
608
 
"; block_end(); echo "
609
 
<p>
610
 
imagesrc describes the name and location of the image in question. Images 
611
 
can be any of the following types: PNG, JPG, GIF, and BMP. The image location
612
 
should be specified as a path relative to the skin.xml description file. The
613
 
path seperator should be a '/' for all platforms.
614
 
<p>
615
 
imagesrc_clicked describes the name and location of the image in question. Images 
616
 
can be any of the following types: PNG, JPG, GIF, and BMP. The image location
617
 
should be specified as a path relative to the skin.xml description file. The
618
 
path seperator should be a '/' for all platforms.
619
 
<p>
620
 
 
621
 
<h3><a name=stencils>Stencils</a></h3>
622
 
 
623
 
Making skins is simplified with the use of the following 3
624
 
'stencils' (these are transparent GIFs).
625
 
 
626
 
<ul>
627
 
<li> To use the templates,
628
 
use a graphical application such as Photoimpact
629
 
that supports objects in multiple layers,
630
 
allowing you to move the templates
631
 
above the appropriate (background-) image to the desired position.
632
 
 
633
 
<li> The meaning of the template colours is as follows:
634
 
The green lines / edges serve the positioning of the template
635
 
above the respective (background-) image.
636
 
The area tagged with red lines corresponds to the space
637
 
to cut / paste for sequential images.
638
 
<li> The source for the creation of a skin is an existing,
639
 
complete background image with the size of 410 x 540 pixels.
640
 
<li> Beginning with template_1 (to be moved,
641
 
positioned and copied across the background_image)
642
 
the creation of the workunit_area_background_image
643
 
and the project_area_background_image takes place.
644
 
<li> Now, if desired, the workunit_area_background_image and
645
 
the project_area_background_image can be designed separately
646
 
depending on the desired effects (i.e. transparency).
647
 
 
648
 
<li> Subsequently template_2 (by copying, moving or positioning)
649
 
can be used on the background_image, workunit_background_image
650
 
or project_background_image  to achieve the desired effects
651
 
(i.e. transparency) in order to create further desired images
652
 
(i.e. workunit_tab_area_background_image,
653
 
 workunit_gauge_background_image etc.)
654
 
</ul> 
655
 
<p> <img src=images/Stencil_1.gif>
656
 
<p><img src=images/Stencil_2.gif>
657
 
<p><img src=images/Stencil_3.gif>
658
 
 
659
 
";
660
 
page_tail();
661
 
?>