diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-06-09 00:17:40 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:39:34 +0300 |
commit | 22e3a7a3518c40d107f0b96d2d7aa949a53ccf79 (patch) | |
tree | d5fa86c8cf3b7dbe6de339adc11463c390139878 /map/country_status_display.cpp | |
parent | d146cfebf68477f43b74894d64ebcb6fa09b4dcc (diff) |
customized colors and fonts of the "download" button
Diffstat (limited to 'map/country_status_display.cpp')
-rw-r--r-- | map/country_status_display.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/map/country_status_display.cpp b/map/country_status_display.cpp index 83f5514c35..e7c4161ab5 100644 --- a/map/country_status_display.cpp +++ b/map/country_status_display.cpp @@ -139,8 +139,12 @@ CountryStatusDisplay::CountryStatusDisplay(Params const & p) m_downloadButton->setOnClickListener(bind(&CountryStatusDisplay::downloadCountry, this)); m_downloadButton->setIsVisible(false); m_downloadButton->setPosition(yg::EPosCenter); - m_downloadButton->setFont(gui::Element::EActive, yg::FontDesc(16)); - m_downloadButton->setFont(gui::Element::EPressed, yg::FontDesc(16)); + + m_downloadButton->setFont(EActive, yg::FontDesc(16, yg::Color(255, 255, 255, 255))); + m_downloadButton->setFont(EPressed, yg::FontDesc(16, yg::Color(255, 255, 255, 255))); + + m_downloadButton->setColor(EActive, yg::Color(yg::Color(0, 0, 0, 0.6 * 255))); + m_downloadButton->setColor(EPressed, yg::Color(yg::Color(0, 0, 0, 0.4 * 255))); gui::TextView::Params tp; tp.m_depth = yg::maxDepth; |