Banjo API 0.0.1
C99 game development API
Loading...
Searching...
No Matches
window.h File Reference
#include <banjo/api.h>
#include <banjo/bitmap.h>
#include <banjo/memory.h>
Include dependency graph for window.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  bj_window_flag { BJ_WINDOW_FLAG_NONE = 0x00 , BJ_WINDOW_FLAG_CLOSE = 0x01 , BJ_WINDOW_FLAG_KEY_REPEAT = 0x02 , BJ_WINDOW_FLAG_ALL = 0xFF }

Functions

struct bj_windowbj_bind_window (const char *title, uint16_t x, uint16_t y, uint16_t width, uint16_t height, uint8_t flags)
void bj_unbind_window (struct bj_window *window)
void bj_set_window_should_close (struct bj_window *window)
bj_bool bj_should_close_window (struct bj_window *window)
uint8_t bj_get_window_flags (struct bj_window *window, uint8_t flags)
int bj_get_key (const struct bj_window *window, int key)
int bj_get_window_size (const struct bj_window *window, int *width, int *height)

Detailed Description

Header file for bj_window type.