GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Toggle main menu visibility
Main Page
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Files
File List
Globals
All
g
j
Functions
g
Variables
Typedefs
g
Enumerations
g
j
Enumerator
g
Macros
g
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
include
backends
gp_backend_init.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
/*
3
* Copyright (C) 2009-2023 Cyril Hrubis <metan@ucw.cz>
4
*/
5
13
#ifndef BACKENDS_GP_BACKEND_INIT_H
14
#define BACKENDS_GP_BACKEND_INIT_H
15
16
#include <
backends/gp_backend.h
>
17
55
gp_backend
*
gp_backend_init
(
const
char
*params,
56
gp_size
pref_w,
gp_size
pref_h,
57
const
char
*caption);
58
65
static
inline
void
gp_backend_init_help
(
void
)
66
{
67
gp_backend_init
(
"help"
, 0, 0, NULL);
68
}
65
static
inline
void
gp_backend_init_help
(
void
) {
…
}
69
70
#endif
/* BACKENDS_GP_BACKEND_INIT_H */
gp_size
unsigned int gp_size
Integer type for sizes i.e. w, h, ...
Definition
gp_types.h:24
gp_backend.h
An abstraction for display, keyboard and mouse.
gp_backend_init_help
static void gp_backend_init_help(void)
Prints information about all backends and parameters.
Definition
gp_backend_init.h:65
gp_backend_init
gp_backend * gp_backend_init(const char *params, gp_size pref_w, gp_size pref_h, const char *caption)
Generic backend initialization.
gp_backend
A backend.
Definition
gp_backend.h:145
Generated by
1.9.8