Crazy Eddies GUI System: CEGUIFalEnums.h Source File

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

# CEGUIFalEnums.h

    00001 /************************************************************************
    00002     filename:   CEGUIFalEnums.h
    00003     created:    Mon Jun 13 2005
    00004     author:     Paul D Turner <paul@cegui.org.uk>
    00005 *************************************************************************/
    00006 /*************************************************************************
    00007     Crazy Eddie's GUI System (http://www.cegui.org.uk)
    00008     Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
    00009
    00010     This library is free software; you can redistribute it and/or
    00011     modify it under the terms of the GNU Lesser General Public
    00012     License as published by the Free Software Foundation; either
    00013     version 2.1 of the License, or (at your option) any later version.
    00014
    00015     This library is distributed in the hope that it will be useful,
    00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00018     Lesser General Public License for more details.
    00019
    00020     You should have received a copy of the GNU Lesser General Public
    00021     License along with this library; if not, write to the Free Software
    00022     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00023 *************************************************************************/
    00024 #ifndef _CEGUIFalEnums_h_
    00025 #define _CEGUIFalEnums_h_
    00026
    00027 // Start of CEGUI namespace section
    00028 namespace CEGUI
    00029 {
    00034     enum DimensionType
    00035     {
    00036         DT_LEFT_EDGE,
    00037         DT_X_POSITION,
    00038         DT_TOP_EDGE,
    00039         DT_Y_POSITION,
    00040         DT_RIGHT_EDGE,
    00041         DT_BOTTOM_EDGE,
    00042         DT_WIDTH,
    00043         DT_HEIGHT,
    00044         DT_X_OFFSET,
    00045         DT_Y_OFFSET,
    00046         DT_INVALID
    00047     };
    00048
    00053     enum VerticalFormatting
    00054     {
    00055         VF_TOP_ALIGNED,
    00056         VF_CENTRE_ALIGNED,
    00057         VF_BOTTOM_ALIGNED,
    00058         VF_STRETCHED,
    00059         VF_TILED
    00060     };
    00061
    00066     enum HorizontalFormatting
    00067     {
    00068         HF_LEFT_ALIGNED,
    00069         HF_CENTRE_ALIGNED,
    00070         HF_RIGHT_ALIGNED,
    00071         HF_STRETCHED,
    00072         HF_TILED
    00073     };
    00074
    00079     enum VerticalTextFormatting
    00080     {
    00081         VTF_TOP_ALIGNED,
    00082         VTF_CENTRE_ALIGNED,
    00083         VTF_BOTTOM_ALIGNED
    00084     };
    00085
    00090     enum HorizontalTextFormatting
    00091     {
    00092         HTF_LEFT_ALIGNED,
    00093         HTF_RIGHT_ALIGNED,
    00094         HTF_CENTRE_ALIGNED,
    00095         HTF_JUSTIFIED,
    00096         HTF_WORDWRAP_LEFT_ALIGNED,
    00097         HTF_WORDWRAP_RIGHT_ALIGNED,
    00098         HTF_WORDWRAP_CENTRE_ALIGNED,
    00099         HTF_WORDWRAP_JUSTIFIED
    00100     };
    00101
    00106     enum FontMetricType
    00107     {
    00108         FMT_LINE_SPACING,
    00109         FMT_BASELINE,
    00110         FMT_HORZ_EXTENT
    00111     };
    00112
    00117     enum DimensionOperator
    00118     {
    00119         DOP_NOOP,
    00120         DOP_ADD,
    00121         DOP_SUBTRACT,
    00122         DOP_MULTIPLY,
    00123         DOP_DIVIDE
    00124     };
    00125
    00130     enum FrameImageComponent
    00131     {
    00132         FIC_BACKGROUND,
    00133         FIC_TOP_LEFT_CORNER,
    00134         FIC_TOP_RIGHT_CORNER,
    00135         FIC_BOTTOM_LEFT_CORNER,
    00136         FIC_BOTTOM_RIGHT_CORNER,
    00137         FIC_LEFT_EDGE,
    00138         FIC_RIGHT_EDGE,
    00139         FIC_TOP_EDGE,
    00140         FIC_BOTTOM_EDGE,
    00141         FIC_FRAME_IMAGE_COUNT
    00142     };
    00143
    00144 } // End of  CEGUI namespace section
    00145
    00146
    00147 #endif  // end of guard _CEGUIFalEnums_h_