wxRectTracker
|
#include <wx/wx.h>
Go to the source code of this file.
Classes | |
class | wxRectTracker |
wxRectTracker control More... | |
Defines | |
#define | EVT_TRACKER_CHANGED(id, fn) |
Event fired when the user has decided a new position for the tracker (dragging is finished) | |
#define | EVT_TRACKER_CHANGING(id, fn) |
Event fired when the user is being moving or resizing the tracker (dragging in process) | |
Enumerations | |
enum | RT_HANDLER { RT_HANDLER_OUTSIDE = -1, RT_HANDLER_NONE = 0, RT_HANDLER_TOP_MID = 1, RT_HANDLER_MID_RIGHT = 2, RT_HANDLER_BOTTOM_MID = 4, RT_HANDLER_MID_LEFT = 8, RT_HANDLER_TOP_LEFT = RT_HANDLER_TOP_MID + RT_HANDLER_MID_LEFT, RT_HANDLER_TOP_RIGHT = RT_HANDLER_TOP_MID + RT_HANDLER_MID_RIGHT, RT_HANDLER_BOTTOM_RIGHT = RT_HANDLER_BOTTOM_MID + RT_HANDLER_MID_RIGHT, RT_HANDLER_BOTTOM_LEFT = RT_HANDLER_BOTTOM_MID + RT_HANDLER_MID_LEFT } |
Handler position enum. More... | |
enum | RT_MASK { RT_MASK_NONE = 0x00, RT_MASK_TOP_LEFT = 0x01, RT_MASK_TOP_MID = 0x02, RT_MASK_TOP_RIGHT = 0x04, RT_MASK_MID_RIGHT = 0x08, RT_MASK_BOTTOM_RIGHT = 0x10, RT_MASK_BOTTOM_MID = 0x20, RT_MASK_BOTTOM_LEFT = 0x40, RT_MASK_MID_LEFT = 0x80, RT_MASK_ALL = 0xFF } |
Mask to use with SetHandlerMask() to specify which handlers will be displayed. More... | |
enum | RT_STATE { RT_STATE_NONE = 0, RT_STATE_DRAGGING = 1, RT_STATE_MOUSE_CAPTURED = 2, RT_STATE_DISABLED = 4, RT_STATE_FIRSTDRAG = 8 } |
Current state of the wxRectTracker control. Currently only for internal use. More... | |
Variables | |
const wxEventType | wxEVT_TRACKER_CHANGED |
const wxEventType | wxEVT_TRACKER_CHANGING |
#define EVT_TRACKER_CHANGED | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY(wxEVT_TRACKER_CHANGED, id,\ wxID_ANY,\ (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)& fn, NULL),
Event fired when the user has decided a new position for the tracker (dragging is finished)
Definition at line 203 of file RectTracker.h.
#define EVT_TRACKER_CHANGING | ( | id, | |
fn | |||
) |
DECLARE_EVENT_TABLE_ENTRY(wxEVT_TRACKER_CHANGING, id,\ wxID_ANY,\ (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction)& fn, NULL),
Event fired when the user is being moving or resizing the tracker (dragging in process)
Definition at line 209 of file RectTracker.h.
enum RT_HANDLER |
Handler position enum.
Definition at line 21 of file RectTracker.h.
enum RT_MASK |
Mask to use with SetHandlerMask() to specify which handlers will be displayed.
Definition at line 46 of file RectTracker.h.
enum RT_STATE |
Current state of the wxRectTracker control. Currently only for internal use.
RT_STATE_NONE | |
RT_STATE_DRAGGING | |
RT_STATE_MOUSE_CAPTURED | |
RT_STATE_DISABLED | |
RT_STATE_FIRSTDRAG |
Definition at line 36 of file RectTracker.h.
const wxEventType wxEVT_TRACKER_CHANGED |
Definition at line 44 of file RectTracker.cpp.
const wxEventType wxEVT_TRACKER_CHANGING |
Definition at line 45 of file RectTracker.cpp.