00001 /*************************************************************************** 00002 chunktype.h - Builtin chunk type identifiers 00003 ------------------- 00004 begin : Wed May 28 2003 00005 copyright : (C) 2003 by Reality Rift Studios 00006 email : mattias@realityrift.com 00007 *************************************************************************** 00008 00009 The contents of this file are subject to the Mozilla Public License Version 00010 1.1 (the "License"); you may not use this file except in compliance with 00011 the License. You may obtain a copy of the License at 00012 http://www.mozilla.org/MPL/ 00013 00014 Software distributed under the License is distributed on an "AS IS" basis, 00015 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License 00016 for the specific language governing rights and limitations under the 00017 License. 00018 00019 The Original Code is the NeoEngine, NeoWTK, chunktype.h 00020 00021 The Initial Developer of the Original Code is Mattias Jansson. 00022 Portions created by Mattias Jansson are Copyright (C) 2002 00023 Reality Rift Studios. All Rights Reserved. 00024 00025 ***************************************************************************/ 00026 00027 #ifndef _NEOWTK_CHUNKTYPE_H_ 00028 #define _NEOWTK_CHUNKTYPE_H_ 00029 00030 00037 #include "base.h" 00038 00039 00040 namespace NeoWTK 00041 { 00042 00043 00048 class NEOWTK_API ChunkType 00049 { 00050 public: 00051 00056 enum CHUNKTYPE 00057 { 00059 FIRSTBUILTINCHUNKTYPE = 0x3A00, 00060 00062 OBJECT = 0x3A00, // "wtkobject" 00063 00065 AREA = 0x3A01, // "wtkarea" 00066 00068 BORDERAREA = 0x3A02, // "wtkborderarea" 00069 00071 BUTTON = 0x3A03, // "wtkbutton" 00072 00074 EDITBOX = 0x3A04, // "wtkeditbox" 00075 00077 TEXTAREA = 0x3A05, // "wtktextarea" 00078 00080 COORD = 0x3B00, // "wtkcoord" 00081 00083 ATTRIBUTE = 0x3B01, // "wtkattribute" 00084 00086 MSGHOOK = 0x3B02, // NOT SUPPORTED DIRECTLY, ONLY IDENTIFIER FOR SEARCHES 00087 00088 // Chunk ID 0x3C00 to 0x3CFF reserved for lua bindings 00089 00090 /* Widget library reference (include) */ 00091 LIBREF = 0x3F00, // "wtklibref" 00092 00094 LASTBUILTINCHUNKTYPE = 0x3FFF 00095 }; 00096 }; 00097 00098 00099 }; 00100 00101 00102 #endif 00103