GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
backends
gp_xcb.h
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
/*
3
* Copyright (C) 2009-2019 Cyril Hrubis <metan@ucw.cz>
4
*/
5
6
#ifndef BACKENDS_GP_XCB_H
7
#define BACKENDS_GP_XCB_H
8
9
#include <
backends/gp_backend.h
>
10
11
/*
12
* Initalize XCB backend.
13
*
14
* The display may be NULL for default display ($DISPLAY shell variable will
15
* be used).
16
*
17
* The coordinates are position and geometry for newly created window.
18
*
19
* Upon failure NULL is returned.
20
*/
21
gp_backend
*gp_xcb_init(
const
char
*display,
int
x,
int
y,
22
unsigned
int
w,
unsigned
int
h,
23
const
char
*caption);
24
25
#endif
/* BACKENDS_GP_XCB_H */
gp_backend.h
An abstraction for display, keyboard and mouse.
gp_backend
A backend.
Definition
gp_backend.h:145
Generated by
1.9.8