2
* This file is part of wxSmith plugin for Code::Blocks Studio
3
* Copyright (C) 2006-2007 Bartlomiej Swiecki
5
* wxSmith is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
10
* wxSmith is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
19
* $Id: wxsiteminfo.h 4850 2008-01-29 21:45:49Z byo $
20
* $HeadURL: svn://svn.berlios.de/codeblocks/tags/8.02/src/plugins/contrib/wxSmith/wxwidgets/wxsiteminfo.h $
26
#include <wx/string.h>
27
#include <wx/bitmap.h>
29
/** \brief Set of possible item types */
32
wxsTInvalid = 0, ///< \brief Invalid item type
33
wxsTWidget, ///< \brief Widget (childless)
34
wxsTContainer, ///< \brief Widget with children
35
wxsTSizer, ///< \brief Sizer
36
wxsTSpacer, ///< \brief Spacer
37
wxsTTool ///< \brief Tool
40
/** \brief Structure containing all global informations about item */
43
wxString ClassName; ///< \brief Item's class name
44
wxsItemType Type; ///< \brief Item type
45
wxString License; ///< \brief Item's license
46
wxString Author; ///< \brief Item's author
47
wxString Email; ///< \brief Item's author's email
48
wxString Site; ///< \brief Site about this item
49
wxString Category; ///< \brief Item's category (used for grouping widgets, use _T() instead of _() because this string will be used for sorting and it will be translated manually)
50
long Priority; ///< \brief Priority used for sorting widgets inside one group, should be in range 0..100, higher priority widgets will be at the beginning of palette
51
wxString DefaultVarName; ///< \brief Prefix for default variable name (converted to uppercase will be used as prefix for identifier)
52
long Languages; ///< \brief Coding languages used by this item
53
unsigned short VerHi; ///< \brief Lower number of version
54
unsigned short VerLo; ///< \brief Higher number of version
55
wxBitmap Icon32; ///< \brief Item's icon (32x32 pixels)
56
wxBitmap Icon16; ///< \brief Item's icon (16x16 pixels)
57
bool AllowInXRC; ///< \brief Item can be used in XRC files
58
int TreeIconId; ///< \brief Identifier of image inside resource tree