5 Struct N_GUI_IMAGE_DATA
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_GUI_IMAGE_DATA

Module: GUI: allegro5 widget system with pseudo-windows

image widget specific data

#include "n_gui.h"

Public Attributes

Name
int scale_mode
scale mode: N_GUI_IMAGE_FIT, N_GUI_IMAGE_STRETCH, N_GUI_IMAGE_CENTER
ALLEGRO_BITMAP * bitmap
bitmap to display (not owned, not freed)

Public Attributes Documentation

variable scale_mode

int scale_mode;

scale mode: N_GUI_IMAGE_FIT, N_GUI_IMAGE_STRETCH, N_GUI_IMAGE_CENTER

variable bitmap

ALLEGRO_BITMAP * bitmap;

bitmap to display (not owned, not freed)