#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nilorea/n_common.h"
#include "nilorea/n_gui.h"
#include "nilorea/n_log.h"
Go to the source code of this file.
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ expect_close()
| void expect_close |
( |
const char * | label, |
|
|
float | got, |
|
|
float | want, |
|
|
float | tol ) |
|
static |
◆ expect_true()
| void expect_true |
( |
const char * | label, |
|
|
int | cond ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 103 of file ex_gui_sectionlist.c.
References expect_close(), expect_true(), failures, font, gui, N_GUI_WIDGET::h, N_GUI_SECTION::header_id, LOG_ERR, log_level, LOG_NOTICE, n_gui_add_button(), n_gui_add_label(), n_gui_add_window(), N_GUI_ALIGN_LEFT, n_gui_destroy_ctx(), n_gui_get_widget(), n_gui_new_ctx(), N_GUI_SECTION_WIDGETS_MAX, n_gui_sectionlist_add_section(), n_gui_sectionlist_add_widget(), n_gui_sectionlist_content_height(), n_gui_sectionlist_create(), n_gui_sectionlist_free(), n_gui_sectionlist_get_count(), n_gui_sectionlist_get_order(), n_gui_sectionlist_is_folded(), n_gui_sectionlist_is_section_hidden(), n_gui_sectionlist_relayout(), n_gui_sectionlist_set_folded(), n_gui_sectionlist_set_geometry(), n_gui_sectionlist_set_order(), n_gui_sectionlist_set_section_hidden(), n_gui_sectionlist_set_widget_hidden(), n_gui_sectionlist_set_widget_offset(), n_gui_set_display_size(), N_GUI_SHAPE_ROUNDED, n_log, process_args(), N_GUI_SECTIONLIST::sections, set_log_level(), N_GUI_WIDGET::w, widget_visible(), widget_y(), and N_GUI_WIDGET::x.
◆ process_args()
| int process_args |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
◆ widget_visible()
| int widget_visible |
( |
N_GUI_CTX * | gui, |
|
|
int | id ) |
|
static |
◆ widget_y()
◆ failures
◆ log_level