Commit grafiek

13 Commits

Auteur SHA1 Bericht Datum
Kevin Larke
4cd55db162 cmGrPlot.h : Make callbacks for deselected objects when a new object is selected.
Added cmPlotObjCb() function.
2015-03-31 11:17:58 -07:00
kevin
0cccd0392d cmGrPlot.c : Fixed apparent but in _cmGrPlotObjIsSelected()
Changed: memset(a,0,sizeof(a))
to:      memset(a,0,sizeof(*a));
2014-02-01 12:49:05 -08:00
kevin
a112c6b6a2 cmGrPlot.c : _cmGrPlotObjDestroy() now checks if the object about to be
destroyed is the focused object and updates p->fop accordingly.
2013-09-28 12:31:21 -07:00
kevin
894d39466b cmGrPlot.h/c: Removed superfluous use of const in function returning cmGrColor_t. 2013-05-01 14:59:29 -07:00
kevin
7777e82921 cmGrPlot.c: Changed op->userPtr release from _cmGrPlotObjDelete() to _cmGrPlotObjDestroy(). 2013-01-30 20:29:23 -08:00
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.
2012-12-17 20:54:37 -08:00
kevin
4c86711cb0 cmGrPlot.h/c Added comments. 2012-12-17 12:45:45 -08:00
kevin
e9c4d0edd2 Many changes to add score/performance feedback to GUI 2012-12-13 15:38:45 -08:00
kpl
fdf1a7c15a cmGrPlot.h/c Added cmGrPlotObjParent/XAnchor/YAnchor(). 2012-11-26 23:02:02 -08:00
kevin
00e2219a42 Corrected useage of pre-event vs state change 2012-11-16 12:12:33 -08:00
kpl
9d4c82ae37 cmGrPlot.h/c Added default plot obj callback function to mgr. 2012-11-14 20:04:42 -08:00
kevin
f1e70ee42a cmGrPlot.c Added global wext assertion for HLines and VLines 2012-11-02 19:05:38 -07:00
kevin
b108da1911 Initial commit 2012-10-29 20:52:39 -07:00