Make HID_DRAW * an instance of the HID_DRAW class, not the API vfunc tableapi_refactor/make-hid_draw-an-instance-of
commit65c1101bc3789c1490c1255a5e369fa9013c9e67
authorPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 7 Jan 2016 02:18:58 +0000 (7 02:18 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 7 Jan 2016 02:18:58 +0000 (7 02:18 +0000)
treee98a34b71c4b83e7d191fbe9ac3bd36ce0bb716f
parent9f150dcdefcbc693049ec82dc35825325393fe8d
Make HID_DRAW * an instance of the HID_DRAW class, not the API vfunc table

This allows us to store per-instance parameters in a clean structure.
17 files changed:
src/hid/batch/batch.c
src/hid/common/draw_helpers.c
src/hid/common/draw_helpers.h
src/hid/common/extents.c
src/hid/common/hidnogui.c
src/hid/gcode/gcode.c
src/hid/gerber/gerber.c
src/hid/gtk/gtkhid-gl.c
src/hid/gtk/gtkhid-main.c
src/hid/lesstif/main.c
src/hid/lpr/lpr.c
src/hid/nelma/nelma.c
src/hid/png/png.c
src/hid/ps/eps.c
src/hid/ps/ps.c
src/hid/ps/ps.h
src/hid_draw.h