Skinning.colourScheme: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(added recovered Skinning.colourScheme. verification needed!)
 
(add templates "navigation", "updated" and coment " recovered".)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Language}}
{{Languages}}
{{RecoveredPage|The following content has been recovered from the old wiki and pantheraproject*net. Some content may be outdated, incomplete, inaccurate, or improperly formatted. This need competent verification.}}
{{Updated|2014.04.30|2.7.x.0|}}
{{Recovered|The following content has been recovered from the '''Website'''. This need competent verification. Ji_D}}


<p><b>&lt;colourScheme&gt;</b>
=<colourScheme>=
</p><p>The <b>&lt;colourScheme&gt;</b> element changes the user interface colour scheme. This colour scheme is used throughout the program for fonts as well as window colours. Each colour is given a name. You can set each of these named colours to a particular value specified in <b>Hex format</b> (eg "FFFFFF").
</p><p>Here is an example from <b>MyColourSkin.xml</b>:
</p>
<div dir="ltr" style="text-align: left;"><div class="xml source-xml" style="font-family:monospace;"><pre class="de1"><span class="sc3"><span class="re1">&lt;?xml</span> <span class="re0">version</span>=<span class="st0">&quot;1.0&quot;</span> <span class="re0">encoding</span>=<span class="st0">&quot;UTF-8&quot;</span><span class="re2">?&gt;</span></span>
<span class="sc3"><span class="re1">&lt;skin</span> <span class="re0">xmlns</span>=<span class="st0">&quot;http://www.shareaza.com/schemas/Skin.xsd&quot;</span> <span class="re0">version</span>=<span class="st0">&quot;1.0&quot;</span><span class="re2">&gt;</span></span>
<span class="sc3"><span class="re1">&lt;manifest</span> <span class="re0">name</span>=<span class="st0">&quot;My Colour Skin&quot;</span> <span class="re0">author</span>=<span class="st0">&quot;Me&quot;</span> <span class="re0">type</span>=<span class="st0">&quot;Skin&quot;</span><span class="re2">/&gt;</span></span>
<span class="sc3"><span class="re1">&lt;colourScheme<span class="re2">&gt;</span></span></span>    <span class="sc3"><span class="re1">&lt;colour</span> <span class="re0">name</span>=<span class="st0">&quot;System.Base.Midtone&quot;</span> <span class="re0">value</span>=<span class="st0">&quot;FF0000&quot;</span><span class="re2">/&gt;</span></span>
  <span class="sc3"><span class="re1">&lt;colour</span> <span class="re0">name</span>=<span class="st0">&quot;Panel.Caption.Back&quot;</span> <span class="re0">value</span>=<span class="st0">&quot;00FF00&quot;</span><span class="re2">/&gt;</span></span>
<span class="sc3"><span class="re1">&lt;/colourScheme<span class="re2">&gt;</span></span></span>
<span class="sc3"><span class="re1">&lt;/skin<span class="re2">&gt;</span></span></span></pre></div></div>
<p>And here is a list and description of the different color names:
</p>
<table border="1" cellspacing="0" cellpadding="5">


<tr style="background-color:#FFFFC0;">
The '''<colourScheme>''' element changes the user interface colour scheme. This colour scheme is used throughout the program for fonts as well as window colours. Each colour is given a name. You can set each of these named colours to a particular value specified in HTML format (eg "FFFFFF").
<td><b>Colour</b>
</td><td><b>Description</b>
</td></tr>
<tr>
<td>System.Base.Window
</td><td>The bright window colour, usually white (FFFFFF)
</td></tr>
<tr>
<td>System.Base.Midtone
</td><td>The midtone window colour, used behind toolbars, etc
</td></tr>
<tr>
<td>System.Base.Highlight
</td><td>The highlight colour, often a blue colour
</td></tr>
<tr>
<td>System.Base.Text
</td><td>The default text colour, often black
</td></tr>
<tr>
<td>System.Base.Hitext
</td><td>The text highlight colour, often white
</td></tr>


<tr>
Here is an example from '''MyColourSkin.xml''':
<td>System.Back.Normal
</td><td>Background colour for command interfaces (menus, etc)
</td></tr>
<tr>
<td>System.Back.Selected
</td><td>Background colour for selected commands
</td></tr>
<tr>
<td>System.Back.Checked
</td><td>Background colour for checked commands
</td></tr>
<tr>
<td>System.Back.Checked.Selected
</td><td>Background colour for checked and selected commands
</td></tr>
<tr>
<td>System.Margin
</td><td>Margin colour for menus
</td></tr>
<tr>
<td>System.Border
</td><td>Border colour for menu and toolbar selections
</td></tr>
<tr>
<td>System.Shadow
</td><td>Icon shadow colour for selected commands
</td></tr>
<tr>
<td>System.Text
</td><td>Default text colour for commands
</td></tr>
<tr>
<td>System.Text.Selected
</td><td>Selected text colour for commands
</td></tr>
<tr>
<td>System.Disabled
</td><td>Disabled text colour
</td></tr>


