17 lines
642 B
C
17 lines
642 B
C
#ifndef INCLUDE_WAYLANDCLIENT_CAT_WAYLAND_H_
|
|
#define INCLUDE_WAYLANDCLIENT_CAT_WAYLAND_H_
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
struct cat_Wl;
|
|
struct cat_Wl *cat_init_wl(const char *name, int width, int heigh,
|
|
struct Vk **vk);
|
|
void cat_wl_draw(struct cat_Wl *state);
|
|
void cat_uninit_wl(struct cat_Wl *state);
|
|
bool cat_wl_should_close(struct cat_Wl *state);
|
|
bool cat_wl_is_key_pressed(struct cat_Wl *state, uint32_t key);
|
|
bool cat_wl_was_key_just_pressed(struct cat_Wl *state, uint32_t key);
|
|
bool cat_wl_was_key_just_released(struct cat_Wl *state, uint32_t key);
|
|
|
|
#endif // INCLUDE_WAYLANDCLIENT_CAT_WAYLAND_H_
|