GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
backends
gp_backend_virtual.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_BACKEND_VIRTUAL_H
18
#define BACKENDS_GP_BACKEND_VIRTUAL_H
19
20
#include <
core/gp_pixel.h
>
21
#include <
backends/gp_backend.h
>
22
26
enum
gp_backend_virt_flags
{
28
GP_BACKEND_CALL_EXIT
= 0x01,
29
};
30
40
gp_backend
*
gp_backend_virt_init
(
gp_backend
*backend,
41
gp_pixel_type
pixel_type,
42
enum
gp_backend_virt_flags
flags);
43
44
#endif
/* BACKENDS_GP_BACKEND_VIRTUAL_H */
gp_backend.h
An abstraction for display, keyboard and mouse.
gp_backend_virt_init
gp_backend * gp_backend_virt_init(gp_backend *backend, gp_pixel_type pixel_type, enum gp_backend_virt_flags flags)
Creates an virtual backend on the top of the existing backend.
gp_backend_virt_flags
gp_backend_virt_flags
A virtual backend flags.
Definition
gp_backend_virtual.h:26
GP_BACKEND_CALL_EXIT
@ GP_BACKEND_CALL_EXIT
If set virtual backend exit calls 'parent' exit as well.
Definition
gp_backend_virtual.h:28
gp_pixel_type
gp_pixel_type
List of all pixel types.
Definition
gp_pixel.gen.h:62
gp_pixel.h
A pixel description.
gp_backend
A backend.
Definition
gp_backend.h:145
Generated by
1.9.8