Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
n_allegro5.h
Go to the documentation of this file.
1/*
2 * Nilorea Library
3 * Copyright (C) 2005-2026 Castagnier Mickael
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
27#ifndef __NILOREA_ALLEGRO5_HELPER__
28#define __NILOREA_ALLEGRO5_HELPER__
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
39#include <allegro5/allegro.h>
40#include <allegro5/allegro_audio.h>
41#include <allegro5/allegro_acodec.h>
42#include <allegro5/allegro_font.h>
43#include <allegro5/allegro_image.h>
44#include <allegro5/allegro_primitives.h>
45#include <allegro5/allegro_image.h>
46#include <allegro5/allegro_native_dialog.h>
47#include <allegro5/allegro_ttf.h>
48
50int get_keyboard(ALLEGRO_USTR* str, ALLEGRO_EVENT event);
51
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* #ifndef __NILOREA_ALLEGRO5_HELPER__ */
int get_keyboard(ALLEGRO_USTR *str, ALLEGRO_EVENT event)
process keyboard event and append character to string
Definition n_allegro5.c:36