#ifndef DK4ALIGN_H_INCLUDED /** Protection against multiple inclusions. */ #define DK4ALIGN_H_INCLUDED 1 /** How to align an object horizontally in the available room. */ typedef enum { /** Horizontal alignment: align object left in room. */ DK4_ALIGN_H_LEFT = 0, /** Horizontal alignment: align object centered in room. */ DK4_ALIGN_H_CENTERED , /** Horizontal alignment: align object right in room. */ DK4_ALIGN_H_RIGHT , /** Horizontal alignment: stretch object to use available room completely. */ DK4_ALIGN_H_STRETCH } dk4_align_h_t; /** How to align an object vertically in the available room. */ typedef enum { /** Vertical alignment: align object on top of room. */ DK4_ALIGN_V_TOP = 0, /** Vertical alignment: align object centered in room. */ DK4_ALIGN_V_CENTERED , /** Vertical alignment: align object on bottom. */ DK4_ALIGN_V_BOTTOM , /** Vertical alignment: stretch object to use available room completely. */ DK4_ALIGN_V_STRETCH } dk4_align_v_t; /* vim: set ai sw=4 ts=4 : */ #endif