~ruther/CTU-FEE-B0B35APO-Semestral-project

ref: 86290c5c3089b35acacb633472c85a0148ee17d8 CTU-FEE-B0B35APO-Semestral-project/lib-pheripherals/include/xwin_sdl.h -rw-r--r-- 309 bytes
86290c5c — František Boháček feat: add renderer 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __XWIN_SDL_H__
#define __XWIN_SDL_H__

#include <stdbool.h>
#include <SDL.h>
#include <stdint.h>

int xwin_init(uint16_t w, uint16_t h);
void xwin_close();
void xwin_redraw(uint16_t w, uint16_t h, uint8_t *img);
bool xwin_poll_event(SDL_Event *event);
void xwin_save_image(char *output_name);

#endif