1 /* 2 * drawrrow.h 3 * DIN Is Noise is copyright (c) 2006-2021 Jagannathan Sampath 4 * DIN Is Noise is released under GNU Public License 2.0 5 * For more information, please visit http://dinisnoise.org/ 6 */ 7 8 #ifndef __DRAWRROW 9 #define __DRAWRROW 10 11 #include "widget.h" 12 13 struct drawrrow : widget { 14 15 float pts[20]; 16 int npts; 17 int ux, uy; 18 int vx, vy; 19 int x, y; 20 21 drawrrow (); 22 void calc (); 23 void set_pos (int xx, int yy); 24 void draw (); 25 26 }; 27 28 #endif 29