Caption = "This is a senseless, but quite impressive demo. check it out!"
Height = 495
Left = 240
TabIndex = 53
Top = 5160
Width = 4935
End
Begin VB.Label labDemo
Caption = "FLOMIX-Logos: 3"
Height = 255
Left = 240
TabIndex = 51
Top = 4080
Width = 4815
End
End
Begin VB.PictureBox picBack
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 615
Left = 1560
ScaleHeight = 37
ScaleMode = 3 'Pixel
ScaleWidth = 53
TabIndex = 49
Top = 1560
Visible = 0 'False
Width = 855
End
Begin VB.CommandButton cmdMenu
Caption = "Brightness"
Height = 315
Index = 0
Left = 120
TabIndex = 36
Top = 120
Width = 1080
End
Begin VB.CommandButton cmdMenu
Caption = "Alpha"
Height = 315
Index = 1
Left = 1200
TabIndex = 37
Top = 120
Width = 1080
End
Begin VB.CommandButton cmdMenu
Caption = "Rotate"
Height = 315
Index = 2
Left = 2280
TabIndex = 38
Top = 120
Width = 1080
End
Begin VB.CommandButton cmdMenu
Caption = "Blur"
Height = 315
Index = 3
Left = 3360
TabIndex = 39
Top = 120
Width = 1080
End
Begin VB.CommandButton cmdMenu
Caption = "Bump Map"
Height = 315
Index = 4
Left = 4440
TabIndex = 40
Top = 120
Width = 1080
End
Begin VB.CommandButton cmdMenu
Caption = "Mosaic"
Height = 315
Index = 5
Left = 120
TabIndex = 41
Top = 435
Width = 1080
End
Begin VB.CommandButton cmdMenu
Enabled = 0 'False
Height = 315
Index = 6
Left = 1200
TabIndex = 42
Top = 435
Width = 1080
End
Begin VB.CommandButton cmdMenu
Enabled = 0 'False
Height = 315
Index = 7
Left = 2280
TabIndex = 43
Top = 435
Width = 1080
End
Begin VB.CommandButton cmdMenu
Enabled = 0 'False
Height = 315
Index = 8
Left = 3360
TabIndex = 44
Top = 435
Width = 1080
End
Begin VB.CommandButton cmdMenu
Caption = "Demo"
Height = 315
Index = 9
Left = 4440
TabIndex = 45
Top = 435
Width = 1080
End
Begin VB.Frame fraScreen
Caption = "AlphaBlend"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 1
Left = 120
TabIndex = 1
Top = 840
Width = 5415
Begin VB.HScrollBar HScroll2
Height = 255
LargeChange = 16
Left = 240
Max = 255
TabIndex = 6
Top = 4320
Value = 128
Width = 4815
End
Begin VB.CheckBox Check1
Caption = "Use MaskColor"
Height = 255
Left = 240
TabIndex = 11
Top = 4680
Value = 1 'Aktiviert
Width = 1575
End
Begin VB.PictureBox picSwan
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 300
Left = 4440
ScaleHeight = 16
ScaleMode = 3 'Pixel
ScaleWidth = 37
TabIndex = 10
Top = 4680
Visible = 0 'False
Width = 615
End
Begin VB.PictureBox picBlend
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 3660
Left = 240
MouseIcon = "Demo.frx":22FC
MousePointer = 99 'Benutzerdefiniert
ScaleHeight = 240
ScaleMode = 3 'Pixel
ScaleWidth = 320
TabIndex = 5
TabStop = 0 'False
Top = 360
Width = 4860
End
Begin VB.Label Label2
Caption = $"Demo.frx":2606
Height = 675
Left = 240
TabIndex = 9
Top = 5040
Width = 4695
End
Begin VB.Label labAlpha
Caption = "Alpha-Value: 0"
Height = 255
Left = 240
TabIndex = 7
Top = 4080
Width = 4815
End
End
Begin VB.Frame fraScreen
Caption = "Blur"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 3
Left = 120
TabIndex = 19
Top = 840
Width = 5415
Begin VB.CommandButton cmdBlurReset
Caption = "Reset"
Height = 375
Left = 360
TabIndex = 22
Top = 4200
Width = 855
End
Begin VB.CommandButton cmdBlur
Caption = "Blur"
Height = 375
Left = 1320
TabIndex = 21
Top = 4200
Width = 855
End
Begin VB.PictureBox picBlur
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 3660
Left = 240
ScaleHeight = 240
ScaleMode = 3 'Pixel
ScaleWidth = 320
TabIndex = 20
TabStop = 0 'False
Top = 360
Width = 4860
End
End
Begin VB.Frame fraScreen
Caption = "Brightness"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 0
Left = 120
TabIndex = 0
Top = 840
Width = 5415
Begin VB.HScrollBar HScroll1
Height = 255
LargeChange = 32
Left = 240
Max = 255
Min = -255
TabIndex = 2
Top = 4320
Width = 4815
End
Begin VB.PictureBox picBrightness
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 3660
Left = 240
ScaleHeight = 240
ScaleMode = 3 'Pixel
ScaleWidth = 320
TabIndex = 3
TabStop = 0 'False
Top = 360
Width = 4860
End
Begin VB.Label labBrightness
Caption = "Brightness-level: 0"
Height = 255
Left = 240
TabIndex = 4
Top = 4080
Width = 4815
End
Begin VB.Label Label1
Caption = "Adjust the slider to change the Brightness of the picture."
Height = 675
Left = 240
TabIndex = 8
Top = 4680
Width = 4815
End
End
Begin VB.Frame fraScreen
Caption = "Rotate"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 2
Left = 120
TabIndex = 12
Top = 840
Width = 5415
Begin VB.PictureBox picRot
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 300
Left = 4440
ScaleHeight = 16
ScaleMode = 3 'Pixel
ScaleWidth = 32
TabIndex = 17
Top = 4680
Visible = 0 'False
Width = 540
End
Begin VB.CheckBox chkRotMask
Caption = "Mask Color"
Height = 255
Left = 240
TabIndex = 16
Top = 4680
Value = 1 'Aktiviert
Width = 1215
End
Begin VB.CheckBox chkRotSmooth
Caption = "anti aliasing"
Height = 255
Left = 1560
TabIndex = 15
Top = 4680
Value = 1 'Aktiviert
Width = 1215
End
Begin VB.HScrollBar HScroll3
Height = 255
LargeChange = 500
Left = 240
Max = 3600
Min = -3600
TabIndex = 14
Top = 4320
Width = 4815
End
Begin VB.PictureBox picRotate
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 3660
Left = 240
ScaleHeight = 240
ScaleMode = 3 'Pixel
ScaleWidth = 320
TabIndex = 13
TabStop = 0 'False
Top = 360
Width = 4860
End
Begin VB.Label Label4
Caption = $"Demo.frx":26BB
Height = 615
Left = 240
TabIndex = 35
Top = 5040
Width = 4815
End
Begin VB.Label labAngle
Caption = "Angle: 0
Height = 255
Left = 240
TabIndex = 18
Top = 4080
Width = 4815
End
End
Begin VB.Frame fraScreen
Caption = "(void)"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 8
Left = 120
TabIndex = 29
Top = 840
Width = 5415
End
Begin VB.Frame fraScreen
Caption = "(void)"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 7
Left = 120
TabIndex = 28
Top = 840
Width = 5415
End
Begin VB.Frame fraScreen
Caption = "(void)"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 6
Left = 120
TabIndex = 27
Top = 840
Width = 5415
End
Begin VB.Frame fraScreen
Caption = "Mosaic"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 5
Left = 120
TabIndex = 26
Top = 840
Width = 5415
Begin VB.HScrollBar scrMosaic
Height = 255
LargeChange = 10
Left = 240
Max = 160
Min = 1
TabIndex = 32
Top = 4320
Value = 1
Width = 4815
End
Begin VB.PictureBox picMosaic
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 3615
Left = 240
ScaleHeight = 237
ScaleMode = 3 'Pixel
ScaleWidth = 325
TabIndex = 31
TabStop = 0 'False
Top = 360
Width = 4935
End
Begin VB.Label Label3
Caption = "Adjust the Slider to change the Mosaic level. A higher level means a lower resolution."
Height = 975
Left = 240
TabIndex = 34
Top = 4680
Width = 4815
End
Begin VB.Label labMosaic
Caption = "Mosaic-Level: 1"
Height = 255
Left = 240
TabIndex = 33
Top = 4080
Width = 4815
End
End
Begin VB.Frame fraScreen
Caption = "Bumb Mapping"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 5775
Index = 4
Left = 120
TabIndex = 23
Top = 840
Width = 5415
Begin VB.PictureBox picRelief
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 300
Left = 4440
ScaleHeight = 16
ScaleMode = 3 'Pixel
ScaleWidth = 37
TabIndex = 24
Top = 4680
Visible = 0 'False
Width = 615
End
Begin VB.PictureBox picBumbMap
AutoRedraw = -1 'True
AutoSize = -1 'True
Height = 3660
Left = 240
MouseIcon = "Demo.frx":275E
MousePointer = 99 'Benutzerdefiniert
ScaleHeight = 240
ScaleMode = 3 'Pixel
ScaleWidth = 320
TabIndex = 25
TabStop = 0 'False
Top = 360
Width = 4860
End
End
Attribute VB_Name = "frmDemo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Declare Function GetTickCount Lib "kernel32" () As Long
Private Declare Function FoxTime Lib "FoxCBmp" (Optional ByVal Flags As Long) As Long
Private Declare Function FoxTimer Lib "FoxCBmp" (ByVal Time As Long) As Long
Private Declare Function FoxCounter Lib "FoxCBmp" (Optional ByVal Flags As Long) As Long
Private Declare Function FoxBrightness Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstBmp As Long, ByVal SrcDC As Long, ByVal SrcBmp As Long, ByVal TransColor As Long, ByVal Brightness As Long, Optional ByVal Flags As Long) As Long
Private Declare Function FoxBlendIn Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstX As Long, ByVal DstY As Long, ByVal SrcDC As Long, ByVal SrcBmp As Long, ByVal TransColor As Long, ByVal Alpha As Byte, Optional ByVal Flags As Long) As Long
Private Declare Function FoxRotate Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstX As Long, ByVal DstY As Long, ByVal SrcDC As Long, ByVal SrcBmp As Long, ByVal TransColor As Long, ByVal Angle As Double, Optional ByVal Flags As Long) As Long
Private Declare Function FoxBlur Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstBmp As Long, ByVal SrcDC As Long, ByVal SrcBmp As Long, ByVal TransColor As Long, ByVal Blur As Long, Optional ByVal Flags As Long) As Long
Private Declare Function FoxAlphaBlend Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstX As Long, ByVal DstY As Long, ByVal DstW As Long, ByVal DstH As Long, ByVal SrcDC As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal Alpha As Byte, ByVal TransColor As Long, ByVal Flags As Long) As Long
Private Declare Function FoxAlphaMask Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstX As Long, ByVal DstY As Long, ByVal DstW As Long, ByVal DstH As Long, ByVal SrcDC As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal MaskDC As Long, ByVal MaskX As Long, ByVal MaskY As Long, ByVal TransColor As Long, ByVal Flags As Long) As Long
Private Declare Function FoxBumpMap Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstX As Long, ByVal DstY As Long, ByVal DstW As Long, ByVal DstH As Long, ByVal SrcDC As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal TransColor As Long, ByVal Flags As Long) As Long
Private Declare Function FoxMosaic Lib "FoxCBmp.dll" (ByVal DstDC As Long, ByVal DstX As Long, ByVal DstY As Long, ByVal DstW As Long, ByVal DstH As Long, ByVal SrcDC As Long, ByVal SrcX As Long, ByVal SrcY As Long, ByVal Level As Long, ByVal TransColor As Long, ByVal Flags As Long) As Long
Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long