#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <allegro5/allegro_primitives.h>
#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_gui.h"
Go to the source code of this file.
|
| static void | draw_into (N_GUI_CTX *gui, int w, int h) |
| | draw one pass of the context into a memory bitmap of the given size
|
| static void | expect_true (const char *what, int ok) |
| | record one check
|
| int | main (int argc, char **argv) |
| static int | process_args (int argc, char **argv) |
| | parse -V LOG_LEVEL
|
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ draw_into()
| void draw_into |
( |
N_GUI_CTX * | gui, |
|
|
int | w, |
|
|
int | h ) |
|
static |
◆ expect_true()
| void expect_true |
( |
const char * | what, |
|
|
int | ok ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 75 of file ex_gui_display_fallback.c.
References draw_into(), expect_true(), failures, font, gui, LOG_ERR, log_level, n_gui_add_label(), n_gui_add_window(), N_GUI_ALIGN_LEFT, n_gui_destroy_ctx(), n_gui_new_ctx(), n_gui_open_window(), n_gui_set_display_size(), n_log, process_args(), and set_log_level().
◆ process_args()
| int process_args |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
◆ failures
◆ log_level