d3501bf140
* NEW: Work continues on integrating the database manager. * NEW: Some cosmetic changes in the way controls are drawing on the form editor. * NEW: Panels with Border property set to None are now drawn with a light border. * BUG: Fix the "Show tab" button and menu. [INTERPRETER] * NEW: _attach is a new dynamic special method that is called when an object is attached to or detached from its event observer. The first argument of this method is the event observer, and the second argument the event handler prefix. [COMPILER] * NEW: An expression can be a NEW instruction now. Beware that it does not work inside braces. [GB.DB] * BUG: Fix an error message in the sqlite handler. [GB.DB.FORM] * NEW: DataSource.Table can now be any SQL query. The Filter property is ignored in that case. * BUG: Setting DataSource.Table to NULL correctly resets the DataSource and its children. * NEW: DataView automatically adjusts the height of its rows to the contents. * NEW: DataSource.CacheSize is a new property to set the number of rows stored in the internal DataSource cache. When this property is set to zero, the cache size takes its default value (64 rows). [GB.DB.SQLITE2] * BUG: Fix a crash in datatype mapping. [GB.DB.SQLITE3] * BUG: Fix a crash in datatype mapping. [GB.QT4] * BUG: Window.AutoResize property works as expected now. * OPT: Some optimizations in GridView. * NEW: GridView.Rows[].Visible returns if a specific row is visible. * NEW: GridView.Rows[].EnsureVisible ensures that a specific row is visible. * BUG: Draw.Style.Panel draws the same thing as a panel border now. * BUG: Window.Closed always returns the accurate value now. git-svn-id: svn://localhost/gambas/trunk@2108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
68 lines
1.5 KiB
C
68 lines
1.5 KiB
C
/***************************************************************************
|
|
|
|
header.h
|
|
|
|
Analyzing class description
|
|
|
|
(c) 2000-2007 Benoit Minisini <gambas@users.sourceforge.net>
|
|
|
|
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 1, 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef __GBC_HEADER_H
|
|
#define __GBC_HEADER_H
|
|
|
|
#include "gbc_type.h"
|
|
#include "gb_reserved.h"
|
|
#include "gbc_read.h"
|
|
#include "gb_limit.h"
|
|
#include "gbc_trans.h"
|
|
|
|
|
|
enum {
|
|
HF_NORMAL = 0,
|
|
HF_NO_3PTS = 1,
|
|
HF_EVENT = 2,
|
|
HF_NO_OPT = 4,
|
|
HF_VOID = 8
|
|
};
|
|
|
|
enum {
|
|
HS_ERROR = 0,
|
|
HS_PUBLIC = 1 << 0,
|
|
HS_STATIC = 1 << 1,
|
|
HS_DYNAMIC = 1 << 2,
|
|
HS_PROCEDURE = 1 << 3,
|
|
HS_FUNCTION = 1 << 4,
|
|
HS_PUT = 1 << 5,
|
|
HS_UNKNOWN = 1 << 6,
|
|
HS_NOPARAM = 1 << 7,
|
|
HS_COMPARE = 1 << 8,
|
|
HS_ATTACH = 1 << 9
|
|
};
|
|
|
|
typedef
|
|
struct {
|
|
char *name;
|
|
int flag;
|
|
}
|
|
HEADER_SPECIAL;
|
|
|
|
|
|
void HEADER_do(void);
|
|
|
|
#endif
|
|
|