Add a size selection choice to the "artprov" sample

This will allow to test support for larger icons when it is added in the
upcoming commits.
This commit is contained in:
Markus Juergens
2018-11-18 20:49:34 +01:00
committed by Vadim Zeitlin
parent bdca91c629
commit cb8b6009d5
2 changed files with 47 additions and 5 deletions

View File

@@ -28,12 +28,19 @@ public:
private:
void OnSelectItem(wxListEvent &event);
void OnChangeSize(wxCommandEvent &event);
void OnChooseClient(wxCommandEvent &event);
wxSize GetSelectedBitmapSize() const;
wxListCtrl *m_list;
wxStaticBitmap *m_canvas;
wxStaticText *m_text;
wxString m_client;
wxChoice *m_sizes;
wxString m_current_artid;
static int m_bitmap_sizes[7];
wxDECLARE_EVENT_TABLE();
};