Rev 2097 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1778 | jag | 1 | /* |
2 | * drawrrow.h |
||
2302 | jag | 3 | * DIN Is Noise is copyright (c) 2006-2025 Jagannathan Sampath |
1804 | jag | 4 | * DIN Is Noise is released under GNU Public License 2.0 |
1778 | jag | 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 | |||
1804 | jag | 15 | float pts[20]; |
1778 | jag | 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 |