2010-10-27 12:45:03 +01:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2012-06-12 17:02:47 +01:00
|
|
|
/*
|
|
|
|
* This file is part of the LibreOffice project.
|
|
|
|
*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* This file incorporates work covered by the following license notice:
|
|
|
|
*
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
|
|
* with this work for additional information regarding copyright
|
|
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
|
|
*/
|
2001-07-30 06:44:39 +00:00
|
|
|
|
2014-04-18 18:32:22 +02:00
|
|
|
#ifndef INCLUDED_BASCTL_SOURCE_INC_DLGEDDEF_HXX
|
|
|
|
#define INCLUDED_BASCTL_SOURCE_INC_DLGEDDEF_HXX
|
2001-07-30 06:44:39 +00:00
|
|
|
|
2011-11-06 21:21:30 -05:00
|
|
|
#include <sal/types.h>
|
2001-07-30 06:44:39 +00:00
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
namespace basctl
|
|
|
|
{
|
|
|
|
|
2011-01-14 11:16:25 +01:00
|
|
|
const sal_uInt32 DlgInventor = sal_uInt32('D')*0x00000001+
|
|
|
|
sal_uInt32('L')*0x00000100+
|
|
|
|
sal_uInt32('G')*0x00010000+
|
|
|
|
sal_uInt32('1')*0x01000000;
|
2001-07-30 06:44:39 +00:00
|
|
|
|
2012-09-02 16:21:08 +02:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
OBJ_DLG_CONTROL = 1,
|
|
|
|
OBJ_DLG_DIALOG = 2,
|
|
|
|
OBJ_DLG_PUSHBUTTON = 3,
|
|
|
|
OBJ_DLG_RADIOBUTTON = 4,
|
|
|
|
OBJ_DLG_CHECKBOX = 5,
|
|
|
|
OBJ_DLG_LISTBOX = 6,
|
|
|
|
OBJ_DLG_COMBOBOX = 7,
|
|
|
|
OBJ_DLG_GROUPBOX = 8,
|
|
|
|
OBJ_DLG_EDIT = 9,
|
|
|
|
OBJ_DLG_FIXEDTEXT = 10,
|
|
|
|
OBJ_DLG_IMAGECONTROL = 11,
|
|
|
|
OBJ_DLG_PROGRESSBAR = 12,
|
|
|
|
OBJ_DLG_HSCROLLBAR = 13,
|
|
|
|
OBJ_DLG_VSCROLLBAR = 14,
|
|
|
|
OBJ_DLG_HFIXEDLINE = 15,
|
|
|
|
OBJ_DLG_VFIXEDLINE = 16,
|
|
|
|
OBJ_DLG_DATEFIELD = 17,
|
|
|
|
OBJ_DLG_TIMEFIELD = 18,
|
|
|
|
OBJ_DLG_NUMERICFIELD = 19,
|
|
|
|
OBJ_DLG_CURRENCYFIELD = 20,
|
|
|
|
OBJ_DLG_FORMATTEDFIELD = 21,
|
|
|
|
OBJ_DLG_PATTERNFIELD = 22,
|
|
|
|
OBJ_DLG_FILECONTROL = 23,
|
|
|
|
OBJ_DLG_TREECONTROL = 24,
|
|
|
|
OBJ_DLG_SPINBUTTON = 25,
|
2001-07-30 06:44:39 +00:00
|
|
|
|
2012-09-02 16:21:08 +02:00
|
|
|
OBJ_DLG_FORMRADIO = 26,
|
|
|
|
OBJ_DLG_FORMCHECK = 27,
|
|
|
|
OBJ_DLG_FORMLIST = 28,
|
|
|
|
OBJ_DLG_FORMCOMBO = 29,
|
|
|
|
OBJ_DLG_FORMSPIN = 30,
|
|
|
|
OBJ_DLG_FORMVSCROLL = 31,
|
|
|
|
OBJ_DLG_FORMHSCROLL = 32,
|
|
|
|
};
|
2011-12-05 09:56:17 +00:00
|
|
|
|
2004-12-10 16:02:58 +00:00
|
|
|
// control properties
|
2012-10-26 23:35:24 -02:00
|
|
|
#define DLGED_PROP_BACKGROUNDCOLOR "BackgroundColor"
|
|
|
|
#define DLGED_PROP_DROPDOWN "Dropdown"
|
|
|
|
#define DLGED_PROP_FORMATSSUPPLIER "FormatsSupplier"
|
|
|
|
#define DLGED_PROP_HEIGHT "Height"
|
|
|
|
#define DLGED_PROP_LABEL "Label"
|
|
|
|
#define DLGED_PROP_NAME "Name"
|
|
|
|
#define DLGED_PROP_ORIENTATION "Orientation"
|
|
|
|
#define DLGED_PROP_POSITIONX "PositionX"
|
|
|
|
#define DLGED_PROP_POSITIONY "PositionY"
|
|
|
|
#define DLGED_PROP_STEP "Step"
|
|
|
|
#define DLGED_PROP_TABINDEX "TabIndex"
|
|
|
|
#define DLGED_PROP_TEXTCOLOR "TextColor"
|
|
|
|
#define DLGED_PROP_TEXTLINECOLOR "TextLineColor"
|
|
|
|
#define DLGED_PROP_WIDTH "Width"
|
|
|
|
#define DLGED_PROP_DECORATION "Decoration"
|
2004-12-10 16:02:58 +00:00
|
|
|
|
|
|
|
|
Basic IDE: namespace basctl
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2012-08-25 12:43:27 +02:00
|
|
|
} // namespace basctl
|
|
|
|
|
2014-04-18 18:32:22 +02:00
|
|
|
#endif // INCLUDED_BASCTL_SOURCE_INC_DLGEDDEF_HXX
|
2010-10-27 12:45:03 +01:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|