make red team color also configurable
This commit is contained in:
parent
cdb33f18fa
commit
22987062d2
@ -291,9 +291,11 @@ when the border that intersect at this corner are enabled.
|
|||||||
<color type="emphasis_text" state="neutral" r="230" g="210" b="50" />
|
<color type="emphasis_text" state="neutral" r="230" g="210" b="50" />
|
||||||
<color type="emphasis_text" state="focused" r="255" g="226" b="56" />
|
<color type="emphasis_text" state="focused" r="255" g="226" b="56" />
|
||||||
|
|
||||||
<!-- Color used for blue items in list (e.g. player team color in networking) -->
|
<!-- Color used for red/blue items in list (e.g. player team color in networking) -->
|
||||||
<color type="list_blue" state="neutral" r="0" g="0" b="180" />
|
<color type="list_blue" state="neutral" r="0" g="0" b="180" />
|
||||||
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
||||||
|
<color type="list_red" state="neutral" r="255" g="0" b="0" />
|
||||||
|
<color type="list_red" state="focused" r="255" g="0" b="0" />
|
||||||
|
|
||||||
<!-- Color used to fade out background when a dialog is shown -->
|
<!-- Color used to fade out background when a dialog is shown -->
|
||||||
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
||||||
|
@ -291,9 +291,11 @@ when the border that intersect at this corner are enabled.
|
|||||||
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
||||||
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
||||||
|
|
||||||
<!-- Color used for blue items in list (e.g. player team color in networking) -->
|
<!-- Color used for red/blue items in list (e.g. player team color in networking) -->
|
||||||
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
||||||
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
||||||
|
<color type="list_red" state="neutral" r="255" g="0" b="0" />
|
||||||
|
<color type="list_red" state="focused" r="255" g="0" b="0" />
|
||||||
|
|
||||||
<!-- Color used to fade out background when a dialog is shown -->
|
<!-- Color used to fade out background when a dialog is shown -->
|
||||||
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
||||||
|
@ -313,9 +313,11 @@ all types of ttf.
|
|||||||
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
||||||
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
||||||
|
|
||||||
<!-- Color used for blue items in list (e.g. player team color in networking) -->
|
<!-- Color used for red/blue items in list (e.g. player team color in networking) -->
|
||||||
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
||||||
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
||||||
|
<color type="list_red" state="neutral" r="255" g="0" b="0" />
|
||||||
|
<color type="list_red" state="focused" r="255" g="0" b="0" />
|
||||||
|
|
||||||
<!-- Color used to fade out background when a dialog is shown -->
|
<!-- Color used to fade out background when a dialog is shown -->
|
||||||
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
||||||
|
@ -290,9 +290,11 @@ when the border that intersect at this corner are enabled.
|
|||||||
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
||||||
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
||||||
|
|
||||||
<!-- Color used for blue items in list (e.g. player team color in networking) -->
|
<!-- Color used for red/blue items in list (e.g. player team color in networking) -->
|
||||||
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
||||||
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
||||||
|
<color type="list_red" state="neutral" r="255" g="0" b="0" />
|
||||||
|
<color type="list_red" state="focused" r="255" g="0" b="0" />
|
||||||
|
|
||||||
<!-- Color used to fade out background when a dialog is shown -->
|
<!-- Color used to fade out background when a dialog is shown -->
|
||||||
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
||||||
|
@ -308,9 +308,11 @@ all types of ttf.
|
|||||||
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
||||||
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
||||||
|
|
||||||
<!-- Color used for blue items in list (e.g. player team color in networking) -->
|
<!-- Color used for red/blue items in list (e.g. player team color in networking) -->
|
||||||
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
||||||
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
||||||
|
<color type="list_red" state="neutral" r="255" g="0" b="0" />
|
||||||
|
<color type="list_red" state="focused" r="255" g="0" b="0" />
|
||||||
|
|
||||||
<!-- Color used to fade out background when a dialog is shown -->
|
<!-- Color used to fade out background when a dialog is shown -->
|
||||||
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
||||||
|
@ -289,9 +289,11 @@ when the border that intersect at this corner are enabled.
|
|||||||
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
<color type="emphasis_text" state="neutral" r="0" g="0" b="180" />
|
||||||
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
<color type="emphasis_text" state="focused" r="0" g="0" b="160" />
|
||||||
|
|
||||||
<!-- Color used for blue items in list (e.g. player team color in networking) -->
|
<!-- Color used for red/blue items in list (e.g. player team color in networking) -->
|
||||||
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
<color type="list_blue" state="neutral" r="0" g="0" b="255" />
|
||||||
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
<color type="list_blue" state="focused" r="0" g="0" b="255" />
|
||||||
|
<color type="list_red" state="neutral" r="255" g="0" b="0" />
|
||||||
|
<color type="list_red" state="focused" r="255" g="0" b="0" />
|
||||||
|
|
||||||
<!-- Color used to fade out background when a dialog is shown -->
|
<!-- Color used to fade out background when a dialog is shown -->
|
||||||
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
<color type="dialog_background" state="neutral" a="120" r="0" g="0" b="0" />
|
||||||
|
@ -456,8 +456,8 @@ void ListWidget::markItemRed(const int id, bool red)
|
|||||||
|
|
||||||
if (red)
|
if (red)
|
||||||
{
|
{
|
||||||
irritem->setItemOverrideColor( id, EGUI_LBC_TEXT, video::SColor(255,255,0,0) );
|
irritem->setItemOverrideColor( id, EGUI_LBC_TEXT, GUIEngine::getSkin()->getColor("list_red::neutral"));
|
||||||
irritem->setItemOverrideColor( id, EGUI_LBC_TEXT_HIGHLIGHT, video::SColor(255,255,0,0) );
|
irritem->setItemOverrideColor( id, EGUI_LBC_TEXT_HIGHLIGHT, GUIEngine::getSkin()->getColor("list_red::focused"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user