#Align

C
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

C
None
C
i
0
Vertical
C
i
1
Horizontal
C
i
2
Column
C
i
3
Row
C
i
4
Fill
C
i
5
#Border

C
None
C
i
0
Simple
C
i
1
Double
C
i
2
#Char

C
c
v
i

Attr
v
i

_call
M
Char
(ch)s(iAttr)i
#Desktop

CA
Width
r
i

W
r
i

Height
r
i

H
r
i

Background
p
Char

_init
M


#Key

C
Normal
C
i
0
F1
C
i
1
F2
C
i
2
F3
C
i
3
F4
C
i
4
F5
C
i
5
F6
C
i
6
F7
C
i
7
F8
C
i
8
F9
C
i
9
F10
C
i
10
F11
C
i
11
F12
C
i
12
BackSpace
C
i
13
Enter
C
i
14
Return
C
i
15
Tab
C
i
16
BackTab
C
i
17
Up
C
i
18
Down
C
i
19
Left
C
i
20
Right
C
i
21
Home
C
i
22
End
C
i
23
Insert
C
i
24
Delete
C
i
25
PageDown
C
i
26
PageUp
C
i
27
Menu
C
i
28
Shift
R
b

Control
R
b

Code
R
i

Text
R
s

Alt
R
b

_SetKey
M

(sKey)s(Code)i(Alt)b(Control)b(Shift)b
_Reset
M


#TermButton
TermControl
C
_Properties
C
s
"*,Text,Shadow"
_DrawWith
C
s
"Button"
Text
p
s

Shadow
p
b

Alignment
p
i

_DefaultBackground
r
i

_DefaultForeGround
r
i

_new
m


_Render
m


_GetBackGround
m
i

_GetForeground
m
i

_KeyPress
m


#TermCheckBox
TermControl
C
Text
p
s

Value
p
i

Tristate
p
b

_Render
m


_MouseUp
m


_KeyPress
m


#TermColor

C
Transparent
C
i
-1
Black
C
i
0
Red
C
i
1
Green
C
i
2
Yellow
C
i
3
Blue
C
i
4
Magenta
C
i
5
Cyan
C
i
6
White
C
i
7
Default
C
i
0
Mode256
C
i
1
ModeRGB
C
i
2
ForeGround
V
i

Background
V
i

ActiveWindow
V
i

InactiveWindow
V
i

Focus
V
i

FocusText
V
i

Desktop
V
i

ButtonBackground
V
i

ButtonText
V
i

Border
V
i

TextBackground
V
i

TextForeground
V
i

#TermContainer
TermControl

_IsContainer
C
b
T
_Group
C
s
"Container"
_Properties
C
s
"*"
Children
r
TermControl[]

ClientWidth
r
i

CLientW
r
i

ClientHeight
r
i

ClientH
r
i

Spacing
p
i

Padding
p
i

Border
p
i

Shadow
p
b

Invert
p
b

_Arrangement
v
i

_new
m


_Add
m

(hCtrl)TermControl;
_Render
m


_Arrange
m


#TermControl


_IsControl
C
b
T
_IsContainer
C
b

_Properties
C
s
"X{Position},Y{Position},Width{Dimension},Height{Dimension},Background{Color},Foreground{Color},Ignore"
_Family
C
s
"TermForm"
_IdToControl
V
Collection

_Content
v
Char[][]

_NeedRender
v
b

_UseFocus
v
b

id
r
i

Parent
r
TermContainer

ScreenX
r
i

ScreenY
r
i

Window
r
TermWindow

Left
p
i

X
p
i

Column
p
i

Top
p
i

Y
p
i

Line
p
i

Width
p
i

W
p
i

Height
p
i

H
p
i

Background
p
i

Foreground
p
i

Tag
p
v

Expand
p
b

_Shadow
p
b

_Border
p
i

_Padding
p
i

_ColorMode
p
i

Visible
p
b

Ignore
p
b

Next
r
TermControl

Previous
r
TermControl

HaveFocus
r
b

_DefaultBackground
r
i

_DefaultForeGround
r
i

_ClientHeight
r
i

_ClientWidth
r
i

_AllowFocus
v
b

:MouseDown
:


:MouseUp
:


:MouseWheel
:


:MouseMove
:


:Click
:


:KeyPress
:


:GotFocus
:


:LostFocus
:


_new
m

[(hParent)TermContainer;]
_DefineRect
m


_GetScreenRect
m
Rect

_Render
m


_GetBackGround
m
i

_GetScreenClientRect
m
Rect

_GetRect
m
Rect

