|
VSTGUI
4.2
Graphical User Interface Framework not only for VST plugins
|
DataBrowser view. More...
Inheritance diagram for CDataBrowser:
Collaboration diagram for CDataBrowser:Classes | |
| struct | Cell |
| CDataBrowser Cell position description. More... | |
Public Types | |
| enum | CDataBrowserStyle { kDrawRowLines = 1 << kDrawRowLinesFlag, kDrawColumnLines = 1 << kDrawColumnLinesFlag, kDrawHeader = 1 << kDrawHeaderFlag, kMultiSelectionStyle = 1 << kMultiSelectionStyleFlag } |
| enum | { kNoSelection = -1 } |
| typedef std::vector< int32_t > | Selection |
| enum | CScrollViewStyle { kHorizontalScrollbar = 1 << kHorizontalScrollbarFlag, kVerticalScrollbar = 1 << kVerticalScrollbarFlag, kDontDrawFrame = 1 << kDontDrawFrameFlag, kAutoDragScrolling = 1 << kAutoDragScollingFlag, kOverlayScrollbars = 1 << kOverlayScrollbarsFlag, kFollowFocusView = 1 << kFollowFocusViewFlag, kAutoHideScrollbars = 1 << kAutoHideScrollbarsFlag } |
| typedef std::list < SharedPointer< CView > >::const_iterator | ChildViewConstIterator |
| typedef std::list < SharedPointer< CView > >::const_reverse_iterator | ChildViewConstReverseIterator |
Public Member Functions | |
| CDataBrowser (const CRect &size, IDataBrowserDelegate *db, int32_t style=0, CCoord scrollbarWidth=16, CBitmap *pBackground=0) | |
| CDataBrowser (const CRect &size, CFrame *pParent, IDataBrowserDelegate *db, int32_t style=0, CCoord scrollbarWidth=16, CBitmap *pBackground=0) | |
| IDataBrowserDelegate * | getDataSource () const |
| CRect | getCellBounds (int32_t row, int32_t column) |
| void | invalidate (int32_t row, int32_t column) |
| void | beginTextEdit (int32_t row, int32_t column, UTF8StringPtr initialText) |
| void | setAutosizeFlags (int32_t flags) |
| set autosize flags More... | |
| void | setViewSize (const CRect &size, bool invalid) |
| set views size More... | |
| void | setWantsFocus (bool state) |
| set focus support on/off More... | |
| int32_t | onKeyDown (VstKeyCode &keyCode) |
| called if a key down event occurs and this view has focus More... | |
| CMouseEventResult | onMouseDown (CPoint &where, const CButtonState &buttons) |
| called when a mouse down event occurs More... | |
| bool | addView (CView *pView) |
| add a child view More... | |
| bool | addView (CView *pView, const CRect &mouseableArea, bool mouseEnabled=true) |
| add a child view More... | |
| bool | addView (CView *pView, CView *pBefore) |
| add a child view before another view More... | |
| bool | removeView (CView *pView, bool withForget=true) |
| remove a child view More... | |
| bool | removeAll (bool withForget=true) |
| remove all child views More... | |
| int32_t | getNbViews () const |
| get the number of child views More... | |
| CView * | getView (int32_t index) const |
| get the child view at index More... | |
| void | drawBackgroundRect (CDrawContext *pContext, const CRect &_updateRect) |
| draw the background More... | |
| bool | onWheel (const CPoint &where, const CMouseWheelAxis &axis, const float &distance, const CButtonState &buttons) |
| called if a mouse wheel event is happening over this view More... | |
| virtual bool | onWheel (const CPoint &where, const float &distance, const CButtonState &buttons) |
| called if a mouse wheel event is happening over this view More... | |
| void | setTransparency (bool val) |
| set views transparent state More... | |
| void | setBackgroundColor (const CColor &color) |
| set the background color (will only be drawn if this container is not set to transparent and does not have a background bitmap) More... | |
| virtual bool | isTypeOf (IdStringPtr s) const |
| virtual CBaseObject * | newCopy () const |
| void | modifyDrawContext (CCoord save[4], CDrawContext *pContext) |
| void | restoreDrawContext (CDrawContext *pContext, CCoord save[4]) |
| virtual bool | advanceNextFocusView (CView *oldFocus, bool reverse=false) |
| virtual bool | invalidateDirtyViews () |
| virtual CRect | getVisibleSize (const CRect &rect) const |
| virtual void | draw (CDrawContext *pContext) |
| called if the view should draw itself More... | |
| virtual void | drawRect (CDrawContext *pContext, const CRect &updateRect) |
| called if the view should draw itself More... | |
| virtual CMouseEventResult | onMouseUp (CPoint &where, const CButtonState &buttons) |
| called when a mouse up event occurs More... | |
| virtual CMouseEventResult | onMouseMoved (CPoint &where, const CButtonState &buttons) |
| called when a mouse move event occurs More... | |
| virtual CMouseEventResult | onMouseCancel () |
| called when mouse tracking should be canceled More... | |
| virtual bool | hitTest (const CPoint &where, const CButtonState &buttons=-1) |
| check if where hits this view More... | |
| virtual void | onTouchEvent (ITouchEvent &event) |
| virtual bool | wantsMultiTouchEvents () const |
| virtual void | findSingleTouchEventTarget (ITouchEvent::Touch &event) |
| virtual bool | onDrop (IDataPackage *drag, const CPoint &where) |
| called if a drag is dropped onto this view More... | |
| virtual void | onDragEnter (IDataPackage *drag, const CPoint &where) |
| called if a drag is entering this view More... | |
| virtual void | onDragLeave (IDataPackage *drag, const CPoint &where) |
| called if a drag is leaving this view More... | |
| virtual void | onDragMove (IDataPackage *drag, const CPoint &where) |
| called if a drag is moved inside this view More... | |
| virtual void | looseFocus () |
| called if view should loose focus More... | |
| virtual void | takeFocus () |
| called if view should take focus More... | |
| virtual bool | isDirty () const |
| check if view is dirty More... | |
| virtual void | invalid () |
| mark whole view as invalid More... | |
| virtual void | invalidRect (const CRect &rect) |
| mark rect as invalid More... | |
| virtual void | parentSizeChanged () |
| notification that one of the views parent has changed its size More... | |
| virtual bool | sizeToFit () |
| resize view to optimal size More... | |
| virtual CPoint & | frameToLocal (CPoint &point) const |
| conversion from frame coordinates to local view coordinates More... | |
| virtual CPoint & | localToFrame (CPoint &point) const |
| conversion from local view coordinates to frame coordinates More... | |
| template<class ViewClass , class ContainerClass > | |
| uint32_t | getChildViewsOfType (ContainerClass &result, bool deep=false) const |
| virtual int32_t | controlModifierClicked (VSTGUI::CControl *pControl, VSTGUI::CButtonState button) |
| return 1 if you want the control to not handle it, otherwise 0 More... | |
| virtual void | controlBeginEdit (VSTGUI::CControl *pControl) |
| virtual void | controlEndEdit (VSTGUI::CControl *pControl) |
| virtual void | controlTagWillChange (VSTGUI::CControl *pControl) |
| virtual void | controlTagDidChange (VSTGUI::CControl *pControl) |
CDataBrowser Methods | |
| virtual void | recalculateLayout (bool rememberSelection=false) |
| trigger recalculation, call if numRows or numColumns changed More... | |
| virtual void | invalidate (const Cell &cell) |
| invalidates an individual cell More... | |
| virtual void | invalidateRow (int32_t row) |
| invalidates a complete row More... | |
| virtual void | makeRowVisible (int32_t row) |
| scrolls the scrollview so that row is visible More... | |
| virtual CRect | getCellBounds (const Cell &cell) |
| get bounds of a cell More... | |
| virtual Cell | getCellAt (const CPoint &where) const |
| get the cell at position where More... | |
| virtual int32_t | getSelectedRow () const |
| get first selected row More... | |
| virtual void | setSelectedRow (int32_t row, bool makeVisible=false) |
| set the exclusive selected row More... | |
| const Selection & | getSelection () const |
| get all selected rows More... | |
| virtual void | selectRow (int32_t row) |
| add row to selection More... | |
| virtual void | unselectRow (int32_t row) |
| remove row from selection More... | |
| virtual void | unselectAll () |
| empty selection More... | |
| virtual void | beginTextEdit (const Cell &cell, UTF8StringPtr initialText) |
| starts a text edit for a cell More... | |
| IDataBrowserDelegate * | getDelegate () const |
| get delegate object More... | |
CScrollView Methods | |
| int32_t | getStyle () const |
| void | setStyle (int32_t newStyle) |
| int32_t | getActiveScrollbars () const |
| CCoord | getScrollbarWidth () const |
| void | setScrollbarWidth (CCoord width) |
| virtual void | setContainerSize (const CRect &cs, bool keepVisibleArea=false) |
| set the virtual size of this container More... | |
| const CRect & | getContainerSize () const |
| const CPoint & | getScrollOffset () const |
| get scroll offset More... | |
| void | resetScrollOffset () |
| CScrollbar * | getVerticalScrollbar () const |
| get the vertical scrollbar More... | |
| CScrollbar * | getHorizontalScrollbar () const |
| get the horizontal scrollbar More... | |
| virtual void | makeRectVisible (const CRect &rect) |
| set scrollview to show rect More... | |
Sub View Methods | |
| virtual bool | isChild (CView *pView) const |
| check if pView is a child view of this container More... | |
| virtual bool | isChild (CView *pView, bool deep) const |
| check if pView is a child view of this container More... | |
| virtual bool | hasChildren () const |
| check if container has child views More... | |
| virtual CView * | getViewAt (const CPoint &where, bool deep=false, bool mustbeMouseEnabled=false) const |
| get the view at point where More... | |
| virtual CViewContainer * | getContainerAt (const CPoint &where, bool deep=true) const |
| get the container at point where More... | |
| virtual bool | getViewsAt (const CPoint &where, std::list< SharedPointer< CView > > &views, bool deep=true) const |
| get all views at point where, top->down More... | |
| virtual bool | changeViewZOrder (CView *view, int32_t newIndex) |
| change view z order position More... | |
| virtual void | setAutosizingEnabled (bool state) |
| enable or disable autosizing subviews. Per default this is enabled. More... | |
| bool | getAutosizingEnabled () const |
Background Methods | |
| virtual CColor | getBackgroundColor () const |
| get the background color More... | |
| virtual void | setBackgroundOffset (const CPoint &p) |
| set the offset of the background bitmap More... | |
| virtual const CPoint & | getBackgroundOffset () const |
| get the offset of the background bitmap More... | |
| virtual void | setBackgroundColorDrawStyle (CDrawStyle style) |
| CDrawStyle | getBackgroundColorDrawStyle () const |
Mouse Methods | |
| virtual CMouseEventResult | onMouseEntered (CPoint &where, const CButtonState &buttons) |
| called when the mouse enters this view More... | |
| virtual CMouseEventResult | onMouseExited (CPoint &where, const CButtonState &buttons) |
| called when the mouse leaves this view More... | |
| void | setHitTestPath (CGraphicsPath *path) |
| virtual void | setMouseEnabled (bool bEnable=true) |
| turn on/off mouse usage for this view More... | |
| virtual bool | getMouseEnabled () const |
| get the state of wheather this view uses the mouse or not More... | |
| virtual void | setMouseableArea (const CRect &rect) |
| set the area in which the view reacts to the mouse More... | |
| virtual CRect & | getMouseableArea (CRect &rect) const |
| get the area in which the view reacts to the mouse More... | |
| virtual const CRect & | getMouseableArea () const |
| read only access to the mouseable area More... | |
Keyboard Methods | |
| virtual int32_t | onKeyUp (VstKeyCode &keyCode) |
| called if a key up event occurs and this view has focus More... | |
View Size Methods | |
| CCoord | getHeight () const |
| get the height of the view More... | |
| CCoord | getWidth () const |
| get the width of the view More... | |
| CRect & | getViewSize (CRect &rect) const |
| returns the current view size More... | |
| const CRect & | getViewSize () const |
| read only access to view size More... | |
| virtual CRect | getVisibleViewSize () const |
| returns the visible size of the view More... | |
| virtual int32_t | getAutosizeFlags () const |
| get autosize flags More... | |
Focus Methods | |
| virtual bool | wantsFocus () const |
| check if view supports focus More... | |
Attribute Methods | |
| bool | getAttributeSize (const CViewAttributeID id, int32_t &outSize) const |
| get the size of an attribute More... | |
| bool | getAttribute (const CViewAttributeID id, const int32_t inSize, void *outData, int32_t &outSize) const |
| get an attribute More... | |
| bool | setAttribute (const CViewAttributeID id, const int32_t inSize, const void *inData) |
| set an attribute More... | |
| bool | removeAttribute (const CViewAttributeID id) |
| remove an attribute More... | |
Background Methods | |
| virtual void | setBackground (CBitmap *background) |
| set the background image of this view More... | |
| CBitmap * | getBackground () const |
| get the background image of this view More... | |
| virtual void | setDisabledBackground (CBitmap *background) |
| set background image used when the mouse is not enabled More... | |
| CBitmap * | getDisabledBackground () const |
| get background image used when the mouse is not enabled More... | |
| CBitmap * | getDrawBackground () const |
Transparency Methods | |
| virtual bool | getTransparency () const |
| get views transparent state More... | |
| virtual void | setAlphaValue (float alpha) |
| set alpha value which will be applied when drawing this view More... | |
| float | getAlphaValue () const |
| get alpha value More... | |
Attaching Methods | |
| bool | isAttached () const |
| is view attached to a parentView More... | |
Parent Methods | |
| CView * | getParentView () const |
| get parent view More... | |
| CFrame * | getFrame () const |
| get frame More... | |
| virtual VSTGUIEditorInterface * | getEditor () const |
| get editor More... | |
Animation Methods | |
| void | addAnimation (IdStringPtr name, Animation::IAnimationTarget *target, Animation::ITimingFunction *timingFunction, CBaseObject *notificationObject=0) |
| void | removeAnimation (IdStringPtr name) |
| void | removeAllAnimations () |
Reference Counting Methods | |
| virtual void | forget () |
| decrease refcount and delete object if refcount == 0 More... | |
| virtual void | remember () |
| increase refcount More... | |
| virtual int32_t | getNbReference () const |
| get refcount More... | |
Protected Types | |
| enum | { kDrawRowLinesFlag = kLastScrollViewStyleFlag, kDrawColumnLinesFlag, kDrawHeaderFlag, kMultiSelectionStyleFlag } |
| enum | { kHorizontalScrollbarFlag, kVerticalScrollbarFlag, kDontDrawFrameFlag, kAutoDragScollingFlag, kOverlayScrollbarsFlag, kFollowFocusViewFlag, kAutoHideScrollbarsFlag, kLastScrollViewStyleFlag } |
| enum | { kHSBTag, kVSBTag } |
| enum | { kAutosizeSubviews = 1 << (CView::kLastCViewFlag + 1) } |
| enum | { kMouseEnabled = 1 << 0, kTransparencyEnabled = 1 << 1, kWantsFocus = 1 << 2, kIsAttached = 1 << 3, kVisible = 1 << 4, kDirty = 1 << 5, kWantsIdle = 1 << 6, kLastCViewFlag = 6 } |
Protected Member Functions | |
| ~CDataBrowser () | |
| void | valueChanged (CControl *pControl) |
| CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
| bool | attached (CView *parent) |
| view is attached to a parent view More... | |
| bool | removed (CView *parent) |
| view is removed from parent view More... | |
| void | recalculateSubViews () |
| void | validateSelection () |
| virtual bool | checkUpdateRect (CView *view, const CRect &rect) |
| virtual bool | hitTestSubViews (const CPoint &where, const CButtonState buttons=-1) |
| void | drawBackToFront (CDrawContext *context, const CRect &rect) |
| CGraphicsPath * | getHitTestPath () const |
Protected Attributes | |
| IDataBrowserDelegate * | db |
| CDataBrowserView * | dbView |
| CDataBrowserHeader * | dbHeader |
| CViewContainer * | dbHeaderContainer |
| Selection | selection |
| CScrollContainer * | sc |
| CScrollbar * | vsb |
| CScrollbar * | hsb |
| CRect | containerSize |
| CCoord | scrollbarWidth |
| int32_t | style |
| int32_t | activeScrollbarStyle |
| CDrawStyle | backgroundColorDrawStyle |
| CColor | backgroundColor |
| CPoint | backgroundOffset |
| CRect | lastDrawnFocus |
| CView * | currentDragView |
| CView * | mouseDownView |
| CRect | size |
| CRect | mouseableArea |
| CFrame * | pParentFrame |
| CView * | pParentView |
| int32_t | viewFlags |
| int32_t | autosizeFlags |
| float | alphaValue |
Draw and Update Methods | |
| virtual bool | checkUpdate (const CRect &updateRect) const |
| virtual void | setDirty (bool val=true) |
| set the view to dirty so that it is redrawn in the next idle. Thread Safe ! More... | |
| virtual void | setVisible (bool state) |
| set visibility state More... | |
| bool | isVisible () const |
| get visibility state More... | |
| static bool | kDirtyCallAlwaysOnMainThread = false |
| if this is true, setting a view dirty will call invalid() instead of checking it in idle. Default value is false. More... | |
Drag & Drop Methods | |
| enum | DragResult { kDragRefused = 0, kDragMoved, kDragCopied, kDragError = -1 } |
| virtual DragResult | doDrag (IDataPackage *source, const CPoint &offset=CPoint(0, 0), CBitmap *dragBitmap=0) |
| start a drag operation. See CDropSource to create the source data package More... | |
Idle Methods | |
Should be used when a view needs to do a task periodically. The onIdle() method will be called only if the view is attached. | |
| virtual void | onIdle () |
| called on idle when view wants idle More... | |
| void | setWantsIdle (bool state) |
| enable/disable onIdle() callback More... | |
| bool | wantsIdle () const |
| returns if the view wants idle callback or not More... | |
| static int32_t | idleRate |
| global idle rate in Hz, defaults to 30 Hz More... | |
DataBrowser view.
|
inherited |
|
inherited |
| typedef std::vector<int32_t> Selection |
|
protectedinherited |
|
protectedinherited |
|
protected |
| enum CDataBrowserStyle |
|
inherited |
Scroll View Style Flags
|
inherited |
| CDataBrowser | ( | const CRect & | size, |
| IDataBrowserDelegate * | db, | ||
| int32_t | style = 0, |
||
| CCoord | scrollbarWidth = 16, |
||
| CBitmap * | pBackground = 0 |
||
| ) |
| size | size of data browser |
| pParent | frame |
| db | data browser interface. If db is inheritated from CBaseObject it will be remembered and released if data browser is destroyed |
| style | data browser and scroll view style see CDataBrowserStyle and CScrollViewStyle |
| scrollbarWidth | width of scrollbars |
| pBackground | background bitmap |
Here is the call graph for this function:| CDataBrowser | ( | const CRect & | size, |
| CFrame * | pParent, | ||
| IDataBrowserDelegate * | db, | ||
| int32_t | style = 0, |
||
| CCoord | scrollbarWidth = 16, |
||
| CBitmap * | pBackground = 0 |
||
| ) |
| size | size of data browser |
| pParent | frame |
| db | data browser interface. If db is inheritated from CBaseObject it will be remembered and released if data browser is destroyed |
| style | data browser and scroll view style see CDataBrowserStyle and CScrollViewStyle |
| scrollbarWidth | width of scrollbars |
| pBackground | background bitmap |
Here is the call graph for this function:
|
protected |
Here is the call graph for this function:
|
inherited |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
|
virtualinherited |
add a child view
Reimplemented from CViewContainer.
add a child view before another view
Reimplemented from CViewContainer.
|
virtualinherited |
|
protectedvirtual |
view is attached to a parent view
| parent | parent view |
Reimplemented from CViewContainer.
Here is the call graph for this function:
|
virtual |
starts a text edit for a cell
| row | row number |
| column | column number |
| initialText | UTF-8 string the text edit field will be initialized with |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
change view z order position
Reimplemented in CShadowViewContainer, and CAutoLayoutContainerView.
Here is the caller graph for this function:
|
inlinevirtualinherited |
Here is the call graph for this function:
|
inlinevirtualinherited |
Reimplemented in DelegationController, VST3Editor, CColorChooser, GroupController, and PadController.
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented in DelegationController, VST3Editor, CColorChooser, GroupController, and PadController.
Here is the caller graph for this function:
|
inlinevirtualinherited |
return 1 if you want the control to not handle it, otherwise 0
Reimplemented in DelegationController.
Here is the caller graph for this function:
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
virtualinherited |
start a drag operation. See CDropSource to create the source data package
a drag can only be started from within onMouseDown
| source | source drop |
| offset | bitmap offset |
| dragBitmap | bitmap to drag |
Reimplemented in CFrame.
Here is the call graph for this function:
|
virtualinherited |
|
virtualinherited |
|
protectedinherited |
|
virtualinherited |
called if the view should draw itself
Reimplemented from CView.
Reimplemented in CFrame, CShadowViewContainer, and CLayeredViewContainer.
Here is the caller graph for this function:
|
virtualinherited |
Here is the caller graph for this function:
|
inlinevirtualinherited |
decrease refcount and delete object if refcount == 0
conversion from frame coordinates to local view coordinates
| point | location |
Reimplemented from CView.
Here is the caller graph for this function:
|
inlineinherited |
Here is the caller graph for this function:
|
inlineinherited |
get alpha value
Here is the caller graph for this function:
|
inherited |
get an attribute
| aId | the ID of the Attribute |
| inSize | the size of the outData pointer |
| outData | a pointer where to copy the attribute data |
| outSize | the size in bytes which was copied into outData |
Here is the caller graph for this function:
|
inherited |
get the size of an attribute
| aId | the ID of the Attribute |
| outSize | on return the size of the attribute |
Here is the caller graph for this function:
|
inlinevirtualinherited |
get autosize flags
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
get the background image of this view
Here is the caller graph for this function:
|
inlinevirtualinherited |
get the background color
|
inlineinherited |
|
inlinevirtualinherited |
get the offset of the background bitmap
|
virtual |
get the cell at position where
get bounds of a cell
| row | row number |
| column | column number |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
get child views of type ViewClass. ContainerClass must be a stdc++ container
|
virtualinherited |
get the container at point where
Reimplemented in CFrame.
Here is the caller graph for this function:
|
inlineinherited |
Here is the caller graph for this function:
|
inline |
|
inline |
get delegate object
Here is the caller graph for this function:
|
inlineinherited |
get background image used when the mouse is not enabled
|
inlineinherited |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
|
inlineinherited |
get frame
Here is the caller graph for this function:
|
inlineinherited |
get the height of the view
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotectedinherited |
|
inlineinherited |
get the horizontal scrollbar
get the area in which the view reacts to the mouse
Here is the caller graph for this function:
|
inlinevirtualinherited |
read only access to the mouseable area
Here is the caller graph for this function:
|
inlinevirtualinherited |
get the state of wheather this view uses the mouse or not
Here is the caller graph for this function:
|
inlinevirtualinherited |
get refcount
|
virtualinherited |
get the number of child views
Reimplemented from CViewContainer.
|
inlineinherited |
get parent view
Here is the caller graph for this function:
|
inlineinherited |
Here is the caller graph for this function:
|
inherited |
get scroll offset
Here is the caller graph for this function:
|
virtual |
get first selected row
Here is the caller graph for this function:
|
inline |
get all selected rows
|
inlineinherited |
Here is the caller graph for this function:
|
inlinevirtualinherited |
get views transparent state
Here is the caller graph for this function:
|
inlineinherited |
get the vertical scrollbar
Here is the caller graph for this function:
|
virtualinherited |
get the child view at index
Reimplemented from CViewContainer.
|
virtualinherited |
get all views at point where, top->down
returns the current view size
Here is the caller graph for this function:
|
inlineinherited |
read only access to view size
Here is the caller graph for this function:
|
virtualinherited |
returns the visible size of the view
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
get the width of the view
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
check if container has child views
|
virtualinherited |
check if where hits this view
| where | location |
| buttons | button and modifier state |
Reimplemented from CView.
|
protectedvirtualinherited |
|
virtualinherited |
|
virtual |
invalidates an individual cell
| row | row to invalidate |
| column | column to invalidate |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
Here is the caller graph for this function:
|
virtual |
invalidates a complete row
| row | row to invalidate |
Here is the caller graph for this function:
|
virtualinherited |
mark rect as invalid
| rect | rect to invalidate |
Reimplemented from CView.
Reimplemented in CFrame, and CLayeredViewContainer.
Here is the caller graph for this function:
|
inlineinherited |
is view attached to a parentView
Here is the caller graph for this function:
|
virtualinherited |
check if pView is a child view of this container
Here is the caller graph for this function:
|
virtualinherited |
check if pView is a child view of this container
|
virtualinherited |
check if view is dirty
Reimplemented from CView.
|
inlinevirtualinherited |
Reimplemented from CViewContainer.
|
inlineinherited |
get visibility state
Here is the caller graph for this function:conversion from local view coordinates to frame coordinates
| point | location |
Reimplemented from CView.
Here is the caller graph for this function:
|
virtualinherited |
called if view should loose focus
Reimplemented from CView.
|
virtualinherited |
set scrollview to show rect
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
scrolls the scrollview so that row is visible
| row | row to make visible |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented from CViewContainer.
|
protectedvirtual |
| sender | message sender |
| message | message text |
Reimplemented from CViewContainer.
Here is the call graph for this function:
|
virtualinherited |
called if a drag is entering this view
Reimplemented from CView.
Here is the caller graph for this function:
|
virtualinherited |
called if a drag is leaving this view
Reimplemented from CView.
Here is the caller graph for this function:
|
virtualinherited |
called if a drag is moved inside this view
Reimplemented from CView.
Here is the caller graph for this function:
|
virtualinherited |
called if a drag is dropped onto this view
Reimplemented from CView.
Here is the caller graph for this function:
|
inlinevirtualinherited |
called on idle when view wants idle
Reimplemented in CVuMeter.
|
virtual |
called if a key down event occurs and this view has focus
| keyCode | key code of pressed key |
Reimplemented from CView.
Here is the caller graph for this function:
|
virtualinherited |
called if a key up event occurs and this view has focus
| keyCode | key code of pressed key |
Reimplemented in CTextButton, CFrame, CKickButton, and CRockerSwitch.
Here is the caller graph for this function:
|
virtualinherited |
called when mouse tracking should be canceled
Reimplemented from CView.
|
virtual |
called when a mouse down event occurs
| where | mouse location of mouse down |
| buttons | button and modifier state |
Reimplemented from CViewContainer.
Here is the call graph for this function:
|
inlinevirtualinherited |
called when the mouse enters this view
Reimplemented in CScrollbar.
|
inlinevirtualinherited |
called when the mouse leaves this view
Reimplemented in CScrollbar, and CFrame.
Here is the caller graph for this function:
|
virtualinherited |
called when a mouse move event occurs
| where | mouse location of mouse move |
| buttons | button and modifier state |
Reimplemented from CView.
Reimplemented in CFrame.
Here is the caller graph for this function:
|
virtualinherited |
called when a mouse up event occurs
| where | mouse location of mouse up |
| buttons | button and modifier state |
Reimplemented from CView.
Reimplemented in CFrame.
Here is the caller graph for this function:
|
virtualinherited |
|
virtualinherited |
|
virtualinherited |
called if a mouse wheel event is happening over this view
| where | location |
| axis | mouse wheel axis |
| distance | wheel distance |
| buttons | button and modifier state |
Reimplemented from CViewContainer.
Here is the call graph for this function:
|
virtualinherited |
notification that one of the views parent has changed its size
Reimplemented from CView.
Reimplemented in CLayeredViewContainer.
Here is the caller graph for this function:
|
virtual |
trigger recalculation, call if numRows or numColumns changed
| rememberSelection | if true selection will be remembered |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
|
inlinevirtualinherited |
increase refcount
Here is the caller graph for this function:
|
virtualinherited |
remove all child views
Reimplemented from CViewContainer.
|
inherited |
Here is the call graph for this function:
|
inherited |
Here is the call graph for this function:
|
inherited |
remove an attribute
Here is the caller graph for this function:
|
protectedvirtual |
view is removed from parent view
| parent | parent view |
Reimplemented from CViewContainer.
Here is the call graph for this function:
|
virtualinherited |
|
inherited |
Here is the call graph for this function:
|
inherited |
Here is the caller graph for this function:
|
virtual |
add row to selection
Here is the call graph for this function:
|
virtualinherited |
set alpha value which will be applied when drawing this view
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
set an attribute
copies data into the attribute. If it does not exist, creates a new attribute.
| aId | the ID of the Attribute |
| inSize | the size of the outData pointer |
| inData | a pointer to the data |
Here is the caller graph for this function:
|
virtual |
set autosize flags
Reimplemented from CView.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
enable or disable autosizing subviews. Per default this is enabled.
Here is the caller graph for this function:
|
virtualinherited |
|
virtualinherited |
set the background color (will only be drawn if this container is not set to transparent and does not have a background bitmap)
Reimplemented from CViewContainer.
Here is the call graph for this function:
|
virtualinherited |
|
inlinevirtualinherited |
set the offset of the background bitmap
Here is the caller graph for this function:
|
virtualinherited |
set the virtual size of this container
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
|
virtualinherited |
set background image used when the mouse is not enabled
| background | new disabled background bitmap |
Here is the call graph for this function:
|
inherited |
| path | the path to use for hit testing. The path will be translated by this views origin, so that the path must not be set again, if the view is moved. Otherwise when the size of the view changes, the path must also be set again. |
|
inlinevirtualinherited |
set the area in which the view reacts to the mouse
Here is the caller graph for this function:
|
virtualinherited |
turn on/off mouse usage for this view
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
Here is the call graph for this function:
|
virtual |
set the exclusive selected row
| index | row to select |
| makeVisible | if true makes row visible |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
Here is the call graph for this function:
|
virtualinherited |
set views transparent state
Reimplemented from CView.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
set views size
| newSize | rect of new size of view |
| invalid | if true set view dirty |
Reimplemented from CViewContainer.
Here is the call graph for this function:
|
virtualinherited |
set visibility state
Reimplemented in COpenGLView.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
set focus support on/off
Reimplemented from CView.
|
inherited |
enable/disable onIdle() callback
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtualinherited |
resize view to optimal size
Reimplemented from CView.
Reimplemented in CRowColumnView, and CSplitView.
Here is the caller graph for this function:
|
virtualinherited |
called if view should take focus
Reimplemented from CView.
|
virtual |
empty selection
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
remove row from selection
Here is the call graph for this function:
|
protected |
Here is the call graph for this function:
Here is the caller graph for this function:
|
protectedvirtual |
|
inlinevirtualinherited |
check if view supports focus
Here is the caller graph for this function:
|
inlineinherited |
returns if the view wants idle callback or not
Here is the caller graph for this function:
|
inlinevirtualinherited |
Reimplemented from CView.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
staticinherited |
global idle rate in Hz, defaults to 30 Hz
|
staticinherited |
if this is true, setting a view dirty will call invalid() instead of checking it in idle. Default value is false.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |