Nilorea Library
C utilities for networking, threading, graphics
ex_gui_dictionary.c File Reference
#include "nilorea/n_common.h"
#include "nilorea/n_list.h"
#include "nilorea/n_hash.h"
#include "nilorea/n_pcre.h"
#include "nilorea/n_str.h"
#include "nilorea/n_allegro5.h"
#include <allegro5/allegro_ttf.h>
+ Include dependency graph for ex_gui_dictionary.c:

Go to the source code of this file.

Macros

#define HEIGHT   800
 
#define WIDTH   1280
 

Functions

int main (int argc, char *argv[])
 

Variables

ALLEGRO_DISPLAY * display = NULL
 
int DONE = 0
 
ALLEGRO_TIMER * fps_timer = NULL
 
int getoptret = 0
 
int log_level = 6
 
ALLEGRO_TIMER * logic_timer = NULL
 
ALLEGRO_BITMAP * scr_buf = NULL
 

Macro Definition Documentation

◆ HEIGHT

#define HEIGHT   800

Definition at line 8 of file ex_gui_dictionary.c.

◆ WIDTH

#define WIDTH   1280

Definition at line 7 of file ex_gui_dictionary.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

dictionary definition for DICTIONARY_ENTRY

type of definition (verb, noun,...)

content of definition

dictionary entry

key of the entry

list of DICTIONARY_DEFINITION for that entry

Examples
ex_gui_dictionary.c.

Definition at line 32 of file ex_gui_dictionary.c.

References __attribute__(), _str, destroy_ht(), display, DONE, fps_timer, FreeNoLog, get_keyboard(), getoptret, HEIGHT, ht_get_completion_list(), ht_get_ptr(), ht_put_ptr(), list_destroy(), list_foreach, list_push(), LOG_DEBUG, LOG_ERR, LOG_INFO, log_level, LOG_NOTICE, logic_timer, Malloc, n_abort(), n_log, new_generic_list(), new_ht_trie(), npcre_clean_match(), npcre_match(), npcre_new(), set_log_file(), set_log_level(), and WIDTH.

+ Here is the call graph for this function:

Variable Documentation

◆ display

ALLEGRO_DISPLAY* display = NULL
Examples
ex_gui_dictionary.c.

Definition at line 20 of file ex_gui_dictionary.c.

Referenced by main().

◆ DONE

int DONE = 0
Examples
ex_gui_dictionary.c.

Definition at line 22 of file ex_gui_dictionary.c.

Referenced by main().

◆ fps_timer

ALLEGRO_TIMER* fps_timer = NULL
Examples
ex_gui_dictionary.c.

Definition at line 28 of file ex_gui_dictionary.c.

Referenced by main().

◆ getoptret

int getoptret = 0
Examples
ex_gui_dictionary.c.

Definition at line 23 of file ex_gui_dictionary.c.

Referenced by main().

◆ log_level

int log_level = 6
Examples
ex_gui_dictionary.c.

Definition at line 24 of file ex_gui_dictionary.c.

Referenced by main().

◆ logic_timer

ALLEGRO_TIMER* logic_timer = NULL
Examples
ex_gui_dictionary.c.

Definition at line 29 of file ex_gui_dictionary.c.

Referenced by main().

◆ scr_buf

ALLEGRO_BITMAP* scr_buf = NULL
Examples
ex_gui_dictionary.c.

Definition at line 26 of file ex_gui_dictionary.c.