1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include <wx/wx.h> class Film; class ThumbPanel; class FilmViewer { public: FilmViewer (Film *, wxFrame *); void load_thumbnail (int); wxPanel* get_widget (); private: Film* _film; wxImage* _image; wxImage* _scaled_image; wxBitmap* _bitmap; ThumbPanel* _thumb_panel; };