/******************************************************************************
 Copyright 2000-2001 Richard Woolcock.  All rights reserved.  This software may
 only be used, copied, modified, distributed or sub-licensed under the terms of
 the Glad license, which must always be included with any distributions of this
 software.  This copyright notice must remain unmodified at the top of any file
 containing any of the code found within this file.
 ******************************************************************************/

/******************************************************************************
 File Name        : justify.c
 ******************************************************************************
 Description      : Text justification code, previously one of my snippets.
 ******************************************************************************
 Revision History :

 Date/Author : DD-MMM-YYYY   <author's name>
 Description : <description of change>

 Date/Author : 15-Jan-2001   Richard Woolcock (aka KaVir).
 Description : Initial version for Glad 2.0a.
 ******************************************************************************/

#ifndef JUSTIFY_HEADER
#define JUSTIFY_HEADER

/******************************************************************************
 Required enumerated types.
 ******************************************************************************/

typedef enum
{
   JUSTIFY_LEFT,
   JUSTIFY_RIGHT,
   JUSTIFY_CENTRE
} justify_t;

/******************************************************************************
 Global operation prototypes.
 ******************************************************************************/

char *Justify ( char *szText, int iAlignment, justify_t eJustify );

#endif /* JUSTIFY_HEADER */