Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
n_gui.c File Reference

GUI functions. More...

#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_str.h"
#include "nilorea/n_gui.h"
+ Include dependency graph for n_gui.c:

Go to the source code of this file.

Functions

__N_GUI_TOKEN __N_GUI_TOKEN_fromString (const char *str_value)
 
__N_GUI_TOKEN __N_GUI_TOKEN_fromStringEx (const char *str_value, int index)
 
bool __N_GUI_TOKEN_isStringValid (const char *str_value)
 
bool __N_GUI_TOKEN_isValid (__N_GUI_TOKEN value)
 N_GUI context codes.
 
const char * __N_GUI_TOKEN_toString (__N_GUI_TOKEN value)
 
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_DIALOGn_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)
 

Detailed Description

GUI functions.

Author
Castagnier Mickael
Version
1.0
Date
15/06/2024

Definition in file n_gui.c.