Add unigi_input_mouse_capture
This commit is contained in:
parent
cc36d7c9da
commit
4fe6e4dcbf
3
main.h
3
main.h
@ -13,6 +13,9 @@ void unigi_graphics_draw(unigi_type_resolution_1d_coord index, unigi_type_color
|
||||
void unigi_graphics_blit(unigi_type_resolution_1d_coord index, unigi_type_color * pixels, unigi_type_resolution_1d_coord length);
|
||||
void unigi_graphics_flush();
|
||||
|
||||
// INPUT
|
||||
void unigi_input_mouse_capture(unigi_type_bool captured);
|
||||
|
||||
unigi_type_error unigi_window_create(unigi_type_resolution resolution, char * title);
|
||||
unigi_type_time_span unigi_time_get();
|
||||
|
||||
|
9
types.h
9
types.h
@ -1,14 +1,17 @@
|
||||
#ifndef unigi_header_types
|
||||
#define unigi_header_types
|
||||
#include <stdint.h>
|
||||
// Main
|
||||
typedef uint8_t unigi_type_bool;
|
||||
|
||||
// Events
|
||||
typedef uint8_t unigi_type_error;
|
||||
typedef uint8_t unigi_type_event_enum;
|
||||
typedef uint8_t unigi_type_error;
|
||||
typedef uint8_t unigi_type_event_enum;
|
||||
|
||||
// Graphics
|
||||
typedef uint16_t unigi_type_resolution_2d_coord;
|
||||
typedef uint32_t unigi_type_resolution_1d_coord;
|
||||
typedef uint8_t unigi_type_resolution_depth;
|
||||
typedef uint8_t unigi_type_resolution_depth;
|
||||
typedef uint16_t unigi_type_color;
|
||||
|
||||
// Input
|
||||
|
Loading…
Reference in New Issue
Block a user