GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
include
backends
gp_backend_input.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
/*
3
* Copyright (C) 2023 Cyril Hrubis <metan@ucw.cz>
4
*/
5
14
#ifndef BACKENDS_GP_BACKEND_INPUT_H__
15
#define BACKENDS_GP_BACKEND_INPUT_H__
16
17
#include <
backends/gp_backend.h
>
18
#include <
utils/gp_list.h
>
19
20
typedef
struct
gp_backend_input
gp_backend_input
;
21
25
struct
gp_backend_input
{
27
gp_dlist_head
list_head
;
33
void (*
destroy
)(
gp_backend_input
*self);
34
};
35
41
void
gp_backend_input_destroy
(
gp_backend
*self);
42
43
#endif
/* BACKENDS_GP_BACKEND_INPUT_H__ */
gp_backend.h
An abstraction for display, keyboard and mouse.
gp_backend_input_destroy
void gp_backend_input_destroy(gp_backend *self)
Destroys all input drivers added to the driver list.
gp_list.h
A linked list implementation.
gp_backend_input
Definition
gp_backend_input.h:25
gp_backend_input::list_head
gp_dlist_head list_head
List pointers.
Definition
gp_backend_input.h:27
gp_backend_input::destroy
void(* destroy)(gp_backend_input *self)
A function to destroy the input driver.
Definition
gp_backend_input.h:33
gp_backend
A backend.
Definition
gp_backend.h:145
gp_dlist_head
A double linked list header.
Definition
gp_list.h:34
Generated by
1.9.8