#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()
| static void expect_true |
( |
const char * |
label, |
|
|
int |
cond |
|
) |
| |
|
static |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 73 of file ex_gui_syntaxview.c.
References N_GUI_WIDGET::data, expect_true(), failures, Free, gui, LOG_ERR, log_level, LOG_NOTICE, n_gui_add_syntaxview(), n_gui_add_window(), n_gui_destroy_ctx(), n_gui_get_widget(), n_gui_new_ctx(), n_gui_set_display_size(), N_GUI_SYNTAX_HTTP, N_GUI_SYNTAX_JS, N_GUI_SYNTAX_JSON, N_GUI_SYNTAX_PLAIN, N_GUI_SYNTAX_XML, N_GUI_SYNTAX_YAML, n_gui_syntaxview_get_line_count(), n_gui_syntaxview_get_selected_text(), n_gui_syntaxview_get_text(), n_gui_syntaxview_scroll_to_offset(), n_gui_syntaxview_select_all(), n_gui_syntaxview_set_mode(), n_gui_syntaxview_set_selection(), n_gui_syntaxview_set_text(), n_log, process_args(), N_GUI_SYNTAXVIEW_DATA::scroll_offset, and set_log_level().
◆ process_args()
| static int process_args |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
◆ failures
◆ log_level