-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmove_option.c
37 lines (32 loc) · 1.17 KB
/
move_option.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* move_option.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tyassine <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/06/29 18:59:24 by tyassine #+# #+# */
/* Updated: 2016/06/29 19:00:06 by tyassine ### ########.fr */
/* */
/* ************************************************************************** */
#include "fdf.h"
void move_image_up(t_win *win)
{
win->move_ud -= 10;
erase(win);
}
void move_image_down(t_win *win)
{
win->move_ud += 10;
erase(win);
}
void move_image_left(t_win *win)
{
win->move_lr -= 10;
erase(win);
}
void move_image_right(t_win *win)
{
win->move_lr += 10;
erase(win);
}