FIX: [STUDIO-1565] adjust ui style of media file buttons

Change-Id: Ia3598ca8a15e357021d8b74f645f4d34a853dd91
This commit is contained in:
chunmao.guo 2022-12-02 13:11:01 +08:00 committed by Lane.Wei
parent 5a6263c9f3
commit 36efeea30b
3 changed files with 8 additions and 5 deletions

View file

@ -11,7 +11,7 @@ SwitchButton::SwitchButton(wxWindow* parent, wxWindowID id)
: wxBitmapToggleButton(parent, id, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE | wxBU_EXACTFIT)
, m_on(this, "toggle_on", 16)
, m_off(this, "toggle_off", 16)
, text_color(std::pair{*wxWHITE, (int) StateColor::Checked}, std::pair{0x6B6B6B, (int) StateColor::Normal})
, text_color(std::pair{0xfffffe, (int) StateColor::Checked}, std::pair{0x6B6B6B, (int) StateColor::Normal})
, track_color(0xD9D9D9)
, thumb_color(std::pair{0x00AE42, (int) StateColor::Checked}, std::pair{0xD9D9D9, (int) StateColor::Normal})
{