![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#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"
Include dependency graph for ex_gui_reentrant.c:Go to the source code of this file.
Macros | |
| #define | ALLEGRO_UNSTABLE 1 |
Functions | |
| static void | expect_true (const char *label, int cond) |
| int | main (int argc, char **argv) |
| static ALLEGRO_EVENT | mouse_event (int type, int x, int y) |
| static void | on_open_popup (int widget_id, void *user_data) |
| static int | process_args (int argc, char **argv) |
Variables | |
| static int | failures = 0 |
| static int | g_click_count = 0 |
| static N_GUI_CTX * | g_gui = NULL |
| static int | g_popup_win = -1 |
| static int | log_level = 3 |
| #define ALLEGRO_UNSTABLE 1 |
Definition at line 38 of file ex_gui_reentrant.c.
|
static |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 112 of file ex_gui_reentrant.c.
References expect_true(), failures, g_click_count, g_gui, g_popup_win, gui, LOG_ERR, log_level, LOG_NOTICE, mouse_event(), n_gui_add_button(), n_gui_add_window(), n_gui_destroy_ctx(), n_gui_new_ctx(), n_gui_open_window(), n_gui_process_event(), n_gui_set_display_size(), N_GUI_SHAPE_ROUNDED, N_GUI_WIN_FRAMELESS, n_gui_window_is_open(), n_gui_window_set_flags(), n_gui_window_set_zorder(), N_GUI_ZORDER_POPUP, n_log, on_open_popup(), process_args(), and set_log_level().
Here is the call graph for this function:
|
static |
Definition at line 102 of file ex_gui_reentrant.c.
Referenced by main().
Here is the caller graph for this function:
|
static |
Definition at line 57 of file ex_gui_reentrant.c.
References g_click_count, g_gui, g_popup_win, n_gui_open_window(), and n_gui_raise_window().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 76 of file ex_gui_reentrant.c.
References LOG_DEBUG, LOG_ERR, LOG_INFO, log_level, LOG_NOTICE, and LOG_NULL.
|
static |
Definition at line 50 of file ex_gui_reentrant.c.
|
static |
Definition at line 55 of file ex_gui_reentrant.c.
Referenced by main(), and on_open_popup().
|
static |
Definition at line 53 of file ex_gui_reentrant.c.
Referenced by main(), and on_open_popup().
|
static |
Definition at line 54 of file ex_gui_reentrant.c.
Referenced by main(), and on_open_popup().
|
static |
Definition at line 49 of file ex_gui_reentrant.c.