GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
gp_display.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
41#ifndef BACKENDS_GP_DISPLAY_H
42#define BACKENDS_GP_DISPLAY_H
43
44#include <backends/gp_backend.h>
45
75
79 const char *name;
81 const char *desc;
82};
83
89
102
103#endif /* BACKENDS_GP_DISPLAY_H */
An abstraction for display, keyboard and mouse.
const struct gp_backend_display_model gp_backend_display_models[]
NULL-terminated array of display model names indexed by enum gp_backend_display_model_ids.
gp_backend_display_model_ids
Supported displays.
Definition gp_display.h:47
@ GP_WAVESHARE_7_5_V2
WaveShare RPi e-ink HAT 1BPP grayscale 800x480.
Definition gp_display.h:53
@ GP_WAVESHARE_3_7
WaveShare RPi e-ink HAT 1BPP/4BPP grayscale 280x480.
Definition gp_display.h:59
@ GP_WEACT_2_13_BW
WeeAct 2.13 inch BW display.
Definition gp_display.h:65
@ GP_GMG12864
An 128 x 64 BW LCD display.
Definition gp_display.h:73
gp_backend * gp_backend_display_init(enum gp_backend_display_model_ids model)
Initializes a hardware display.
A display model description.
Definition gp_display.h:77
const char * name
A human readable display name used as id.
Definition gp_display.h:79
const char * desc
A display description.
Definition gp_display.h:81
A backend.
Definition gp_backend.h:145