aboutsummaryrefslogtreecommitdiff
path: root/src/dummy_window.c
blob: ae6e9c3e992a70f27a8dd9f7fd454bbbba259457 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#include "window.h"

#include <stdbool.h>
#include <unistd.h>

struct imv_window *imv_window_create(int w, int h, const char *title)
{
  (void)w;
  (void)h;
  (void)title;
  return NULL;
}

void imv_window_free(struct imv_window *window)
{
  (void)window;
}

void imv_window_clear(struct imv_window *window, unsigned char r,
    unsigned char g, unsigned char b)
{
  (void)window;
  (void)r;
  (void)g;
  (void)b;
}

void imv_window_get_size(struct imv_window *window, int *w, int *h)
{
  (void)window;
  (void)w;
  (void)h;
}

void imv_window_get_framebuffer_size(struct imv_window *window, int *w, int *h)
{
  (void)window;
  (void)w;
  (void)h;
}

void imv_window_set_title(struct imv_window *window, const char *title)
{
  (void)window;
  (void)title;
}

bool imv_window_is_fullscreen(struct imv_window *window)
{
  (void)window;
  return false;
}

void imv_window_set_fullscreen(struct imv_window *window, bool fullscreen)
{
  (void)window;
  (void)fullscreen;
}

bool imv_window_get_mouse_button(struct imv_window *window, int button)
{
  (void)window;
  (void)button;
  return false;
}

void imv_window_get_mouse_position(struct imv_window *window, double *x, double *y)
{
  (void)window;
  (void)x;
  (void)y;
}

void imv_window_present(struct imv_window *window)
{
  (void)window;
}

void imv_window_wait_for_event(struct imv_window *window, double timeout)
{
  (void)window;
  (void)timeout;
}

void imv_window_push_event(struct imv_window *window, struct imv_event *e)
{
  (void)window;
  (void)e;
}

void imv_window_pump_events(struct imv_window *window, imv_event_handler handler, void *data)
{
  (void)window;
  (void)handler;
  (void)data;
}