#include <wxTimelineCtrl.h>
|
enum | ElementType {
ET_NONE = 0
, ET_TIMELINE
, ET_SCROLLER
, ET_VISIBLE_FRAME
,
ET_VISIBLE_FRAME_LEFT
, ET_VISIBLE_FRAME_RIGHT
, ET_LEFT_ARROW
, ET_RIGHT_ARROW
,
ET_SCROLLER_ITEM_DRAG
, ET_TIMELINE_ITEM
, ET_TIMELINE_ITEM_MAX = ET_TIMELINE_ITEM + MAX_ITEMS * 3
, ET_TIMELINE_SELECTION
,
ET_MAX
} |
|
enum | ZoomPreset {
ZOOM_SECONDS_10 = 10
, ZOOM_SECONDS_30 = 30
, ZOOM_MINUTE_1 = 60
, ZOOM_MINUTES_2 = 120
,
ZOOM_MINUTES_5 = 300
, ZOOM_MINUTES_10 = 600
, ZOOM_ALL = -1
} |
|
using | TimelineItemVector = wxVector< TimelineItem< T > > |
|
|
| wxTimelineCtrl () |
|
| wxTimelineCtrl (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) |
|
virtual | ~wxTimelineCtrl () |
|
bool | Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) |
|
void | Init () |
|
void | ZoomToSelection () |
|
void | ZoomToTimePoint (int timePoint, int zoomLevel=-1) |
|
void | ClearSelection () |
|
const wxVector< size_t > & | GetSelectedItems () const |
|
bool | IsItemSelected (size_t index) const |
|
void | ToggleItemSelection (size_t index) |
|
void | SelectItem (size_t index, bool clearPrevious=true) |
|
void | RemoveSelectedItems () |
|
void | RemoveContextScrollerItem () |
|
int | GetZoomLevel () const |
|
void | SetZoomLevel (int zoomLevelSeconds) |
|
void | ShowAllTimeline () |
|
void | AddItem (T *data, const wxColour &colour=wxNullColour) |
|
bool | SetItemColor (size_t index, const wxColour &colour) |
|
bool | SetItemColor (T *data, const wxColour &colour) |
|
void | UpdateTotalDurationForItems () |
|
void | RemoveItem (T *data) |
|
void | ClearItems () |
|
void | SwapItems (T *item1, T *item2) |
|
wxColour | GetItemColour (int index) |
|
wxColour | GetItemColor (size_t index) const |
|
wxColour | GetItemColor (T *data) const |
|
void | SetStartTime (const wxDateTime &val) |
|
wxDateTime | GetStartTime () const |
|
void | SetDefaultDuration (int seconds) |
|
int | GetDefaultDuration () const |
|
void | SetTotalDuration (int seconds) |
|
int | GetTotalDuration () const |
|
void | SetFirstVisibleTime (int seconds) |
|
int | GetFirstVisibleTime () const |
|
int | GetLastVisibleTime () const |
|
void | SetVisibleTimeRange (int startSeconds, int endSeconds) |
|
void | SetVisibleDuration (int seconds) |
|
int | GetVisibleDuration () const |
|
void | ZoomAtPosition (int deltaSeconds, int fixedTimePosition=-1) |
|
void | Zoom (int deltaSeconds) |
|
void | SetZoomPreset (ZoomPreset preset) |
|
void | CenterOnTime (int seconds) |
|
int | ScrollerTimeToCoord (int time) |
|
int | TimelineTimeToCoord (int time) |
|
int | ScrollerCoordToTime (int coord) const |
|
int | TimelineCoordToTime (int coord) |
|
int | ClampFirstVisibleTime (int first) const |
|
◆ TimelineItemVector
◆ ElementType
Enumerator |
---|
ET_NONE | |
ET_TIMELINE | |
ET_SCROLLER | |
ET_VISIBLE_FRAME | |
ET_VISIBLE_FRAME_LEFT | |
ET_VISIBLE_FRAME_RIGHT | |
ET_LEFT_ARROW | |
ET_RIGHT_ARROW | |
ET_SCROLLER_ITEM_DRAG | |
ET_TIMELINE_ITEM | |
ET_TIMELINE_ITEM_MAX | |
ET_TIMELINE_SELECTION | |
ET_MAX | |
◆ ZoomPreset
Enumerator |
---|
ZOOM_SECONDS_10 | |
ZOOM_SECONDS_30 | |
ZOOM_MINUTE_1 | |
ZOOM_MINUTES_2 | |
ZOOM_MINUTES_5 | |
ZOOM_MINUTES_10 | |
ZOOM_ALL | |
◆ wxTimelineCtrl() [1/2]
◆ wxTimelineCtrl() [2/2]
◆ ~wxTimelineCtrl()
◆ AddItem()
◆ AdjustMainViewToScrollerView()
◆ CalcArrowsState()
◆ CalcMaxVisibleDuration()
◆ CenterOnTime()
◆ ChangeLastElement()
◆ ClampFirstVisibleTime()
◆ ClearItems()
◆ ClearSelection()
◆ Create()
◆ Draw()
◆ DrawScroller()
◆ DrawTimeline()
◆ FindItem()
◆ FormatTime()
◆ GetCursorFromType()
◆ GetDefaultDuration()
◆ GetElementFromPos()
◆ GetFirstVisibleTime()
◆ GetItemColor() [1/2]
◆ GetItemColor() [2/2]
◆ GetItemColour()
◆ GetLastVisibleTime()
◆ GetSelectedItems()
◆ GetStartTime()
◆ GetTotalDuration()
◆ GetVisibleDuration()
◆ GetZoomLevel()
◆ Init()
◆ IsItemSelected()
◆ OnArrowDown()
◆ OnArrowUp()
◆ OnEnterElement()
◆ OnEraseBackground()
◆ OnKeyDown()
◆ OnLeaveElement()
◆ OnMouse()
◆ OnMouseCaptureLost()
◆ OnMouseDown()
◆ OnMouseDrag()
◆ OnMouseUp()
◆ OnPaint()
◆ OnScrollerDown()
◆ OnSize()
◆ OnTimelineDown()
◆ OnTimelineDrag()
◆ OnTimelineItemChangeLeft()
◆ OnTimelineItemChangeRight()
◆ OnTimelineItemMove()
◆ OnTimelineUp()
◆ OnTimer()
◆ OnVisibleFrameDown()
◆ OnVisibleFrameDrag()
◆ OnVisibleFrameUp()
◆ RecalcItems()
◆ RecalcRects()
◆ RecalcVisibleFrame()
◆ RemoveContextScrollerItem()
◆ RemoveItem()
◆ RemoveSelectedItems()
◆ ScrollerCoordToTime()
◆ ScrollerTimeToCoord()
◆ SelectItem()
◆ SendItemEvent()
◆ SetDefaultDuration()
◆ SetEventHandlers()
◆ SetFirstVisibleTime()
◆ SetItemColor() [1/2]
◆ SetItemColor() [2/2]
◆ SetStartTime()
◆ SetTotalDuration()
◆ SetVisibleDuration()
◆ SetVisibleTimeRange()
◆ SetZoomLevel()
◆ SetZoomPreset()
◆ ShowAllTimeline()
◆ ShowContextMenu()
◆ SwapItems()
◆ TimeChanged()
◆ TimelineCoordToTime()
◆ TimelineTimeToCoord()
◆ ToggleItemSelection()
◆ UpdateTotalDurationForItems()
◆ Zoom()
◆ ZoomAtPosition()
◆ ZoomToSelection()
◆ ZoomToTimePoint()
◆ m_activeTask
◆ m_ArrowDrawHeight
◆ m_ArrowDrawWidth
◆ m_ArrowWidth
◆ m_artProvider
◆ m_buffer
◆ m_clickToItemTimeOffset
◆ m_colorCounter
◆ m_contextMenuItemIndex
◆ m_cursorToDetachedVisualOffset
◆ m_cursorToFloatingWinOffset
◆ m_defaultDuration
◆ m_detachedDragItemOriginalIndex
◆ m_detachedDragItemScreenPos
◆ m_detachedDragItemSize
◆ m_detachedDragItemVisual
◆ m_dragCurrentPos
◆ m_dragFirstVisibleTime
◆ m_draggedScrollerItemIndex
◆ m_dragPreviewTime
◆ m_dragScrollerItemInitialClickTimeOffset
◆ m_dragStartPos
◆ m_dragVisibleDuration
◆ m_dropIndicatorRect
◆ m_dropIndicatorRectScroller
◆ m_dropTargetOnScrollerRect
◆ m_firstVisibleTime
◆ m_floatingItemOriginalIndex
◆ m_floatingItemVisualData
◆ m_floatingItemVisualSize
◆ m_GapHeight
◆ m_hoveredScrollerItemIndex
◆ m_isDraggingDetachedItem
◆ m_isDraggingFloatingItem
◆ m_isSelecting
◆ m_isSnapping
◆ m_items
◆ m_lastElement
◆ m_lastTask
◆ m_maxVisibleDuration
◆ m_MinItemSize
◆ m_minScrollerVisibleDuration
◆ m_minVisibleDuration
◆ m_mouseCaptured
◆ m_mouseDown
◆ m_moveDirection
◆ m_originalPositionPlaceholderColour
◆ m_originalPositionPlaceholderRectScroller
◆ m_pFloatingItemWin
◆ m_ptEndPos
◆ m_ptStartPos
◆ m_rectBackground
◆ m_rectLeftArrow
◆ m_rectLeftArrowDraw
◆ m_rectRightArrow
◆ m_rectRightArrowDraw
◆ m_rectScroller
◆ m_rectScrollerMain
◆ m_rectScrollerTimeScale
◆ m_rectScrollerTrack
◆ m_rectTimeline
◆ m_rectTimelineMain
◆ m_rectTimelineTimeScale
◆ m_rectTimelineTrack
◆ m_rectVisibleFrame
◆ m_rectVisibleFrameLeft
◆ m_rectVisibleFrameRight
◆ m_resizeBorder
◆ m_scrollerFirstVisibleTime
◆ m_ScrollerHeight
◆ m_ScrollerTimeScaleHeight
◆ m_scrollerVisibleDuration
◆ m_ScrollerVMargin
◆ m_selectedElement
◆ m_selectedItems
◆ m_selectionEnd
◆ m_selectionRect
◆ m_selectionStart
◆ m_showDropTargetOnScroller
◆ m_showOriginalPositionPlaceholder
◆ m_startTime
◆ m_stateLeftArrow
◆ m_stateRightArrow
◆ m_stateVisibleFrame
◆ m_TimelineTimeScaleHeight
◆ m_TimelineVMargin
◆ m_timerMove
◆ m_totalDuration
◆ m_totalTime
◆ m_visibleDuration
◆ m_visibleItemBegin
◆ m_visibleItemEnd
◆ MAX_ITEMS
The documentation for this class was generated from the following files: