![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
GUI headers. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdbool.h>
#include <nilorea/n_allegro5.h>
#include <nilorea/n_common.h>
#include <nilorea/n_str.h>
#include <nilorea/n_log.h>
#include <nilorea/n_list.h>
#include <nilorea/n_hash.h>
#include <nilorea/n_trees.h>
Go to the source code of this file.
Data Structures | |
struct | N_GUI_DIALOG |
structure of a N_GUI_DIALOG More... | |
struct | N_GUI_LAYOUT |
structure of a N_GUI_DIALOG or N_GUI_WIDGET layout More... | |
struct | N_GUI_TOKEN |
structure of a N_GUI_TOKENIZER token More... | |
struct | N_GUI_TOKENIZER |
structure of a N_GUI_DIALOG tokenizer More... | |
struct | N_GUI_WIDGET |
structure of a N_GUI_DIALOG widget More... | |
Macros | |
#define | N_ENUM_N_GUI_TOKEN(_) |
N_GUI_CTX codes definition. | |
#define | N_GUI_MAX_TOKEN_SIZE 1024 |
maximum size of a single token content | |
Functions | |
N_ENUM_DECLARE (N_ENUM_N_GUI_TOKEN, __N_GUI_TOKEN) | |
Network codes declaration. | |
void | n_gui_init_tokenizer (N_GUI_TOKENIZER *tokenizer, const char *input) |
Initialize tokenizer. | |
int | n_gui_is_eof (N_GUI_TOKENIZER *tokenizer) |
| |
N_GUI_DIALOG * | n_gui_load_dialog (char *html, char *css) |
Load a html + css file into a N_GUI_DIALOG. | |
char | n_gui_next_char (N_GUI_TOKENIZER *tokenizer) |
Get next character from input. | |
N_GUI_TOKEN | n_gui_next_token (N_GUI_TOKENIZER *tokenizer, bool *inside_open_tag) |
Read next N_GUI_TOKEN from input. | |
char | n_gui_peek_char (N_GUI_TOKENIZER *tokenizer) |
Peek at next character without advancing the position. | |
void | n_gui_print_token (N_GUI_TOKEN token) |
Function to print a token (for debugging purposes) | |