aboutsummaryrefslogtreecommitdiff
path: root/src/camera/privinc/camera_private.h
blob: e83c255e6bf43fa081c07d1b73e43f974bd120b8 (plain) (blame)
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
#ifndef CAMERA_PRIVATE_H
#define CAMERA_PRIVATE_H

#include <camera.h>
#include <input.h>
#include <mouse.h>
#include <pad.h>

#ifdef __cplusplus
extern "C"
{
#endif

enum
{
    CAMERA_CURSOR_WIDTH = 20,
    CAMERA_CURSOR_HEIGHT = 20
};

void camera_update_pos(struct camera *cam);
void camera_update_pad(struct camera *cam, const struct pad *p,
    const struct input *in);
void camera_update_mouse(struct camera *cam, const struct mouse *m);
void camera_update_touch(struct camera *cam, const struct mouse *m,
    const struct input *in);

#ifdef __cplusplus
}
#endif

#endif /* CAMERA_PRIVATE_H */