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

ref: c26231e5650c98d41f216151a085eb8835641fd5 CTU-FEE-B0B35APO-Semestral-project/lib-pheripherals/include/xwin_sdl.h -rw-r--r-- 309 bytes
c26231e5 — František Boháček feat: add gui line component 3 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
Do not follow this link