gambas-source-code/gb.gtk/src/CConst.cpp
Benoît Minisini 2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00

152 lines
4.1 KiB
C++

/***************************************************************************
CConst.cpp
(c) 2004-2006 - Daniel Campos Fernández <dcamposf@gmail.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
***************************************************************************/
#define __CCONST_CPP
#include "gambas.h"
#include "main.h"
#include "widgets.h"
#include "CConst.h"
GB_DESC CAlignDesc[] =
{
GB_DECLARE("Align", 0), GB_VIRTUAL_CLASS(),
GB_CONSTANT("Normal", "i", ALIGN_NORMAL),
GB_CONSTANT("Left", "i", ALIGN_LEFT),
GB_CONSTANT("Right", "i", ALIGN_RIGHT),
GB_CONSTANT("Center", "i", ALIGN_CENTER),
GB_CONSTANT("TopNormal", "i", ALIGN_TOP_NORMAL),
GB_CONSTANT("TopLeft", "i", ALIGN_TOP_LEFT),
GB_CONSTANT("TopRight", "i", ALIGN_TOP_RIGHT),
GB_CONSTANT("Top", "i", ALIGN_TOP),
GB_CONSTANT("BottomNormal", "i", ALIGN_BOTTOM_NORMAL),
GB_CONSTANT("BottomLeft", "i", ALIGN_BOTTOM_LEFT),
GB_CONSTANT("BottomRight", "i", ALIGN_BOTTOM_RIGHT),
GB_CONSTANT("Bottom", "i", ALIGN_BOTTOM),
GB_CONSTANT("Justify", "i", ALIGN_JUSTIFY),
GB_END_DECLARE
};
GB_DESC CArrangeDesc[] =
{
GB_DECLARE("Arrange", 0), GB_VIRTUAL_CLASS(),
GB_CONSTANT("None", "i", ARRANGE_NONE),
GB_CONSTANT("Horizontal", "i", ARRANGE_HORIZONTAL),
GB_CONSTANT("Vertical", "i", ARRANGE_VERTICAL),
GB_CONSTANT("LeftRight", "i", ARRANGE_ROW),
GB_CONSTANT("TopBottom", "i", ARRANGE_COLUMN),
GB_CONSTANT("Row", "i", ARRANGE_ROW),
GB_CONSTANT("Column", "i", ARRANGE_COLUMN),
GB_CONSTANT("Fill", "i", ARRANGE_FILL),
GB_END_DECLARE
};
GB_DESC CBorderDesc[] =
{
GB_DECLARE("Border", 0), GB_VIRTUAL_CLASS(),
GB_CONSTANT("None", "i", BORDER_NONE),
GB_CONSTANT("Plain", "i", BORDER_PLAIN),
GB_CONSTANT("Sunken", "i", BORDER_SUNKEN),
GB_CONSTANT("Raised", "i", BORDER_RAISED),
GB_CONSTANT("Etched", "i", BORDER_ETCHED),
GB_END_DECLARE
};
GB_DESC CScrollDesc[] =
{
GB_DECLARE("Scroll", 0), GB_VIRTUAL_CLASS(),
GB_CONSTANT("None", "i", SCROLL_NONE),
GB_CONSTANT("Horizontal", "i", SCROLL_HORIZONTAL),
GB_CONSTANT("Vertical", "i", SCROLL_VERTICAL),
GB_CONSTANT("Both", "i", SCROLL_BOTH),
GB_END_DECLARE
};
GB_DESC CLineDesc[] =
{
GB_DECLARE("Line", 0), GB_VIRTUAL_CLASS(),
GB_CONSTANT("None", "i", LINE_NONE),
GB_CONSTANT("Solid", "i", LINE_SOLID),
GB_CONSTANT("Dash", "i", LINE_DASH),
GB_CONSTANT("Dot", "i", LINE_DOT),
GB_CONSTANT("DashDot", "i", LINE_DASH_DOT),
GB_CONSTANT("DashDotDot", "i", LINE_DASH_DOT_DOT),
GB_END_DECLARE
};
GB_DESC CFillDesc[] =
{
GB_DECLARE("Fill", 0), GB_VIRTUAL_CLASS(),
GB_CONSTANT("None", "i", FILL_NONE),
GB_CONSTANT("Solid", "i", FILL_SOLID),
GB_CONSTANT("Dense94", "i", FILL_DENSE_94),
GB_CONSTANT("Dense88", "i", FILL_DENSE_88),
GB_CONSTANT("Dense63", "i", FILL_DENSE_63),
GB_CONSTANT("Dense50", "i", FILL_DENSE_50),
GB_CONSTANT("Dense37", "i", FILL_DENSE_37),
GB_CONSTANT("Dense12", "i", FILL_DENSE_12),
GB_CONSTANT("Dense6", "i", FILL_DENSE_06),
GB_CONSTANT("Horizontal", "i", FILL_HORIZONTAL),
GB_CONSTANT("Vertical", "i", FILL_VERTICAL),
GB_CONSTANT("Cross", "i", FILL_CROSS),
GB_CONSTANT("Diagonal", "i", FILL_DIAGONAL),
GB_CONSTANT("BackDiagonal", "i", FILL_BACK_DIAGONAL),
GB_CONSTANT("CrossDiagonal", "i", FILL_CROSS_DIAGONAL),
GB_END_DECLARE
};
GB_DESC CSelectDesc[] =
{
GB_DECLARE("Select", 0), GB_VIRTUAL_CLASS(),
GB_CONSTANT("None", "i", SELECT_NONE),
GB_CONSTANT("Single", "i", SELECT_SINGLE),
GB_CONSTANT("Multiple", "i", SELECT_MULTIPLE),
GB_END_DECLARE
};