~ruther/CTU-FEE-B0B35APO-Semestral-project

ref: fede96edc958de9c79a761e5dd5dd2f3f9f557f3 CTU-FEE-B0B35APO-Semestral-project/image-viewer/include/direction.h -rw-r--r-- 248 bytes
fede96ed — František Boháček refactor: add option to clear display without render 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __DIRECTION_H__
#define __DIRECTION_H__

#include <stdint.h>

typedef enum {
  UP,
  LEFT,
  DOWN,
  RIGHT,
} direction_t;

void direction_move_xy(direction_t direction, uint16_t *x, uint16_t *y, int16_t amount);

#endif // __DIRECTION_H__