<tr>
<?xml version="1.0" encoding="UTF-8"?>
<td>Tooltip.Back
  <skin xmlns="http://shareaza.sourceforge.net/schemas/Skin.xsd" version="1.0">
</td><td>Background colour for rollover tooltips, usually an off-white colour
  <manifest name="My Colour Skin" author="Me" type="Skin"/>
</td></tr>
  <colourScheme>
<tr>
    <colour name="System.Base.Midtone" value="FF0000"/>
<td>Tooltip.Border
    <colour name="Panel.Caption.Back" value="00FF00"/>
</td><td>Border colour for rollover tooltips, usually a light grey
  </colourScheme>
</td></tr>
</skin>
<tr>
<td>Tooltip.Text
</td><td>Text colour for rollover tooltips, usually black
</td></tr>
<tr>
<td>Tooltip.Warnings
</td><td>Text colour for rollover tooltip warnings, usually grey
</td></tr>


<tr>
<td>Dialog.Back
</td><td>Background colour for dialog boxes
</td></tr>


<tr>
And here is a list and description of the different color names:
<td>Panel.Caption.Back
</td><td>Caption colour for panel (tabbed mode) windows
</td></tr>
<tr>
<td>Panel.Caption.Text
</td><td>Caption text colour for panel (tabbed mode) windows
</td></tr>
<tr>
<td>Panel.Caption.Border
</td><td>Caption border colour for panel (tabbed mode) windows
</td></tr>


<tr>
{| border="0" cellspacing="0" cellpadding="5"
<td>Banner.Back
|- style="background-color:#FFFFC0"
</td><td>Background colour for banners, usually a shade of blue
|'''<ins>Colour</ins>'''
</td></tr>
|'''<ins>Description</ins>'''
<tr>
|-
<td>Banner.Text
|System.Base.Window
</td><td>Text colour for banners, usually white
|The bright window colour, usually white (FFFFFF)
</td></tr>
|-
|System.Base.Midtone
|The midtone window colour, used behind toolbars, etc
|-
|System.Base.Highlight
|The highlight colour, often a blue colour
|-
|System.Base.Text
|The default text colour, often black
|-
|System.Base.Hitext
|The text highlight colour, often white
|-
|System.Back.Normal
|Background colour for command interfaces (menus, etc)
|-
|System.Back.Selected
|Background colour for selected commands
|-
|System.Back.Checked
|Background colour for checked commands
|-
|System.Back.Checked.Selected
|Background colour for checked and selected commands
|-
|System.Margin
|Margin colour for menus
|-
|System.Border
|Border colour for menu and toolbar selections
|-
|System.Shadow
|Icon shadow colour for selected commands
|-
|System.Text
|Default text colour for commands
|-
|System.Text.Selected
|Selected text colour for commands
|-
|System.Disabled
|Disabled text colour
|-
|Tooltip.Back
|Background colour for rollover tooltips, usually an off-white colour
|-
|Tooltip.Border
|Border colour for rollover tooltips, usually a light grey
|-
|Tooltip.Text
|Text colour for rollover tooltips, usually black
|-
|Tooltip.Warnings
|Text colour for rollover tooltip warnings, usually grey
|-
|Dialog.Back
|Background colour for dialog boxes
|-
|Panel.Caption.Back
|Caption colour for panel (tabbed mode) windows
|-
|Panel.Caption.Text
|Caption text colour for panel (tabbed mode) windows
|-
|Panel.Caption.Border
|Caption border colour for panel (tabbed mode) windows
|-
|Banner.Back
|Background colour for banners, usually a shade of blue
|-
|Banner.Text
|Text colour for banners, usually white
|-
|Schema.Row1
|Background colour for schema attribute even rows
|-
|Schema.Row2
|Background colour for schema attribute odd rows
|-
|TaskPanel.Back
|Background colour for task panels
|-
|TaskBox.Caption.Back
|Caption colour for normal task boxes
|-
|TaskBox.Caption.Text
|Caption text colour for normal task boxes
|-
|TaskBox.Primary.Back
|Caption colour for primary task boxes
|-
|TaskBox.Primary.Text
|Caption text colour for primary task boxes
|-
|TaskBox.Caption.Hover
|Caption text hover colour for task boxes
|-
|TaskBox.Client
|Background colour for task boxes
|-
|Media.Window.Text
|Media window welcome text colour
|-
|Media.Status
|Background colour for media window status bar
|-
|Media.Status.Text
|Text colour for media window status bar
|-
|Media.Panel
|Background colour for media window playlist panel
|-
|Media.Panel.Text
|Text colour for media window playlist panel
|-
|Media.Panel.Active
|Background colour of highlighted files
|-
|Media.Panel.Active.Text
|Text colour of highlighted files
|-
|Media.Panel.Caption
|Background colour of media window playlist caption bar
|-
|Media.Panel.Caption.Text
|Text colour of media window playlist caption bar
|-
|Monitor.History.Back
|Background colour for the bandwidth monitor
|-
|Monitor.History.Back.Max
|Background colour for the bandwidth monitor when the slider is set to MAX
|-
|Monitor.History.Text
|Text colour for the bandwidth monitor
|-
|Monitor.Download.Line
|Line colour for the bandwidth monitor download speed
|-
|Monitor.Download.Bar
|Bar colour for the bandwidth monitor download speed
|-
|Monitor.Upload.Line
|Line colour for the bandwidth monitor upload speed
|-
|Monitor.Upload.Bar
|Bar colour for the bandwidth monitor upload speed
|-
|Traffic.Window.Back
|Background colour for the traffic/graph window
|-
|Traffic.Window.Text
|Text colour for the legend in the traffic/graph window
|-
|Traffic.Window.Grid
|The colour of the grid lines in the traffic/graph window
|}


