#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_gui.h"
Go to the source code of this file.
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ expect_true()
| void expect_true |
( |
const char * | label, |
|
|
int | cond ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 61 of file ex_gui_listbox.c.
References expect_true(), failures, font, gui, LOG_ERR, LOG_NOTICE, mouse_button(), n_gui_add_button(), n_gui_add_listbox(), n_gui_add_window(), n_gui_destroy_ctx(), n_gui_listbox_add_item(), n_gui_listbox_clear(), n_gui_listbox_content_width(), n_gui_listbox_get_h_scroll(), n_gui_listbox_get_selected(), n_gui_listbox_set_h_scroll(), n_gui_new_ctx(), N_GUI_SELECT_SINGLE, n_gui_set_display_size(), N_GUI_SHAPE_RECT, N_GUI_WIN_FIXED_POSITION, N_GUI_WIN_FRAMELESS, n_gui_window_set_flags(), n_log, and set_log_level().
◆ mouse_button()
| void mouse_button |
( |
N_GUI_CTX * | gui, |
|
|
int | down, |
|
|
float | x, |
|
|
float | y ) |
|
static |
◆ failures