Adjust some skin colors in filelist and selected background

This commit is contained in:
David Capello 2014-04-19 19:04:45 -03:00
parent 3738774efc
commit 1ab7de6668
2 changed files with 6 additions and 4 deletions

View File

@ -8,7 +8,8 @@
<color id="disabled" value="#968275" />
<color id="face" value="#d3cbbe" />
<color id="hot_face" value="#faf0e6" />
<color id="selected" value="#2c4c91" />
<color id="selected" value="#ff5555" />
<color id="separator_label" value="#2c4c91" />
<color id="background" value="#ffffff" />
<color id="desktop" value="#968275" />
<color id="textbox_text" value="#000000" />
@ -56,11 +57,11 @@
<color id="tooltip_text" value="#000000" />
<color id="tooltip_face" value="#ffff7d" />
<color id="filelist_even_row_text" value="#000000" />
<color id="filelist_even_row_face" value="#f0f0f0" />
<color id="filelist_even_row_face" value="#ffffff" />
<color id="filelist_odd_row_text" value="#000000" />
<color id="filelist_odd_row_face" value="#ffffff" />
<color id="filelist_selected_row_text" value="#ffffff" />
<color id="filelist_selected_row_face" value="#2c4c91" />
<color id="filelist_selected_row_face" value="#ff5555" />
<color id="filelist_disabled_row_text" value="#ffc8c8" />
<color id="workspace" value="#7d929e" />
<color id="timeline_normal" value="#c6c6c6" />

View File

@ -61,6 +61,7 @@ static std::map<std::string, ThemeColor::Type> color_mapping;
const char* SkinTheme::kThemeCloseButtonId = "theme_close_button";
const char* kWindowFaceColorId = "window_face";
const char* kSeparatorLabelColorId = "separator_label";
// Controls the "X" button in a window to close it.
class WindowCloseButton : public Button {
@ -1382,7 +1383,7 @@ void SkinTheme::paintSeparator(ui::PaintEvent& ev)
bounds.y2() - widget->border_width.b/2 + h));
drawTextString(g, NULL,
getColor(ThemeColor::Selected), BGCOLOR, false,
getColorById(kSeparatorLabelColorId), BGCOLOR, false,
widget, r, 0);
}
}