<tr>
{{Nav2|Skinning tutorial}}
<td>Schema.Row1
</td><td>Background colour for schema attribute even rows
</td></tr>
<tr>
<td>Schema.Row2
</td><td>Background colour for schema attribute odd rows
</td></tr>
 
<tr>
<td>TaskPanel.Back
</td><td>Background colour for task panels
</td></tr>
<tr>
<td>TaskBox.Caption.Back
</td><td>Caption colour for normal task boxes
</td></tr>
<tr>
<td>TaskBox.Caption.Text
</td><td>Caption text colour for normal task boxes
</td></tr>
<tr>
<td>TaskBox.Primary.Back
</td><td>Caption colour for primary task boxes
</td></tr>
<tr>
<td>TaskBox.Primary.Text
</td><td>Caption text colour for primary task boxes
</td></tr>
<tr>
<td>TaskBox.Caption.Hover
</td><td>Caption text hover colour for task boxes
</td></tr>
<tr>
<td>TaskBox.Client
</td><td>Background colour for task boxes
</td></tr>
 
<tr>
<td>Media.Window.Text
</td><td>Media window welcome text colour
</td></tr>
<tr>
<td>Media.Status
</td><td>Background colour for media window status bar
</td></tr>
<tr>
<td>Media.Status.Text
</td><td>Text colour for media window status bar
</td></tr>
<tr>
<td>Media.Panel
</td><td>Background colour for media window playlist panel
</td></tr>
<tr>
<td>Media.Panel.Text
</td><td>Text colour for media window playlist panel
</td></tr>
<tr>
<td>Media.Panel.Active
</td><td>Background colour of highlighted files
</td></tr>
<tr>
<td>Media.Panel.Active.Text
</td><td>Text colour of highlighted files
</td></tr>
<tr>
<td>Media.Panel.Caption
</td><td>Background colour of media window playlist caption bar
</td></tr>
<tr>
<td>Media.Panel.Caption.Text
</td><td>Text colour of media window playlist caption bar
</td></tr>
 
<tr>
<td>Monitor.History.Back
</td><td>Background colour for the bandwidth monitor
</td></tr>
<tr>
<td>Monitor.History.Back.Max
</td><td>Background colour for the bandwidth monitor when the slider is set to MAX
</td></tr>
<tr>
<td>Monitor.History.Text
</td><td>Text colour for the bandwidth monitor
</td></tr>
<tr>
<td>Monitor.Download.Line
</td><td>Line colour for the bandwidth monitor download speed
</td></tr>
<tr>
<td>Monitor.Download.Bar
</td><td>Bar colour for the bandwidth monitor download speed
</td></tr>
<tr>
<td>Monitor.Upload.Line
</td><td>Line colour for the bandwidth monitor upload speed
</td></tr>
<tr>
<td>Monitor.Upload.Bar
</td><td>Bar colour for the bandwidth monitor upload speed
</td></tr>
 
<tr>
<td>Traffic.Window.Back
</td><td>Background colour for the traffic/graph window
</td></tr>
<tr>
<td>Traffic.Window.Text
</td><td>Text colour for the legend in the traffic/graph window
</td></tr>
<tr>
<td>Traffic.Window.Grid
</td><td>The colour of the grid lines in the traffic/graph window
</td></tr></table>

Latest revision as of 12:38, 30 April 2014

  Languages:

