Kevin Larke
4cd55db162
cmGrPlot.h : Make callbacks for deselected objects when a new object is selected.
Added cmPlotObjCb() function.
9 gadus atpakaļ
kevin
0cccd0392d
cmGrPlot.c : Fixed apparent but in _cmGrPlotObjIsSelected()
Changed: memset(a,0,sizeof(a))
to: memset(a,0,sizeof(*a));
10 gadus atpakaļ
kevin
a112c6b6a2
cmGrPlot.c : _cmGrPlotObjDestroy() now checks if the object about to be
destroyed is the focused object and updates p->fop accordingly.
11 gadus atpakaļ
kevin
894d39466b
cmGrPlot.h/c: Removed superfluous use of const in function returning cmGrColor_t.
11 gadus atpakaļ
kevin
7777e82921
cmGrPlot.c: Changed op->userPtr release from _cmGrPlotObjDelete() to _cmGrPlotObjDestroy().
11 gadus atpakaļ
kevin
9d6ac977aa
Changed cmGr,cmGrPlot,cmGrPlotAudio to better handle events.
Rewrote cmGr.c::cmGrEvent()
Callback cmGrIsInsideObj() now must evaluate both if the mouse point is
inside the object and also if the object can handle the event. This
allows the actual plot object which can handle an event to be identified
by cmGrEvent().
_cmGrPlotObjEvent() still needs to be updated to account for these changes.
12 gadus atpakaļ
kevin
4c86711cb0
cmGrPlot.h/c Added comments.
12 gadus atpakaļ
kevin
e9c4d0edd2
Many changes to add score/performance feedback to GUI
12 gadus atpakaļ
kpl
fdf1a7c15a
cmGrPlot.h/c Added cmGrPlotObjParent/XAnchor/YAnchor().
12 gadus atpakaļ
kevin
00e2219a42
Corrected useage of pre-event vs state change
12 gadus atpakaļ
kpl
9d4c82ae37
cmGrPlot.h/c Added default plot obj callback function to mgr.
12 gadus atpakaļ
kevin
f1e70ee42a
cmGrPlot.c Added global wext assertion for HLines and VLines
12 gadus atpakaļ
kevin
b108da1911
Initial commit
12 gadus atpakaļ