---
name: "centre_dialog"
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/centre_dialog"
---

# centre\_dialog(3alleg)

Centers an array of dialog objects. Allegro game programming library.

## NAME

centre\_dialog - Centers an array of dialog objects. Allegro game programming library.

## SYNOPSIS

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

**void centre\_dialog(DIALOG \*dialog);**

## DESCRIPTION

Moves an array of dialog objects so that it is centered in the screen.

## SEE ALSO

[**position\_dialog**(3alleg)](/position_dialog/3alleg.md), [**set\_dialog\_color**(3alleg)](/set_dialog_color/3alleg.md)
