![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#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.
Macros | |
| #define | ALLEGRO_UNSTABLE 1 |
Functions | |
| static void | expect_order (N_GUI_TREE *tree, const char *const *want, int n) |
| static void | expect_true (const char *label, int cond) |
| int | main (int argc, char **argv) |
| static void | visible_labels (N_GUI_TREE *tree, const char **out, int max, int *count) |
Variables | |
| static int | failures = 0 |
| #define ALLEGRO_UNSTABLE 1 |
Definition at line 30 of file ex_gui_tree_order.c.
|
static |
Definition at line 59 of file ex_gui_tree_order.c.
References failures, LOG_ERR, n_log, and visible_labels().
Referenced by main().
|
static |
Definition at line 42 of file ex_gui_tree_order.c.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 79 of file ex_gui_tree_order.c.
References N_GUI_TREE_NODE::depth, expect_order(), expect_true(), failures, font, gui, N_GUI_TREE::listbox_id, LOG_ERR, n_gui_add_window(), n_gui_destroy_ctx(), n_gui_listbox_get_selected(), n_gui_new_ctx(), n_gui_set_display_size(), n_gui_tree_add_node(), n_gui_tree_create(), n_gui_tree_free(), n_gui_tree_get_selection(), n_gui_tree_set_selection(), n_gui_tree_toggle_expand(), n_log, N_GUI_TREE::nb_nodes, N_GUI_TREE::nodes, set_log_level(), and N_GUI_TREE::visible_map.
|
static |
Definition at line 52 of file ex_gui_tree_order.c.
References N_GUI_TREE_NODE::label, N_GUI_TREE::nb_visible, N_GUI_TREE::nodes, and N_GUI_TREE::visible_map.
Referenced by expect_order().
|
static |
Definition at line 40 of file ex_gui_tree_order.c.