#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "nilorea/n_common.h"
#include "nilorea/n_log.h"
#include "nilorea/n_gui.h"
Go to the source code of this file.
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ expect_true()
| void expect_true |
( |
const char * | label, |
|
|
int | cond ) |
|
static |
◆ hex_equals()
| int hex_equals |
( |
N_GUI_CTX * | gui, |
|
|
int | hv, |
|
|
const unsigned char * | want, |
|
|
size_t | want_len ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 97 of file ex_gui_hexview.c.
References expect_true(), failures, font, gui, hex_equals(), LOG_ERR, log_level, LOG_NOTICE, n_gui_add_hexview(), n_gui_add_window(), n_gui_destroy_ctx(), n_gui_hexview_get_cursor(), n_gui_hexview_get_data(), n_gui_hexview_get_length(), n_gui_hexview_set_cursor(), n_gui_hexview_set_data(), n_gui_hexview_set_editable(), n_gui_new_ctx(), n_gui_set_display_size(), n_gui_set_focus(), n_log, process_args(), send_key(), and set_log_level().
◆ process_args()
| int process_args |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
◆ send_key()
| void send_key |
( |
N_GUI_CTX * | gui, |
|
|
int | keycode, |
|
|
int | unichar, |
|
|
int | modifiers ) |
|
static |
◆ failures
◆ log_level