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