[[::Skinning.colourScheme|English]] • [[::Skinning.colourScheme/de|Deutsch]] • [[::Skinning.colourScheme/es|Español]] • [[::Skinning.colourScheme/fr|Français]] • [[::Skinning.colourScheme/he|עברית]] • [[::Skinning.colourScheme/it|Italiano]] • [[::Skinning.colourScheme/nl|Nederlands]] • [[::Skinning.colourScheme/pl|Polski]] • [[::Skinning.colourScheme/pt|Português]] • [[::Skinning.colourScheme/ru|Русский]] • [[::Skinning.colourScheme/zh-hant|‪中文(繁體)]]

e
  Updated:

This page has been updated on 2014.04.30 for the release of Shareaza v2.7.x.0.

e
  Recovered

The following content has been recovered from the Website. This need competent verification. Ji_D

e

<colourScheme>

The <colourScheme> element changes the user interface colour scheme. This colour scheme is used throughout the program for fonts as well as window colours. Each colour is given a name. You can set each of these named colours to a particular value specified in HTML format (eg "FFFFFF").

Here is an example from MyColourSkin.xml:

<?xml version="1.0" encoding="UTF-8"?>
 <skin xmlns="http://shareaza.sourceforge.net/schemas/Skin.xsd" version="1.0">
 <manifest name="My Colour Skin" author="Me" type="Skin"/>
 <colourScheme>
    <colour name="System.Base.Midtone" value="FF0000"/>
    <colour name="Panel.Caption.Back" value="00FF00"/>
 </colourScheme>
</skin>


And here is a list and description of the different color names:

Colour Description
System.Base.Window The bright window colour, usually white (FFFFFF)
System.Base.Midtone The midtone window colour, used behind toolbars, etc
System.Base.Highlight The highlight colour, often a blue colour
System.Base.Text The default text colour, often black
System.Base.Hitext The text highlight colour, often white
System.Back.Normal Background colour for command interfaces (menus, etc)
System.Back.Selected Background colour for selected commands
System.Back.Checked Background colour for checked commands
System.Back.Checked.Selected Background colour for checked and selected commands
System.Margin Margin colour for menus
System.Border Border colour for menu and toolbar selections
System.Shadow Icon shadow colour for selected commands
System.Text Default text colour for commands
System.Text.Selected Selected text colour for commands
System.Disabled Disabled text colour
Tooltip.Back Background colour for rollover tooltips, usually an off-white colour
Tooltip.Border Border colour for rollover tooltips, usually a light grey
Tooltip.Text Text colour for rollover tooltips, usually black
Tooltip.Warnings Text colour for rollover tooltip warnings, usually grey
Dialog.Back Background colour for dialog boxes
Panel.Caption.Back Caption colour for panel (tabbed mode) windows
Panel.Caption.Text Caption text colour for panel (tabbed mode) windows
Panel.Caption.Border Caption border colour for panel (tabbed mode) windows
Banner.Back Background colour for banners, usually a shade of blue
Banner.Text Text colour for banners, usually white
Schema.Row1 Background colour for schema attribute even rows
Schema.Row2 Background colour for schema attribute odd rows
TaskPanel.Back Background colour for task panels
TaskBox.Caption.Back Caption colour for normal task boxes
TaskBox.Caption.Text Caption text colour for normal task boxes
TaskBox.Primary.Back Caption colour for primary task boxes
TaskBox.Primary.Text Caption text colour for primary task boxes
TaskBox.Caption.Hover Caption text hover colour for task boxes
TaskBox.Client Background colour for task boxes
Media.Window.Text Media window welcome text colour
Media.Status Background colour for media window status bar
Media.Status.Text Text colour for media window status bar
Media.Panel Background colour for media window playlist panel
Media.Panel.Text Text colour for media window playlist panel
Media.Panel.Active Background colour of highlighted files
Media.Panel.Active.Text Text colour of highlighted files
Media.Panel.Caption Background colour of media window playlist caption bar
Media.Panel.Caption.Text Text colour of media window playlist caption bar
Monitor.History.Back Background colour for the bandwidth monitor
Monitor.History.Back.Max Background colour for the bandwidth monitor when the slider is set to MAX
Monitor.History.Text Text colour for the bandwidth monitor
Monitor.Download.Line Line colour for the bandwidth monitor download speed
Monitor.Download.Bar Bar colour for the bandwidth monitor download speed
Monitor.Upload.Line Line colour for the bandwidth monitor upload speed
Monitor.Upload.Bar Bar colour for the bandwidth monitor upload speed
Traffic.Window.Back Background colour for the traffic/graph window
Traffic.Window.Text Text colour for the legend in the traffic/graph window
Traffic.Window.Grid The colour of the grid lines in the traffic/graph window



Navigation:     ShareazaWiki > Skinning tutorial > Skinning.colourScheme