---
name: "gui_shadow_box_proc"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gui_shadow_box_proc/3alleg4"
---

# gui\_shadow\_box\_proc(3alleg4)

Hooks to customise the look and feel of Allegro dialogs.

## NAME

gui\_shadow\_box\_proc, gui\_ctext\_proc, gui\_button\_proc, gui\_edit\_proc, gui\_list\_proc, gui\_text\_list\_proc - Hooks to customise the look and feel of Allegro dialogs.

## SYNOPSIS

**#include \<allegro.h\>**

**extern int (\*gui\_shadow\_box\_proc)(int msg, struct DIALOG \*d, int c);**

**extern int (\*gui\_ctext\_proc)(int msg, struct DIALOG \*d, int c);**

**extern int (\*gui\_button\_proc)(int msg, struct DIALOG \*d, int c);**

**extern int (\*gui\_edit\_proc)(int msg, struct DIALOG \*d, int c);**

**extern int (\*gui\_list\_proc)(int msg, struct DIALOG \*d, int c);**

**extern int (\*gui\_text\_list\_proc)(int msg, struct DIALOG \*d, int c);**

## DESCRIPTION

If set, these functions will be used by the standard Allegro dialogs. This allows you to customise the look and feel, much like gui\_fg\_color and gui\_bg\_color, but much more flexibly.

## SEE ALSO

**alert**(3alleg4), **alert3**(3alleg4), **file\_select\_ex**(3alleg4), **gfx\_mode\_select**(3alleg4), **gui\_fg\_color**(3alleg4)
