ImagePanel Class Reference

panel displaying bitmap loaded from file More...

#include <imageviewer.h>

Inherits wxPanel.

Collaboration diagram for ImagePanel:
Collaboration graph
[legend]

Public Member Functions

 ImagePanel (const wxString &file, wxWindow *parent, wxWindowID id)
 ImagePanel (wxWindow *parent, wxWindowID id)
virtual ~ImagePanel ()
void SetBitmap (const wxString &file)

Protected Member Functions

void OnPaint (wxPaintEvent &WXUNUSED(event))
void OnSize (wxSizeEvent &WXUNUSED(event))

Protected Attributes

wxString m_file

Detailed Description

panel displaying bitmap loaded from file

Definition at line 12 of file imageviewer.h.


Constructor & Destructor Documentation

ImagePanel::ImagePanel ( const wxString file,
wxWindow *  parent,
wxWindowID  id 
)

Definition at line 31 of file imageviewer.cpp.

ImagePanel::ImagePanel ( wxWindow *  parent,
wxWindowID  id 
)

Definition at line 36 of file imageviewer.cpp.

ImagePanel::~ImagePanel (  )  [virtual]

Definition at line 40 of file imageviewer.cpp.


Member Function Documentation

void ImagePanel::OnPaint ( wxPaintEvent &  WXUNUSEDevent  )  [protected]

Definition at line 50 of file imageviewer.cpp.

void ImagePanel::OnSize ( wxSizeEvent &  WXUNUSEDevent  )  [protected]

Definition at line 65 of file imageviewer.cpp.

void ImagePanel::SetBitmap ( const wxString file  ) 

Definition at line 43 of file imageviewer.cpp.


Field Documentation

Definition at line 21 of file imageviewer.h.


The documentation for this class was generated from the following files:

Generated on Thu Dec 29 00:11:44 2011 for SpringLobby by doxygen 1.6.3