Project

General

Profile

Revision 134

corrected dragging and flickering. now one or + pixels do not match

View differences:

sprite.h
11 11
void sprite_set_y(sprite_t *p, int y);
12 12
void sprite_set_pos(sprite_t *p, int x, int y);
13 13

  
14
int sprite_get_h(const sprite_t *p);
15
int sprite_get_w(const sprite_t *p);
16

  
14 17
void sprite_draw(const sprite_t *p);
15 18

  
16 19
#endif //SPRITE_H_INCLUDED

Also available in: Unified diff