#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 |
◆ build_tree()
| void build_tree |
( |
N_GUI_TREE * | tree, |
|
|
void ** | tags ) |
|
static |
◆ expect_true()
| void expect_true |
( |
const char * | label, |
|
|
int | cond ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 64 of file ex_gui_tree_state.c.
References build_tree(), N_GUI_TREE_NODE::expanded, expect_true(), failures, font, gui, N_GUI_TREE::listbox_id, LOG_ERR, LOG_NOTICE, n_gui_add_window(), n_gui_destroy_ctx(), n_gui_listbox_get_h_scroll(), n_gui_listbox_get_scroll_offset(), n_gui_listbox_set_h_scroll(), n_gui_listbox_set_scroll_offset(), n_gui_new_ctx(), n_gui_set_display_size(), n_gui_tree_add_node(), n_gui_tree_clear(), n_gui_tree_create(), n_gui_tree_find_by_path(), n_gui_tree_free(), n_gui_tree_get_selection(), n_gui_tree_node_path(), N_GUI_TREE_PATH_MAX, n_gui_tree_set_selection(), n_gui_tree_state_apply(), n_gui_tree_state_free(), n_gui_tree_state_save(), n_gui_tree_toggle_expand(), n_log, N_GUI_TREE_STATE::nb_expanded, N_GUI_TREE::nb_nodes, N_GUI_TREE::nodes, N_GUI_TREE_STATE::selected, and set_log_level().
◆ failures