You've already forked lazarus-ccr
Industrial: More screenshots, minor refinements in some demos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -15,7 +15,6 @@
|
|||||||
<XPManifest>
|
<XPManifest>
|
||||||
<DpiAware Value="True"/>
|
<DpiAware Value="True"/>
|
||||||
</XPManifest>
|
</XPManifest>
|
||||||
<Icon Value="0"/>
|
|
||||||
</General>
|
</General>
|
||||||
<BuildModes Count="1">
|
<BuildModes Count="1">
|
||||||
<Item1 Name="Default" Default="True"/>
|
<Item1 Name="Default" Default="True"/>
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
object Form1: TForm1
|
object Form1: TForm1
|
||||||
Left = 326
|
Left = 326
|
||||||
Height = 396
|
Height = 294
|
||||||
Top = 127
|
Top = 127
|
||||||
Width = 528
|
Width = 528
|
||||||
Caption = 'Form1'
|
Caption = 'MultiSlider Demo'
|
||||||
ClientHeight = 396
|
ClientHeight = 294
|
||||||
ClientWidth = 528
|
ClientWidth = 528
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
LCLVersion = '2.1.0.0'
|
LCLVersion = '2.3.0.0'
|
||||||
object cbVertical: TCheckBox
|
object cbVertical: TCheckBox
|
||||||
Left = 110
|
Left = 110
|
||||||
Height = 19
|
Height = 19
|
||||||
Top = 154
|
Top = 154
|
||||||
Width = 59
|
Width = 57
|
||||||
Caption = 'Vertical'
|
Caption = 'Vertical'
|
||||||
OnChange = cbVerticalChange
|
OnChange = cbVerticalChange
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
@ -21,7 +21,7 @@ object Form1: TForm1
|
|||||||
Left = 110
|
Left = 110
|
||||||
Height = 19
|
Height = 19
|
||||||
Top = 177
|
Top = 177
|
||||||
Width = 80
|
Width = 78
|
||||||
Caption = 'AutoRotate'
|
Caption = 'AutoRotate'
|
||||||
Checked = True
|
Checked = True
|
||||||
OnChange = cbAutoRotateChange
|
OnChange = cbAutoRotateChange
|
||||||
@ -48,7 +48,7 @@ object Form1: TForm1
|
|||||||
Left = 252
|
Left = 252
|
||||||
Height = 15
|
Height = 15
|
||||||
Top = 64
|
Top = 64
|
||||||
Width = 48
|
Width = 49
|
||||||
Caption = 'Max = 80'
|
Caption = 'Max = 80'
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
@ -86,11 +86,13 @@ object Form1: TForm1
|
|||||||
Left = 328
|
Left = 328
|
||||||
Height = 25
|
Height = 25
|
||||||
Top = 82
|
Top = 82
|
||||||
Width = 120
|
Width = 104
|
||||||
BorderWidth = 2
|
BorderWidth = 2
|
||||||
|
ButtonColorAutoSize = False
|
||||||
ButtonColorSize = 16
|
ButtonColorSize = 16
|
||||||
ButtonColor = clBlack
|
ButtonColor = clBlack
|
||||||
Caption = 'Form'
|
Caption = 'Form'
|
||||||
|
Margin = 4
|
||||||
OnColorChanged = cbFormColorColorChanged
|
OnColorChanged = cbFormColorColorChanged
|
||||||
end
|
end
|
||||||
object cmbThumbStyle: TComboBox
|
object cmbThumbStyle: TComboBox
|
||||||
@ -117,18 +119,20 @@ object Form1: TForm1
|
|||||||
Left = 328
|
Left = 328
|
||||||
Height = 25
|
Height = 25
|
||||||
Top = 112
|
Top = 112
|
||||||
Width = 120
|
Width = 104
|
||||||
BorderWidth = 2
|
BorderWidth = 2
|
||||||
|
ButtonColorAutoSize = False
|
||||||
ButtonColorSize = 16
|
ButtonColorSize = 16
|
||||||
ButtonColor = clBlack
|
ButtonColor = clBlack
|
||||||
Caption = 'Thumb'
|
Caption = 'Thumb'
|
||||||
|
Margin = 4
|
||||||
OnColorChanged = cbColorThumbColorChanged
|
OnColorChanged = cbColorThumbColorChanged
|
||||||
end
|
end
|
||||||
object cbFlat: TCheckBox
|
object cbFlat: TCheckBox
|
||||||
Left = 200
|
Left = 200
|
||||||
Height = 19
|
Height = 19
|
||||||
Top = 154
|
Top = 154
|
||||||
Width = 39
|
Width = 37
|
||||||
Caption = 'Flat'
|
Caption = 'Flat'
|
||||||
OnChange = cbFlatChange
|
OnChange = cbFlatChange
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
@ -145,7 +149,7 @@ object Form1: TForm1
|
|||||||
Left = 280
|
Left = 280
|
||||||
Height = 15
|
Height = 15
|
||||||
Top = 181
|
Top = 181
|
||||||
Width = 80
|
Width = 79
|
||||||
Caption = 'Track thickness'
|
Caption = 'Track thickness'
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
@ -169,7 +173,7 @@ object Form1: TForm1
|
|||||||
Left = 110
|
Left = 110
|
||||||
Height = 19
|
Height = 19
|
||||||
Top = 128
|
Top = 128
|
||||||
Width = 62
|
Width = 60
|
||||||
Caption = 'Enabled'
|
Caption = 'Enabled'
|
||||||
Checked = True
|
Checked = True
|
||||||
OnChange = cbEnabledChange
|
OnChange = cbEnabledChange
|
||||||
@ -180,18 +184,20 @@ object Form1: TForm1
|
|||||||
Left = 328
|
Left = 328
|
||||||
Height = 25
|
Height = 25
|
||||||
Top = 140
|
Top = 140
|
||||||
Width = 120
|
Width = 104
|
||||||
BorderWidth = 2
|
BorderWidth = 2
|
||||||
|
ButtonColorAutoSize = False
|
||||||
ButtonColorSize = 16
|
ButtonColorSize = 16
|
||||||
ButtonColor = clBlack
|
ButtonColor = clBlack
|
||||||
Caption = 'Control'
|
Caption = 'Control'
|
||||||
|
Margin = 4
|
||||||
OnColorChanged = cbSliderColorColorChanged
|
OnColorChanged = cbSliderColorColorChanged
|
||||||
end
|
end
|
||||||
object cbTransparent: TCheckBox
|
object cbTransparent: TCheckBox
|
||||||
Left = 200
|
Left = 200
|
||||||
Height = 19
|
Height = 19
|
||||||
Top = 128
|
Top = 128
|
||||||
Width = 83
|
Width = 80
|
||||||
Caption = 'Transparent'
|
Caption = 'Transparent'
|
||||||
Checked = True
|
Checked = True
|
||||||
OnChange = cbTransparentChange
|
OnChange = cbTransparentChange
|
||||||
|
@ -71,7 +71,7 @@ begin
|
|||||||
slider := TMultiSlider.Create(self);
|
slider := TMultiSlider.Create(self);
|
||||||
slider.Parent := self;
|
slider.Parent := self;
|
||||||
slider.Align := alTop;
|
slider.Align := alTop;
|
||||||
slider.BorderSpacing.Around := 8;
|
slider.BorderSpacing.Around := 16;
|
||||||
// slider.Left := 8;
|
// slider.Left := 8;
|
||||||
// slider.Top := 8;
|
// slider.Top := 8;
|
||||||
slider.Vertical := false;
|
slider.Vertical := false;
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
object Form1: TForm1
|
object Form1: TForm1
|
||||||
Left = 159
|
Left = 159
|
||||||
Height = 223
|
Height = 295
|
||||||
Top = 156
|
Top = 156
|
||||||
Width = 824
|
Width = 824
|
||||||
Caption = 'IndustrialStuff Example'
|
Caption = 'IndustrialStuff Example'
|
||||||
ClientHeight = 223
|
ClientHeight = 295
|
||||||
ClientWidth = 824
|
ClientWidth = 824
|
||||||
LCLVersion = '2.1.0.0'
|
LCLVersion = '2.3.0.0'
|
||||||
object indLed1: TindLed
|
object indLed1: TindLed
|
||||||
Left = 200
|
Left = 168
|
||||||
Height = 35
|
Height = 35
|
||||||
Top = 33
|
Top = 32
|
||||||
Width = 34
|
Width = 34
|
||||||
LedValue = False
|
LedValue = False
|
||||||
Bevels = <
|
Bevels = <
|
||||||
@ -36,7 +36,7 @@ object Form1: TForm1
|
|||||||
ShapeLedColorDisabled = 13416
|
ShapeLedColorDisabled = 13416
|
||||||
end
|
end
|
||||||
object StopLightSensor1: TStopLightSensor
|
object StopLightSensor1: TStopLightSensor
|
||||||
Left = 96
|
Left = 32
|
||||||
Height = 59
|
Height = 59
|
||||||
Top = 24
|
Top = 24
|
||||||
Width = 25
|
Width = 25
|
||||||
@ -54,10 +54,10 @@ object Form1: TForm1
|
|||||||
State = slRED
|
State = slRED
|
||||||
end
|
end
|
||||||
object LEDNumber1: TLEDNumber
|
object LEDNumber1: TLEDNumber
|
||||||
Left = 40
|
Left = 32
|
||||||
Height = 28
|
Height = 30
|
||||||
Top = 128
|
Top = 104
|
||||||
Width = 177
|
Width = 170
|
||||||
Caption = 'Lazarus'
|
Caption = 'Lazarus'
|
||||||
end
|
end
|
||||||
object AnalogSensor1: TAnalogSensor
|
object AnalogSensor1: TAnalogSensor
|
||||||
@ -81,7 +81,6 @@ object Form1: TForm1
|
|||||||
ColorRed = clYellow
|
ColorRed = clYellow
|
||||||
ColorYellow = clRed
|
ColorYellow = clRed
|
||||||
Value = 50
|
Value = 50
|
||||||
ValueMin = 0
|
|
||||||
ValueMax = 100
|
ValueMax = 100
|
||||||
ValueRed = 25
|
ValueRed = 25
|
||||||
ValueYellow = 75
|
ValueYellow = 75
|
||||||
@ -89,14 +88,13 @@ object Form1: TForm1
|
|||||||
end
|
end
|
||||||
object indGnouMeter1: TindGnouMeter
|
object indGnouMeter1: TindGnouMeter
|
||||||
Left = 440
|
Left = 440
|
||||||
Height = 155
|
Height = 202
|
||||||
Top = 13
|
Top = 13
|
||||||
Width = 120
|
Width = 120
|
||||||
Caption = 'Voltage'
|
Caption = 'Voltage'
|
||||||
Value = 50
|
Value = 50
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
SignalUnit = 'mV'
|
SignalUnit = 'mV'
|
||||||
ValueMin = 0
|
|
||||||
ValueMax = 100
|
ValueMax = 100
|
||||||
Digits = 0
|
Digits = 0
|
||||||
Increment = 10
|
Increment = 10
|
||||||
@ -105,22 +103,12 @@ object Form1: TForm1
|
|||||||
BarThickness = 6
|
BarThickness = 6
|
||||||
MarkerColor = clBlue
|
MarkerColor = clBlue
|
||||||
end
|
end
|
||||||
object Arrow1: TArrow
|
|
||||||
Left = 48
|
|
||||||
Height = 20
|
|
||||||
Top = 41
|
|
||||||
Width = 20
|
|
||||||
Constraints.MinHeight = 8
|
|
||||||
Constraints.MinWidth = 8
|
|
||||||
end
|
|
||||||
object AdvLed1: TAdvLed
|
object AdvLed1: TAdvLed
|
||||||
Left = 152
|
Left = 104
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 40
|
Top = 40
|
||||||
Width = 24
|
Width = 24
|
||||||
Kind = lkYellowLight
|
Kind = lkYellowLight
|
||||||
State = lsOn
|
|
||||||
Blink = False
|
|
||||||
end
|
end
|
||||||
object A3nalogGauge1: TA3nalogGauge
|
object A3nalogGauge1: TA3nalogGauge
|
||||||
Left = 568
|
Left = 568
|
||||||
@ -140,9 +128,9 @@ object Form1: TForm1
|
|||||||
Position = 50
|
Position = 50
|
||||||
end
|
end
|
||||||
object MultiSlider1: TMultiSlider
|
object MultiSlider1: TMultiSlider
|
||||||
Left = 25
|
Left = 144
|
||||||
Height = 35
|
Height = 35
|
||||||
Top = 180
|
Top = 240
|
||||||
Width = 504
|
Width = 504
|
||||||
ColorAbove = clRed
|
ColorAbove = clRed
|
||||||
ColorBelow = clYellow
|
ColorBelow = clYellow
|
||||||
@ -171,4 +159,15 @@ object Form1: TForm1
|
|||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
Text = 'akVertical'
|
Text = 'akVertical'
|
||||||
end
|
end
|
||||||
|
object LCDDisplay1: TLCDDisplay
|
||||||
|
Left = 16
|
||||||
|
Height = 61
|
||||||
|
Top = 165
|
||||||
|
Width = 320
|
||||||
|
DisplayLineCount = 1
|
||||||
|
Lines.Strings = (
|
||||||
|
'Lazarus'
|
||||||
|
' '
|
||||||
|
)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
@ -6,8 +6,8 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileUtil, IndLed, Sensors, LedNumber, IndGnouMeter, AdvLed,
|
Classes, SysUtils, FileUtil, IndLed, Sensors, LedNumber, IndGnouMeter, AdvLed,
|
||||||
A3nalogGauge, indSliders, Forms, Controls, Graphics, Dialogs, Arrow, ComCtrls,
|
A3nalogGauge, indSliders, indLCDDisplay, Forms, Controls, Graphics, Dialogs,
|
||||||
StdCtrls;
|
ComCtrls, StdCtrls;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
@ -17,10 +17,10 @@ type
|
|||||||
A3nalogGauge1: TA3nalogGauge;
|
A3nalogGauge1: TA3nalogGauge;
|
||||||
AdvLed1: TAdvLed;
|
AdvLed1: TAdvLed;
|
||||||
AnalogSensor1: TAnalogSensor;
|
AnalogSensor1: TAnalogSensor;
|
||||||
Arrow1: TArrow;
|
|
||||||
ComboBox1: TComboBox;
|
ComboBox1: TComboBox;
|
||||||
indGnouMeter1: TindGnouMeter;
|
indGnouMeter1: TindGnouMeter;
|
||||||
indLed1: TindLed;
|
indLed1: TindLed;
|
||||||
|
LCDDisplay1: TLCDDisplay;
|
||||||
LEDNumber1: TLEDNumber;
|
LEDNumber1: TLEDNumber;
|
||||||
MultiSlider1: TMultiSlider;
|
MultiSlider1: TMultiSlider;
|
||||||
StopLightSensor1: TStopLightSensor;
|
StopLightSensor1: TStopLightSensor;
|
||||||
|
BIN
components/industrialstuff/screenshots/LEDNumberDemo.png
Normal file
BIN
components/industrialstuff/screenshots/LEDNumberDemo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
BIN
components/industrialstuff/screenshots/MultiSliderDemo.png
Normal file
BIN
components/industrialstuff/screenshots/MultiSliderDemo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
BIN
components/industrialstuff/screenshots/ex_industrialstuff_2.png
Normal file
BIN
components/industrialstuff/screenshots/ex_industrialstuff_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.8 KiB |
Reference in New Issue
Block a user