Updated mode icons

This commit is contained in:
YuSanka 2020-02-07 18:49:39 +01:00
parent 8cda986ffb
commit 9c8dcf3fae
5 changed files with 45 additions and 6 deletions

View file

@ -257,9 +257,9 @@ void Tab::create_preset_tab()
// Fill cache for mode bitmaps
m_mode_bitmap_cache.reserve(3);
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_simple_.png"));
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_advanced_.png"));
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_expert_.png"));
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_simple"));
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_advanced"));
m_mode_bitmap_cache.push_back(ScalableBitmap(this, "mode_expert"));
// Initialize the DynamicPrintConfig by default keys/values.
build();

View file

@ -727,9 +727,9 @@ ModeSizer::ModeSizer(wxWindow *parent, int hgap/* = 0*/) :
SetFlexibleDirection(wxHORIZONTAL);
std::vector < std::pair < wxString, std::string >> buttons = {
{_(L("Simple")), "mode_simple_sq.png"},
{_(L("Advanced")), "mode_advanced_sq.png"},
{_(L("Expert")), "mode_expert_sq.png"}
{_(L("Simple")), "mode_simple"},
{_(L("Advanced")), "mode_advanced"},
{_(L("Expert")), "mode_expert"},
};
auto modebtnfn = [](wxCommandEvent &event, int mode_id) {