GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_sdl.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later
2/*
3 * Copyright (C) 2009-2012 Cyril Hrubis <metan@ucw.cz>
4 */
5
17#ifndef BACKENDS_GP_SDL_H
18#define BACKENDS_GP_SDL_H
19
20#include <stdint.h>
21#include <backends/gp_backend.h>
22
30
50 enum gp_sdl_flags flags, const char *caption);
51
52#endif /* BACKENDS_GP_SDL_H */
unsigned int gp_size
Integer type for sizes i.e. w, h, ...
Definition gp_types.h:24
An abstraction for display, keyboard and mouse.
gp_backend * gp_sdl_init(gp_size w, gp_size h, uint8_t bpp, enum gp_sdl_flags flags, const char *caption)
Initalizes SDL as drawing backend.
gp_sdl_flags
SDL backend init flags.
Definition gp_sdl.h:24
@ GP_SDL_RESIZABLE
Allow for the backend to be resizable.
Definition gp_sdl.h:28
@ GP_SDL_FULLSCREEN
Start as a full screen.
Definition gp_sdl.h:26
A backend.
Definition gp_backend.h:72