Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

TMyImagePanel Class Reference

This class represents the actual image displayed by TImageDisplay. More...

#include <TImageDisplay.h>

List of all members.

Public Member Functions

 TMyImagePanel (wxWindow *parent, int id=-1)
 Constructor.
 ~TMyImagePanel ()
 Destructor.
virtual void OnDraw (wxDC &pdc)
 The draw event handler.
virtual void Refresh (bool eraseBackground=TRUE, const wxRect *rect=NULL)
 Refresh the image display.
virtual void OnSize (wxSizeEvent &event)
 The resize event handler.
virtual void OnPaint (wxPaintEvent &event)
 The paint event handler.
virtual void OnEvent (wxMouseEvent &event)
 The mouse event handler.
virtual void OnSaveAsBitmap (wxCommandEvent &event)
 The "Save bitmap" context menu event handler.
virtual void OnCopy (wxCommandEvent &event)
 The copy event handler.
virtual void OnPrint (wxCommandEvent &event)
 The print event handler.
virtual void OnDummy (wxCommandEvent &WXUNUSED(event))
virtual void WriteIntoBitmap (wxBitmap &bmp2)
 Converts an image into a bitmap.

Public Attributes

wxBitmap * bmp
 Pointer to current bitmap structure.
wxImage i
 The current image.
wxString dir
wxString file
bool printing
bool show_text
bool invert
TImageDisplayimdi
 The parent image display module.


Detailed Description

This class represents the actual image displayed by TImageDisplay.


Constructor & Destructor Documentation

TMyImagePanel::TMyImagePanel wxWindow *  parent,
int  id = -1
 

Constructor.

TMyImagePanel::~TMyImagePanel  ) 
 

Destructor.


Member Function Documentation

void TMyImagePanel::OnCopy wxCommandEvent &  event  )  [virtual]
 

The copy event handler.

void TMyImagePanel::OnDraw wxDC &  pdc  )  [virtual]
 

The draw event handler.

virtual void TMyImagePanel::OnDummy wxCommandEvent &  WXUNUSED(event)  )  [inline, virtual]
 

void TMyImagePanel::OnEvent wxMouseEvent &  event  )  [virtual]
 

The mouse event handler.

void TMyImagePanel::OnPaint wxPaintEvent &  event  )  [virtual]
 

The paint event handler.

void TMyImagePanel::OnPrint wxCommandEvent &  event  )  [virtual]
 

The print event handler.

void TMyImagePanel::OnSaveAsBitmap wxCommandEvent &  event  )  [virtual]
 

The "Save bitmap" context menu event handler.

void TMyImagePanel::OnSize wxSizeEvent &  event  )  [virtual]
 

The resize event handler.

void TMyImagePanel::Refresh bool  eraseBackground = TRUE,
const wxRect *  rect = NULL
[virtual]
 

Refresh the image display.

void TMyImagePanel::WriteIntoBitmap wxBitmap &  bmp2  )  [virtual]
 

Converts an image into a bitmap.


Member Data Documentation

wxBitmap* TMyImagePanel::bmp
 

Pointer to current bitmap structure.

wxString TMyImagePanel::dir
 

wxString TMyImagePanel::file
 

wxImage TMyImagePanel::i
 

The current image.

TImageDisplay* TMyImagePanel::imdi
 

The parent image display module.

bool TMyImagePanel::invert
 

bool TMyImagePanel::printing
 

bool TMyImagePanel::show_text
 


The documentation for this class was generated from the following files:
Generated on Fri Aug 11 16:19:48 2006 for GENtle by  doxygen 1.4.1