#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "nilorea/n_common.h"
#include "nilorea/n_gui.h"
#include "nilorea/n_log.h"
Go to the source code of this file.
|
| static void | expect_true (const char *label, int cond) |
| | Assert a condition, logging which check failed.
|
| int | main (void) |
| static void | mouse (N_GUI_CTX *gui, int type, int x, int y) |
| | Send one mouse event.
|
|
| static int | failures = 0 |
| | Count of failed assertions.
|
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ expect_true()
| void expect_true |
( |
const char * | label, |
|
|
int | cond ) |
|
static |
◆ main()
Definition at line 82 of file ex_gui_cursor.c.
References expect_true(), failures, font, gui, LOG_ERR, LOG_NOTICE, mouse(), n_gui_add_splitpane(), n_gui_add_window(), n_gui_destroy_ctx(), n_gui_get_cursor(), n_gui_new_ctx(), n_gui_open_window(), n_gui_set_cursor(), n_gui_set_display_size(), N_GUI_SPLIT_VERTICAL, N_GUI_WIN_FRAMELESS, n_gui_window_set_flags(), n_log, and set_log_level().
◆ mouse()
| void mouse |
( |
N_GUI_CTX * | gui, |
|
|
int | type, |
|
|
int | x, |
|
|
int | y ) |
|
static |
◆ failures