MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxPictureControl Class Reference

Abstract class for pictures. More...

#include <resizec.h>

Inherits wxResizeableControl.

Inherited by wxBitmapControl.

Inheritance diagram for wxPictureControl:

Inheritance graph
[legend]
Collaboration diagram for wxPictureControl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wxPictureControl ()
 Ctor.
 wxPictureControl (wxWindow *AParent, int AnId, const wxPoint &pos, const wxSize &size, long style=0, const wxString &name=wxPanelNameStr)
 Ctor.
virtual const wxChar * GetPictureType ()
 Return picture type string.
virtual long GetPictureSize ()
 Return picture data size.
virtual long GetPictureData (char *, long)
 Copy picture data into pt.
void OnRevert (wxCommandEvent &event)
 Reset original size if available.
void OnRightDown (wxMouseEvent &event)
 Show context menu.
void OnPaletteChanged (wxSysColourChangedEvent &event)
 Respond to system color palette change event.
void OnEditCut (wxCommandEvent &ce)
 Cut event.
virtual void OnEditCopy (wxCommandEvent &WXUNUSED(ce))
 Copy event.
void CeEditCut (wxUpdateUIEvent &ce)
 Enable cut event.
void CeEditCopy (wxUpdateUIEvent &ce)
 Enable copy event.
void OnSize (wxSizeEvent &event)
 Reponds to size event.
void OnPaint (wxPaintEvent &event)
 Responds to paint event.

Detailed Description

Abstract class for pictures.

This would make a perfect abstract class, but the definition of wxDynamicCast() doesn't allow this.

Definition at line 233 of file resizec.h.


Constructor & Destructor Documentation

wxPictureControl::wxPictureControl  )  [inline]
 

Ctor.

Definition at line 237 of file resizec.h.

wxPictureControl::wxPictureControl wxWindow *  AParent,
int  AnId,
const wxPoint &  pos,
const wxSize &  size,
long  style = 0,
const wxString &  name = wxPanelNameStr
[inline]
 

Ctor.

Definition at line 239 of file resizec.h.


Member Function Documentation

void wxPictureControl::CeEditCopy wxUpdateUIEvent &  ce  )  [inline]
 

Enable copy event.

Definition at line 268 of file resizec.h.

void wxPictureControl::CeEditCut wxUpdateUIEvent &  ce  )  [inline]
 

Enable cut event.

Definition at line 263 of file resizec.h.

virtual long wxPictureControl::GetPictureData char *  ,
long 
[inline, virtual]
 

Copy picture data into pt.

Definition at line 248 of file resizec.h.

virtual long wxPictureControl::GetPictureSize  )  [inline, virtual]
 

Return picture data size.

Definition at line 246 of file resizec.h.

virtual const wxChar* wxPictureControl::GetPictureType  )  [inline, virtual]
 

Return picture type string.

Definition at line 244 of file resizec.h.

virtual void wxPictureControl::OnEditCopy wxCommandEvent &  WXUNUSED(ce)  )  [inline, virtual]
 

Copy event.

Definition at line 261 of file resizec.h.

void wxPictureControl::OnEditCut wxCommandEvent &  ce  ) 
 

Cut event.

Reimplemented from wxResizeableControl.

Definition at line 563 of file resizec.cpp.

void wxPictureControl::OnPaint wxPaintEvent &  event  ) 
 

Responds to paint event.

Definition at line 594 of file resizec.cpp.

References wxResizeableControl::DrawSizeRect(), wxResizeableControl::m_hasfocus, and wxResizeableControl::Paint().

void wxPictureControl::OnPaletteChanged wxSysColourChangedEvent &  event  ) 
 

Respond to system color palette change event.

Definition at line 583 of file resizec.cpp.

void wxPictureControl::OnRevert wxCommandEvent &  event  ) 
 

Reset original size if available.

Definition at line 604 of file resizec.cpp.

References wxResizeableControl::GetOriginalSize().

void wxPictureControl::OnRightDown wxMouseEvent &  event  ) 
 

Show context menu.

Definition at line 569 of file resizec.cpp.

void wxPictureControl::OnSize wxSizeEvent &  event  ) 
 

Reponds to size event.

Reimplemented from wxResizeableControl.

Definition at line 588 of file resizec.cpp.


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

 

SourceForge Logo