GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
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
32
46gp_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 */
An abstraction for display, keyboard and mouse.
gp_x11_flags
A X11 backend init flags.
Definition gp_x11.h:22
@ 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
Start fullscreen.
Definition gp_x11.h:28
@ GP_X11_CREATE_ROOT_WIN
Create new borderless window above the root window.
Definition gp_x11.h:26
@ GP_X11_DISABLE_SHM
Do not use MIT SHM even if available.
Definition gp_x11.h:30
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.
A backend.
Definition gp_backend.h:72