---
name: "gui_shadow_box_proc"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/gui_shadow_box_proc"
---

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

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**(3alleg)](/alert/3alleg.md), [**alert3**(3alleg)](/alert3/3alleg.md), [**file\_select\_ex**(3alleg)](/file_select_ex/3alleg.md), [**gfx\_mode\_select**(3alleg)](/gfx_mode_select/3alleg.md), [**gui\_fg\_color**(3alleg)](/gui_fg_color/3alleg.md)
