a6e9f61ee1
* NEW: Update *.component files to the new format. * BUG: Fix component TEMPLATE directory. [EXAMPLES] * NEW: PhotoTouch: Display the browsed directory path. [INTERPRETER] * NEW: Change the 'main' hook syntax. Add a macro to call the previous 'main' hook, so that several hooks can be declared. [GB.MEDIA] * NEW: New multimedia component based on GStreamer. [GB.GTK] * BUG: Fix timer management so that it is compatible with the GB.Every() interpreter API. * NEW: Allows multiple 'main' hooks. [GB.QT4] * NEW: Allows multiple 'main' hooks. git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
1179 lines
7.1 KiB
Text
1179 lines
7.1 KiB
Text
#Align
|
|
|
|
CO
|
|
Normal
|
|
C
|
|
i
|
|
0
|
|
Left
|
|
C
|
|
i
|
|
1
|
|
Right
|
|
C
|
|
i
|
|
2
|
|
Center
|
|
C
|
|
i
|
|
3
|
|
TopNormal
|
|
C
|
|
i
|
|
16
|
|
TopLeft
|
|
C
|
|
i
|
|
17
|
|
TopRight
|
|
C
|
|
i
|
|
18
|
|
Top
|
|
C
|
|
i
|
|
19
|
|
BottomNormal
|
|
C
|
|
i
|
|
32
|
|
BottomLeft
|
|
C
|
|
i
|
|
33
|
|
BottomRight
|
|
C
|
|
i
|
|
34
|
|
Bottom
|
|
C
|
|
i
|
|
35
|
|
#Arrange
|
|
|
|
CO
|
|
None
|
|
C
|
|
i
|
|
0
|
|
Horizontal
|
|
C
|
|
i
|
|
1
|
|
Vertical
|
|
C
|
|
i
|
|
2
|
|
Column
|
|
C
|
|
i
|
|
4
|
|
Fill
|
|
C
|
|
i
|
|
5
|
|
#Line
|
|
|
|
CO
|
|
None
|
|
C
|
|
i
|
|
0
|
|
Solid
|
|
C
|
|
i
|
|
1
|
|
Dash
|
|
C
|
|
i
|
|
2
|
|
Dot
|
|
C
|
|
i
|
|
3
|
|
DashDot
|
|
C
|
|
i
|
|
4
|
|
DashDotDot
|
|
C
|
|
i
|
|
5
|
|
#Report
|
|
ReportSection
|
|
CA
|
|
None
|
|
C
|
|
i
|
|
0
|
|
Proportional
|
|
C
|
|
i
|
|
1
|
|
Fill
|
|
C
|
|
i
|
|
2
|
|
_Properties
|
|
C
|
|
s
|
|
*,-Left,-Top,-Width,-Height,Count{Range:1;256}=1,Index,Text,Paper{Printer.A3;A4;A5;B5;Letter;Executive;Legal;Custom}=A4,Orientation{Printer.Portrait;Landscape}=Portrait
|
|
_HiddenControls
|
|
C
|
|
s
|
|
Report,ReportControl,ReportContainer,ReportFrame,ReportSection
|
|
_IsForm
|
|
C
|
|
b
|
|
-1
|
|
_IsContainer
|
|
C
|
|
b
|
|
-1
|
|
_IsMultiContainer
|
|
C
|
|
b
|
|
-1
|
|
_DrawWith
|
|
C
|
|
s
|
|
TabPanel
|
|
_LayoutNotFinished
|
|
v
|
|
b
|
|
|
|
_Container
|
|
v
|
|
ReportSection
|
|
|
|
Debug
|
|
v
|
|
b
|
|
|
|
_bInExec
|
|
v
|
|
b
|
|
|
|
Resolution
|
|
p
|
|
i
|
|
|
|
Scale
|
|
p
|
|
f
|
|
|
|
PageCount
|
|
r
|
|
i
|
|
|
|
Count
|
|
p
|
|
i
|
|
|
|
Index
|
|
p
|
|
i
|
|
|
|
Left
|
|
p
|
|
s
|
|
|
|
Top
|
|
p
|
|
s
|
|
|
|
X
|
|
p
|
|
s
|
|
|
|
Y
|
|
p
|
|
s
|
|
|
|
Width
|
|
p
|
|
s
|
|
|
|
Height
|
|
p
|
|
s
|
|
|
|
Visible
|
|
p
|
|
b
|
|
|
|
Font
|
|
p
|
|
Font
|
|
|
|
Expand
|
|
p
|
|
b
|
|
|
|
Ignore
|
|
p
|
|
b
|
|
|
|
Fixed
|
|
p
|
|
b
|
|
|
|
Autoresize
|
|
p
|
|
b
|
|
|
|
Padding
|
|
p
|
|
ReportPadding
|
|
|
|
Border
|
|
p
|
|
ReportBorder
|
|
|
|
BackGround
|
|
p
|
|
ReportBrush
|
|
|
|
Children
|
|
r
|
|
ReportControl[]
|
|
|
|
Spacing
|
|
p
|
|
s
|
|
|
|
Data
|
|
p
|
|
o
|
|
|
|
Text
|
|
p
|
|
s
|
|
|
|
Paper
|
|
p
|
|
i
|
|
|
|
Orientation
|
|
p
|
|
i
|
|
|
|
Main
|
|
M
|
|
|
|
|
|
_New
|
|
m
|
|
|
|
|
|
Layout
|
|
m
|
|
|
|
|
|
_Layout
|
|
m
|
|
|
|
[(iPage)i]
|
|
_Reset
|
|
m
|
|
|
|
|
|
Paint
|
|
m
|
|
|
|
(Page)i
|
|
Clear
|
|
m
|
|
|
|
|
|
Preview
|
|
m
|
|
|
|
|
|
Image
|
|
m
|
|
ReportBrush
|
|
(Value)s(X)s(Y)s
|
|
LinearGradient
|
|
m
|
|
ReportBrush
|
|
(Colors)Integer[];(Positions)Float[];
|
|
RadialGradient
|
|
m
|
|
ReportBrush
|
|
(Colors)Integer[];(Positions)Float[];
|
|
Color
|
|
m
|
|
ReportBrush
|
|
(iColor)i
|
|
Refresh
|
|
m
|
|
|
|
|
|
_get
|
|
m
|
|
ReportSection
|
|
(Index)i
|
|
Clone
|
|
m
|
|
Report
|
|
|
|
Print
|
|
m
|
|
|
|
|
|
#ReportBorder
|
|
|
|
C
|
|
None
|
|
C
|
|
i
|
|
0
|
|
Solid
|
|
C
|
|
i
|
|
1
|
|
_Left
|
|
v
|
|
f
|
|
|
|
_Right
|
|
v
|
|
f
|
|
|
|
_Top
|
|
v
|
|
f
|
|
|
|
_Bottom
|
|
v
|
|
f
|
|
|
|
Top
|
|
r
|
|
_ReportBorderSide
|
|
|
|
Left
|
|
r
|
|
_ReportBorderSide
|
|
|
|
bottom
|
|
r
|
|
_ReportBorderSide
|
|
|
|
Right
|
|
r
|
|
_ReportBorderSide
|
|
|
|
RoundCorner
|
|
r
|
|
_ReportRoundCorner
|
|
|
|
Width
|
|
p
|
|
s
|
|
|
|
Brush
|
|
p
|
|
ReportBrush
|
|
|
|
Style
|
|
v
|
|
i
|
|
|
|
_get
|
|
M
|
|
ReportBorder
|
|
(sValue)s
|
|
ToString
|
|
m
|
|
s
|
|
|
|
#ReportBrush
|
|
|
|
C
|
|
_Type
|
|
v
|
|
i
|
|
|
|
_X
|
|
v
|
|
f
|
|
|
|
_Y
|
|
v
|
|
f
|
|
|
|
_X2
|
|
v
|
|
f
|
|
|
|
_Y2
|
|
v
|
|
f
|
|
|
|
_radius
|
|
v
|
|
f
|
|
|
|
_Image
|
|
v
|
|
Image
|
|
|
|
_Color
|
|
v
|
|
Integer[]
|
|
|
|
_Pos
|
|
v
|
|
Float[]
|
|
|
|
_PaintBrush
|
|
m
|
|
PaintBrush
|
|
(X1)i(Y1)i(X2)i(Y2)i
|
|
_get
|
|
M
|
|
ReportBrush
|
|
(sValue)s
|
|
ToString
|
|
m
|
|
s
|
|
|
|
#ReportContainer
|
|
ReportFrame
|
|
|
|
_IsContainer
|
|
C
|
|
b
|
|
-1
|
|
_Group
|
|
C
|
|
s
|
|
Container
|
|
_Properties
|
|
C
|
|
s
|
|
*,Spacing{ReportCoord},OnePiece
|
|
_CurItem
|
|
p
|
|
i
|
|
|
|
_Arrangement
|
|
v
|
|
i
|
|
|
|
_Index
|
|
p
|
|
i
|
|
|
|
DataCount
|
|
p
|
|
i
|
|
|
|
Children
|
|
r
|
|
ReportControl[]
|
|
|
|
Spacing
|
|
p
|
|
s
|
|
|
|
_Spacing
|
|
r
|
|
f
|
|
|
|
_RelativeSpacing
|
|
r
|
|
b
|
|
|
|
OnePiece
|
|
p
|
|
b
|
|
|
|
_RealSpacing
|
|
v
|
|
i
|
|
|
|
:BeforeData
|
|
:
|
|
|
|
|
|
:AfterData
|
|
:
|
|
|
|
|
|
_Add
|
|
m
|
|
|
|
(cControl)ReportControl;
|
|
_Remove
|
|
m
|
|
|
|
(Id)i
|
|
_Free
|
|
m
|
|
|
|
|
|
_ClipChildren
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i(fScale)f
|
|
_Paint
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
_SetUnifiedValues
|
|
m
|
|
|
|
|
|
_GenerateClones
|
|
m
|
|
|
|
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
_GetData
|
|
m
|
|
v
|
|
(sKey)s
|
|
_Reset
|
|
m
|
|
|
|
|
|
_SetChildGeometry
|
|
m
|
|
|
|
(X)f(Y)f(W)f(H)f(ContPage)i(TCont)TControl;(bInFixed)b
|
|
_GetIndex
|
|
m
|
|
i
|
|
|
|
#ReportControl
|
|
|
|
|
|
_IsControl
|
|
C
|
|
b
|
|
-1
|
|
_Properties
|
|
C
|
|
s
|
|
Left{ReportCoord},Top{ReportCoord},Width{ReportCoord},Height{ReportCoord},Brush{ReportBrush},Visible=True,Fixed,Font,Padding,Ignore,Expand,AutoResize,Tag,Range
|
|
_Family
|
|
C
|
|
s
|
|
Report
|
|
_SizeInt
|
|
v
|
|
TSizeHint
|
|
|
|
_Count
|
|
v
|
|
i
|
|
|
|
_DataIndex
|
|
p
|
|
i
|
|
|
|
Name
|
|
v
|
|
s
|
|
|
|
_ObjectFromId
|
|
V
|
|
Collection
|
|
|
|
_iCurPagePos
|
|
V
|
|
i
|
|
|
|
Font
|
|
p
|
|
Font
|
|
|
|
Id
|
|
r
|
|
i
|
|
|
|
Parent
|
|
r
|
|
ReportContainer
|
|
|
|
Tag
|
|
p
|
|
v
|
|
|
|
Padding
|
|
p
|
|
ReportPadding
|
|
|
|
Brush
|
|
p
|
|
ReportBrush
|
|
|
|
_Top
|
|
r
|
|
f
|
|
|
|
_Height
|
|
r
|
|
f
|
|
|
|
_Width
|
|
r
|
|
f
|
|
|
|
_Left
|
|
r
|
|
f
|
|
|
|
_Padding
|
|
r
|
|
f
|
|
|
|
_RelativeLeft
|
|
r
|
|
b
|
|
|
|
_RelativeTop
|
|
r
|
|
b
|
|
|
|
_RelativeWidth
|
|
r
|
|
b
|
|
|
|
_RelativeHeight
|
|
r
|
|
b
|
|
|
|
_RelativePadding
|
|
r
|
|
b
|
|
|
|
_Index
|
|
p
|
|
i
|
|
|
|
Range
|
|
p
|
|
s
|
|
|
|
Left
|
|
p
|
|
s
|
|
|
|
Top
|
|
p
|
|
s
|
|
|
|
X
|
|
p
|
|
s
|
|
|
|
Y
|
|
p
|
|
s
|
|
|
|
Width
|
|
p
|
|
s
|
|
|
|
Height
|
|
p
|
|
s
|
|
|
|
Visible
|
|
p
|
|
b
|
|
|
|
Expand
|
|
p
|
|
b
|
|
|
|
Ignore
|
|
p
|
|
b
|
|
|
|
Fixed
|
|
p
|
|
b
|
|
|
|
Autoresize
|
|
p
|
|
b
|
|
|
|
Report
|
|
r
|
|
Report
|
|
|
|
_ReportId
|
|
p
|
|
i
|
|
|
|
DataIndex
|
|
r
|
|
i
|
|
|
|
_New
|
|
m
|
|
|
|
[(Parent)ReportContainer;]
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
_PaintBefore
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
_Paint
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
_PaintFrame
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
_PaintAfter
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
Move
|
|
m
|
|
|
|
(X)f(Y)f(W)f(H)f
|
|
_SetChildGeometry
|
|
m
|
|
|
|
(X)f(Y)f(W)f(H)f(ContPage)i(TCont)TControl;(bInFixed)b
|
|
_SetUnifiedValues
|
|
m
|
|
|
|
|
|
_Reset
|
|
m
|
|
|
|
|
|
_GetActualBrush
|
|
m
|
|
PaintBrush
|
|
(X1)i(Y1)i(X2)i(Y2)i
|
|
_GetIndex
|
|
m
|
|
i
|
|
|
|
#ReportFrame
|
|
ReportControl
|
|
|
|
_Properties
|
|
C
|
|
s
|
|
*,Border,Background{ReportBrush}
|
|
Border
|
|
p
|
|
ReportBorder
|
|
|
|
BackGround
|
|
p
|
|
ReportBrush
|
|
|
|
_PaintBefore
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
_PaintFrame
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
_PaintAfter
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
_SetUnifiedValues
|
|
m
|
|
|
|
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
#ReportHBox
|
|
ReportContainer
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*
|
|
_Similar
|
|
C
|
|
s
|
|
ReportVBox
|
|
_DefaultArrangement
|
|
C
|
|
s
|
|
H
|
|
_new
|
|
m
|
|
|
|
|
|
_Free
|
|
m
|
|
|
|
|
|
#ReportImage
|
|
ReportFrame
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*,Stretch{Report.None;Proportional;Fill}=Proportional,Alignment{Align.*},Image{Image}
|
|
_Similar
|
|
C
|
|
s
|
|
ReportTextLabel
|
|
_DefaultEvent
|
|
C
|
|
s
|
|
Data
|
|
Image
|
|
p
|
|
Image
|
|
|
|
Alignment
|
|
p
|
|
i
|
|
|
|
Stretch
|
|
p
|
|
i
|
|
|
|
Data
|
|
v
|
|
Image
|
|
|
|
:Data
|
|
:
|
|
|
|
(Index)i
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
_Paint
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
#ReportLabel
|
|
ReportFrame
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*,Text,Format,Alignment{Align.*},Rotate,UseField
|
|
_Similar
|
|
C
|
|
s
|
|
ReportTextLabel
|
|
_DefaultEvent
|
|
C
|
|
s
|
|
Data
|
|
Text
|
|
p
|
|
s
|
|
|
|
Alignment
|
|
p
|
|
i
|
|
|
|
IsSpecial
|
|
p
|
|
b
|
|
|
|
Format
|
|
p
|
|
s
|
|
|
|
UseField
|
|
p
|
|
b
|
|
|
|
Rotate
|
|
p
|
|
f
|
|
|
|
Data
|
|
v
|
|
s
|
|
|
|
:Data
|
|
:
|
|
|
|
(Index)i
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
_Paint
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
#ReportLine
|
|
ReportControl
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*,Direction{Align.TopLeft;Top;TopRight;Left;Right;BottomLeft;Bottom;BottomRight}=BottomRight,LineWidth{ReportCoord}=2 px
|
|
_Similar
|
|
C
|
|
s
|
|
ReportTextLabel
|
|
Direction
|
|
p
|
|
i
|
|
|
|
LineWidth
|
|
p
|
|
s
|
|
|
|
LineStyle
|
|
p
|
|
i
|
|
|
|
_new
|
|
m
|
|
|
|
|
|
_SetUnifiedValues
|
|
m
|
|
|
|
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
_Paint
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
#ReportPadding
|
|
|
|
C
|
|
Left
|
|
v
|
|
s
|
|
|
|
Right
|
|
v
|
|
s
|
|
|
|
Top
|
|
v
|
|
s
|
|
|
|
Bottom
|
|
v
|
|
s
|
|
|
|
_Left
|
|
v
|
|
f
|
|
|
|
_Right
|
|
v
|
|
f
|
|
|
|
_Top
|
|
v
|
|
f
|
|
|
|
_Bottom
|
|
v
|
|
f
|
|
|
|
_Width
|
|
r
|
|
f
|
|
|
|
_Height
|
|
r
|
|
f
|
|
|
|
_Get
|
|
M
|
|
ReportPadding
|
|
(Value)s
|
|
#ReportPanel
|
|
ReportContainer
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*,Arrangement{Arrange.None;Vertical;Horizontal;Column;Fill}=Vertical
|
|
_Similar
|
|
C
|
|
s
|
|
ReportVBox
|
|
Arrangement
|
|
p
|
|
i
|
|
|
|
_new
|
|
m
|
|
|
|
|
|
#ReportSection
|
|
ReportVBox
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*,Text
|
|
Text
|
|
p
|
|
s
|
|
|
|
#ReportSvgImage
|
|
ReportFrame
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*,Stretch{Report.None;Proportional;Fill}=Proportional,Alignment{Align.*},Image{SvgImage}
|
|
_Similar
|
|
C
|
|
s
|
|
ReportTextLabel
|
|
Data
|
|
v
|
|
SvgImage
|
|
|
|
Image
|
|
p
|
|
SvgImage
|
|
|
|
Stretch
|
|
p
|
|
i
|
|
|
|
Alignment
|
|
p
|
|
i
|
|
|
|
:Data
|
|
:
|
|
|
|
(Index)i
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
_Paint
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
#ReportTextLabel
|
|
ReportFrame
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*,Text,Alignment{Align.*}
|
|
_Similar
|
|
C
|
|
s
|
|
ReportControl
|
|
_DefaultEvent
|
|
C
|
|
s
|
|
Data
|
|
Text
|
|
p
|
|
s
|
|
|
|
Alignment
|
|
p
|
|
i
|
|
|
|
Data
|
|
v
|
|
s
|
|
|
|
:Data
|
|
:
|
|
|
|
(Index)i
|
|
_GetSizeHints
|
|
m
|
|
TSizeHint
|
|
(AvailableW)f(AvailableH)f(TotalWidth)f(TotalHeight)f
|
|
_Paint
|
|
m
|
|
|
|
(Page)i(X)f(Y)f(hControl)TControl;(VirtualId)i
|
|
#ReportVBox
|
|
ReportContainer
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*
|
|
_Similar
|
|
C
|
|
s
|
|
ReportVBox
|
|
_DefaultArrangement
|
|
C
|
|
s
|
|
V
|
|
_new
|
|
m
|
|
|
|
|
|
_Free
|
|
m
|
|
|
|
|
|
#ReportVPanel
|
|
ReportContainer
|
|
C
|
|
_Properties
|
|
C
|
|
s
|
|
*
|
|
_Similar
|
|
C
|
|
s
|
|
ReportVBox
|
|
_new
|
|
m
|
|
|
|
|
|
_Free
|
|
m
|
|
|
|
|
|
#_ReportBorderSide
|
|
|
|
C
|
|
Width
|
|
v
|
|
s
|
|
|
|
Brush
|
|
v
|
|
ReportBrush
|
|
|
|
Round1
|
|
v
|
|
s
|
|
|
|
Round2
|
|
v
|
|
s
|
|
|