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

ref: 62fe007cfcf4b3951bf7b2289c08a8a149f03714 CTU-FEE-B0B35APO-Semestral-project/image-viewer/include/xwin_sdl.h -rw-r--r-- 309 bytes
62fe007c — František Boháček feat: add zooming to cursor 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