#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.
|
| static void | ctrl_key (N_GUI_CTX *gui, int keycode) |
| | a Ctrl+key press as a text area receives it
|
| static void | expect_true (const char *what, int ok) |
| | record one check
|
| int | main (int argc, char **argv) |
| static int | process_args (int argc, char **argv) |
| | parse -V LOG_LEVEL
|
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ ctrl_key()
| void ctrl_key |
( |
N_GUI_CTX * | gui, |
|
|
int | keycode ) |
|
static |
◆ expect_true()
| void expect_true |
( |
const char * | what, |
|
|
int | ok ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 66 of file ex_gui_textarea_selection.c.
References ctrl_key(), expect_true(), failures, font, gui, LOG_ERR, log_level, n_gui_add_label(), n_gui_add_textarea(), n_gui_add_window(), N_GUI_ALIGN_LEFT, n_gui_destroy_ctx(), n_gui_new_ctx(), n_gui_set_display_size(), n_gui_set_focus(), n_gui_textarea_has_selection(), n_gui_textarea_set_selection(), n_gui_textarea_set_text(), n_log, process_args(), and set_log_level().
◆ process_args()
| int process_args |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
◆ failures
◆ log_level