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

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)
 

Variables

 __N_GUI_TOKEN
 type for a token
 
 N_ENUM_N_GUI_TOKEN
 N_GUI context codes.
 

Detailed Description

GUI functions.

Author
Castagnier Mickael
Version
1.0
Date
15/06/2024

Definition in file n_gui.c.

Variable Documentation

◆ __N_GUI_TOKEN

__N_GUI_TOKEN

type for a token

Definition at line 16 of file n_gui.c.

◆ N_ENUM_N_GUI_TOKEN

N_ENUM_N_GUI_TOKEN

N_GUI context codes.

Definition at line 14 of file n_gui.c.