![]() |
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>
Include dependency graph for n_gui.h:
This graph shows which files directly or indirectly include this file: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 | |
Enumerations | |
| enum | __N_GUI_TOKEN { N_GUI_TOKEN_TAG_OPEN = 2 , N_GUI_TOKEN_TAG_CLOSE = 4 , N_GUI_TOKEN_TAG_NAME = 8 , N_GUI_TOKEN_ATTR_NAME = 16 , N_GUI_TOKEN_ATTR_VALUE = 32 , N_GUI_TOKEN_TEXT = 64 , N_GUI_TOKEN_EOF = 128 , ____N_GUI_TOKEN_UNKNOWN_VALUE__ } |
| Network codes declaration. More... | |
Functions | |
| 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) | |