Refresh
m

[(hScreenRect)Rect;]
_GetChar
m
Char
(c)i(l)i
_Arrange
m


Move
m

(Left)i(Top)i[(Width)i(Height)i]
_Initialize
m


_GetClientRect
m
Rect

_GetForeground
m
i

_MouseDown
m


SetFocus
m


_MouseUp
m


_MouseMove
m


_MouseWheel
m


_Click
m


Show
m


Hide
m


Resize
m

(Width)i(Height)i
_KeyPress
m


_LostFocus
m


_GotFocus
m


#TermForm
TermWindow
C
_Properties
C
s
"*,Border{Border.None;Simple;Double}=Simple,Arrangement{Arrange.None;Vertical;Horizontal}=None,Text,Resizable=True"
_HiddenControls
C
s
"TermControl,TermForm,TermWindow,TermContainer"
_IsForm
C
b
T
_IsContainer
C
b
T
_IsMultiContainer
C
b

_DrawWith
C
s
"Form"
_DefaultEvent
C
s
"Open"
Main
M


#TermFrame
TermPanel
C
Text
p
s

_Render
m


#TermHBox
TermContainer
C
_new
m


#TermLabel
TermControl
C
_Properties
C
s
"*,Text"
_DrawWith
C
s
"Label"
Text
p
s

_new
m


_Render
m


_GetForeground
m
i

#TermListBox
TermControl
C
List
p
String[]

Index
p
i

Count
r
i

Text
r
s

:Activate
:


:Change
:


EnsureVisible
m


_Render
m


_KeyPress
m


_MouseDown
m


_MouseUp
m


_MouseMove
m


_put
m

(Value)s(Index)i
_get
m
s
(Index)i
#TermPanel
TermContainer
C
Arrangement
p
i

#TermPictureBox
TermControl
C
Image
p
Image

Stretch
p
i

Alignment
p
i

None
C
i
0
Proportional
C
i
1
Cut
C
i
2
Fit
C
i
3
_init
M


_new
m


_Render
m


#TermRadioButton
TermControl
C
Text
p
s

Value
p
b

_Render
m


_MouseUp
m


_KeyPress
m


#TermScrollBar
TermControl
C
MinValue
p
i

MaxValue
p
i

Value
p
i

:Change
:


_new
m


_Render
m


_MouseDown
m


_MouseUp
m


_MouseMove
m


#TermTextBox
TermControl
C
_DrawWith
C
s
"TextBox"
Text
p
s

Height
p
i

:Change
:


:Activate
:


_new
m


_Render
m


_GetBackGround
m
i

_GetForeground
m
i

_KeyPress
m


_MouseDown
m


#TermVBox
TermContainer
C
_new
m


#TermWindow
TermContainer
CA
Arrangement
p
i

Text
p
s

Title
p
s

Maximized
p
b

Active
r
b

Resizable
p
b

Visible
p
b

Left
p
i

X
p
i

Column
p
i

Top
p
i

Y
p
i

Line
p
i

Width
p
i

W
p
i

Height
p
i

H
p
i

Persistent
p
b

ScreenY
r
i

ScreenX
r
i

_IsModal
v
b

:Close
:


:Open
:


_new
m


_Render
m


_Arrange
m


Move
m

(Left)i(Top)i[(Width)i(Height)i]
_ScreenResize
m


Center
m


Close
m


_MouseUp
m


_MouseDown
m


_MouseMove
m


_tmrMove_Timer
m


Activate
m


Resize
m

(Width)i(Height)i
GetNextFocusedControl
m
TermControl
(hCtrl)TermControl;[(bFirst)b]
GetPrevFocusedControl
m
TermControl
(hCtrl)TermControl;[(bFirst)b]
_SetFocus
m

(hCtrl)TermControl;
_GetCurrentFocusId
m
i

_KeyPress
m


_GetClientRect
m
Rect

ShowModal
m


#TermWindows

CA
Debug
V
i

bLock
V
b

DebugNone
C
i
0
DebugInput
C
i
1
DebugOutput
C
i
2
_init
M


_Add
m

(hWin)TermWindow;
SetRenderArea
M

(hRect)Rect;
_RefreshScreen
M


_Render
M


DoRefreshArea
M


Terminal_Resize
M


SetRefreshArea
M

(hRect)Rect;
File_Read
M


Delete
M

(hControl)TermControl;
_RaiseWindow
M

(hWin)TermWindow;
_Read
M

(sValue)s
RectToStr
M
s
(hRect)Rect;
GetActiveWindow
M
TermWindow

