#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 | click_at (N_GUI_CTX *gui, float x, float y) |
| static void | expect_close (const char *label, float got, float want, float tol) |
| static void | expect_true (const char *label, int cond) |
| int | main (int argc, char **argv) |
| static void | mouse_button (N_GUI_CTX *gui, int down, float x, float y) |
| static void | on_button_click (int widget_id, void *user_data) |
| static int | process_args (int argc, char **argv) |
◆ ALLEGRO_UNSTABLE
| #define ALLEGRO_UNSTABLE 1 |
◆ click_at()
| void click_at |
( |
N_GUI_CTX * | gui, |
|
|
float | x, |
|
|
float | y ) |
|
static |
◆ expect_close()
| void expect_close |
( |
const char * | label, |
|
|
float | got, |
|
|
float | want, |
|
|
float | tol ) |
|
static |
◆ expect_true()
| void expect_true |
( |
const char * | label, |
|
|
int | cond ) |
|
static |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 106 of file ex_gui_splitpane.c.
References click_at(), clicks, expect_close(), expect_true(), failures, font, gui, LOG_ERR, log_level, LOG_NOTICE, mouse_button(), n_gui_add_button(), n_gui_add_splitpane(), n_gui_add_window(), n_gui_destroy_ctx(), n_gui_new_ctx(), n_gui_set_display_size(), N_GUI_SHAPE_RECT, N_GUI_SPLIT_HORIZONTAL, N_GUI_SPLIT_VERTICAL, n_gui_splitpane_get_ratio(), n_gui_splitpane_set_limits(), n_gui_splitpane_set_ratio(), N_GUI_WIN_FIXED_POSITION, N_GUI_WIN_FRAMELESS, n_gui_window_set_flags(), n_log, on_button_click(), process_args(), and set_log_level().
◆ mouse_button()
| void mouse_button |
( |
N_GUI_CTX * | gui, |
|
|
int | down, |
|
|
float | x, |
|
|
float | y ) |
|
static |
◆ on_button_click()
| void on_button_click |
( |
int | widget_id, |
|
|
void * | user_data ) |
|
static |
◆ process_args()
| int process_args |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
◆ clicks
◆ failures
◆ log_level