Crazy Eddies GUI System 0.7.6
|
00001 /*********************************************************************** 00002 filename: CEGUIFalEnums.h 00003 created: Mon Jun 13 2005 00004 author: Paul D Turner <paul@cegui.org.uk> 00005 *************************************************************************/ 00006 /*************************************************************************** 00007 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team 00008 * 00009 * Permission is hereby granted, free of charge, to any person obtaining 00010 * a copy of this software and associated documentation files (the 00011 * "Software"), to deal in the Software without restriction, including 00012 * without limitation the rights to use, copy, modify, merge, publish, 00013 * distribute, sublicense, and/or sell copies of the Software, and to 00014 * permit persons to whom the Software is furnished to do so, subject to 00015 * the following conditions: 00016 * 00017 * The above copyright notice and this permission notice shall be 00018 * included in all copies or substantial portions of the Software. 00019 * 00020 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00021 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00022 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00023 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 00024 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 00025 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 00026 * OTHER DEALINGS IN THE SOFTWARE. 00027 ***************************************************************************/ 00028 #ifndef _CEGUIFalEnums_h_ 00029 #define _CEGUIFalEnums_h_ 00030 00031 // Start of CEGUI namespace section 00032 namespace CEGUI 00033 { 00038 enum DimensionType 00039 { 00040 DT_LEFT_EDGE, 00041 DT_X_POSITION, 00042 DT_TOP_EDGE, 00043 DT_Y_POSITION, 00044 DT_RIGHT_EDGE, 00045 DT_BOTTOM_EDGE, 00046 DT_WIDTH, 00047 DT_HEIGHT, 00048 DT_X_OFFSET, 00049 DT_Y_OFFSET, 00050 DT_INVALID 00051 }; 00052 00057 enum VerticalFormatting 00058 { 00059 VF_TOP_ALIGNED, 00060 VF_CENTRE_ALIGNED, 00061 VF_BOTTOM_ALIGNED, 00062 VF_STRETCHED, 00063 VF_TILED 00064 }; 00065 00070 enum HorizontalFormatting 00071 { 00072 HF_LEFT_ALIGNED, 00073 HF_CENTRE_ALIGNED, 00074 HF_RIGHT_ALIGNED, 00075 HF_STRETCHED, 00076 HF_TILED 00077 }; 00078 00083 enum VerticalTextFormatting 00084 { 00085 VTF_TOP_ALIGNED, 00086 VTF_CENTRE_ALIGNED, 00087 VTF_BOTTOM_ALIGNED 00088 }; 00089 00094 enum HorizontalTextFormatting 00095 { 00096 HTF_LEFT_ALIGNED, 00097 HTF_RIGHT_ALIGNED, 00098 HTF_CENTRE_ALIGNED, 00099 HTF_JUSTIFIED, 00100 HTF_WORDWRAP_LEFT_ALIGNED, 00101 HTF_WORDWRAP_RIGHT_ALIGNED, 00102 HTF_WORDWRAP_CENTRE_ALIGNED, 00103 HTF_WORDWRAP_JUSTIFIED 00104 }; 00105 00110 enum FontMetricType 00111 { 00112 FMT_LINE_SPACING, 00113 FMT_BASELINE, 00114 FMT_HORZ_EXTENT 00115 }; 00116 00121 enum DimensionOperator 00122 { 00123 DOP_NOOP, 00124 DOP_ADD, 00125 DOP_SUBTRACT, 00126 DOP_MULTIPLY, 00127 DOP_DIVIDE 00128 }; 00129 00134 enum FrameImageComponent 00135 { 00136 FIC_BACKGROUND, 00137 FIC_TOP_LEFT_CORNER, 00138 FIC_TOP_RIGHT_CORNER, 00139 FIC_BOTTOM_LEFT_CORNER, 00140 FIC_BOTTOM_RIGHT_CORNER, 00141 FIC_LEFT_EDGE, 00142 FIC_RIGHT_EDGE, 00143 FIC_TOP_EDGE, 00144 FIC_BOTTOM_EDGE, 00145 FIC_FRAME_IMAGE_COUNT 00146 }; 00147 00148 } // End of CEGUI namespace section 00149 00150 00151 #endif // end of guard _CEGUIFalEnums_h_