Nilorea Library
C utilities for networking, threading, graphics
Loading...
Searching...
No Matches
ex_gui_listbox.c File Reference
#include <math.h>
#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"
Include dependency graph for ex_gui_listbox.c:

Go to the source code of this file.

Macros

#define ALLEGRO_UNSTABLE   1

Functions

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)

Variables

static int failures = 0

Macro Definition Documentation

◆ ALLEGRO_UNSTABLE

#define ALLEGRO_UNSTABLE   1

Definition at line 30 of file ex_gui_listbox.c.

Function Documentation

◆ expect_true()

void expect_true ( const char * label,
int cond )
static

Definition at line 44 of file ex_gui_listbox.c.

References failures, LOG_ERR, and n_log.

◆ main()

◆ mouse_button()

void mouse_button ( N_GUI_CTX * gui,
int down,
float x,
float y )
static
Examples
ex_fluid.c, ex_gui_listbox.c, ex_gui_particles.c, and ex_gui_splitpane.c.

Definition at line 51 of file ex_gui_listbox.c.

References gui, and n_gui_process_event().

Referenced by click_at(), main(), and main().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ failures

int failures = 0
static

Definition at line 42 of file ex_gui_listbox.c.