MatOCAD Logo

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

wxIFMResizeEvent Class Reference

#include <resize.h>

List of all members.

Public Member Functions

 wxIFMResizeEvent (wxEventType type, wxIFMComponent *component, const wxPoint &pos, bool realtime, bool canceled=false)
 wxIFMResizeEvent (const wxIFMResizeEvent &event)
virtual wxEvent * Clone () const
const wxPoint & GetPosition () const
bool WasCanceled () const
bool RealtimeUpdates () const

Private Attributes

const wxPoint & m_pos
bool m_realtime
bool m_canceled


Detailed Description

Event for resizing events.

Definition at line 123 of file resize.h.


Constructor & Destructor Documentation

wxIFMResizeEvent::wxIFMResizeEvent wxEventType  type,
wxIFMComponent component,
const wxPoint &  pos,
bool  realtime,
bool  canceled = false
[inline]
 

Definition at line 131 of file resize.h.

Referenced by Clone().

wxIFMResizeEvent::wxIFMResizeEvent const wxIFMResizeEvent event  )  [inline]
 

Definition at line 139 of file resize.h.


Member Function Documentation

virtual wxEvent* wxIFMResizeEvent::Clone  )  const [inline, virtual]
 

Definition at line 146 of file resize.h.

References wxIFMResizeEvent().

const wxPoint& wxIFMResizeEvent::GetPosition  )  const [inline]
 

Returns:
Position of the mouse in screen coordinates that generated the event

Definition at line 151 of file resize.h.

References m_pos.

Referenced by wxIFMDefaultResizePlugin::OnResizeBegin(), wxIFMDefaultResizePlugin::OnResizeEnd(), and wxIFMDefaultResizePlugin::OnResizing().

bool wxIFMResizeEvent::RealtimeUpdates  )  const [inline]
 

Returns:
True if updates should be made in real time. Only makes sense for wxEVT_IFM_RESIZE

Definition at line 163 of file resize.h.

References m_realtime.

Referenced by wxIFMDefaultResizePlugin::OnResizeBegin(), wxIFMDefaultResizePlugin::OnResizeEnd(), and wxIFMDefaultResizePlugin::OnResizing().

bool wxIFMResizeEvent::WasCanceled  )  const [inline]
 

Returns:
If the resize was canceled by the user (or something else). Only makes sense for wxEVT_IFM_ENDRESIZE.

Definition at line 157 of file resize.h.

References m_canceled.

Referenced by wxIFMDefaultResizePlugin::OnResizeEnd().


Member Data Documentation

bool wxIFMResizeEvent::m_canceled [private]
 

Definition at line 127 of file resize.h.

Referenced by WasCanceled().

const wxPoint& wxIFMResizeEvent::m_pos [private]
 

Definition at line 126 of file resize.h.

Referenced by GetPosition().

bool wxIFMResizeEvent::m_realtime [private]
 

Definition at line 127 of file resize.h.

Referenced by RealtimeUpdates().


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

 

SourceForge Logo