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_x11.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
16
#ifndef BACKENDS_GP_X11_H
17
#define BACKENDS_GP_X11_H
18
19
#include <
backends/gp_backend.h
>
20
22
enum
gp_x11_flags
{
24
GP_X11_USE_ROOT_WIN
= 0x01,
26
GP_X11_CREATE_ROOT_WIN
= 0x02,
28
GP_X11_FULLSCREEN
= 0x04,
30
GP_X11_DISABLE_SHM
= 0x08,
31
};
22
enum
gp_x11_flags
{
…
};
32
46
gp_backend
*
gp_x11_init
(
const
char
*display,
int
x,
int
y,
47
unsigned
int
w,
unsigned
int
h,
48
const
char
*caption,
49
enum
gp_x11_flags
flags);
50
51
#endif
/* BACKENDS_GP_X11_H */
gp_backend.h
An abstraction for display, keyboard and mouse.
gp_x11_flags
gp_x11_flags
A X11 backend init flags.
Definition
gp_x11.h:22
GP_X11_USE_ROOT_WIN
@ GP_X11_USE_ROOT_WIN
When set, w and h is ignored and root window is used.
Definition
gp_x11.h:24
GP_X11_FULLSCREEN
@ GP_X11_FULLSCREEN
Start fullscreen.
Definition
gp_x11.h:28
GP_X11_CREATE_ROOT_WIN
@ GP_X11_CREATE_ROOT_WIN
Create new borderless window above the root window.
Definition
gp_x11.h:26
GP_X11_DISABLE_SHM
@ GP_X11_DISABLE_SHM
Do not use MIT SHM even if available.
Definition
gp_x11.h:30
gp_x11_init
gp_backend * gp_x11_init(const char *display, int x, int y, unsigned int w, unsigned int h, const char *caption, enum gp_x11_flags flags)
X11 backend initialization.
gp_backend
A backend.
Definition
gp_backend.h:145
Generated by
1.9.8