ajout oscillo
This commit is contained in:
1 parent
5cf2212fc0
commit
f01d3213c0
18 files changed
+741
-12
No files matched your search
@@ -71,7 +71,7 @@
|
||||
{
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel1",
|
||||
"Y": 93,
|
||||
"Y": 134,
|
||||
"Width": 420,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_pressed.png",
|
||||
@@ -93,7 +93,7 @@
|
||||
{
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel2",
|
||||
"Y": 281,
|
||||
"Y": 322,
|
||||
"Width": 420,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_pressed.png",
|
||||
@@ -116,7 +116,7 @@
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel3",
|
||||
"X": 380,
|
||||
"Y": 281,
|
||||
"Y": 322,
|
||||
"Width": 420,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_pressed.png",
|
||||
@@ -138,7 +138,7 @@
|
||||
{
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel4",
|
||||
"Y": 187,
|
||||
"Y": 228,
|
||||
"Width": 420,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_pressed.png",
|
||||
@@ -161,7 +161,7 @@
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel5",
|
||||
"X": 380,
|
||||
"Y": 187,
|
||||
"Y": 228,
|
||||
"Width": 420,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_pressed.png",
|
||||
@@ -184,7 +184,7 @@
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel6",
|
||||
"X": 380,
|
||||
"Y": 93,
|
||||
"Y": 134,
|
||||
"Width": 420,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_pressed.png",
|
||||
@@ -203,16 +203,67 @@
|
||||
"TextRotation": "0",
|
||||
"Preset": "glass_theme\\presets\\button\\regular\\height_50\\large_rounded_normal.json"
|
||||
},
|
||||
{
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel7",
|
||||
"X": 190,
|
||||
"Y": 396,
|
||||
"Width": 420,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_pressed.png",
|
||||
"Released": "__generated\\glass_theme_images_widgets_button_regular_height_50_large_rounded_normal.png",
|
||||
"TextId": "OSCILLO",
|
||||
"ReleasedColor": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"PressedColor": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"TextRotation": "0",
|
||||
"Preset": "glass_theme\\presets\\button\\regular\\height_50\\large_rounded_normal.json"
|
||||
},
|
||||
{
|
||||
"Type": "ToggleButton",
|
||||
"Name": "toggleButton1",
|
||||
"X": 118,
|
||||
"Y": 22,
|
||||
"X": 135,
|
||||
"Y": 18,
|
||||
"Width": 170,
|
||||
"Height": 60,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_togglebutton_large_rounded_text_on_active.png",
|
||||
"Released": "__generated\\glass_theme_images_widgets_togglebutton_large_rounded_text_off_normal.png",
|
||||
"Preset": "glass_theme\\presets\\togglebutton\\large\\rounded_active_text.json"
|
||||
},
|
||||
{
|
||||
"Type": "Slider",
|
||||
"Name": "slider1",
|
||||
"X": 329,
|
||||
"Y": 22,
|
||||
"Width": 456,
|
||||
"Height": 52,
|
||||
"IsHorizontalSlider": true,
|
||||
"BackgroundUnselected": "__generated\\glass_theme_images_widgets_slider_horizontal_thick_track_large.png",
|
||||
"BackgroundSelected": "__generated\\glass_theme_images_widgets_slider_horizontal_thick_filler_large.png",
|
||||
"Indicator": "__generated\\glass_theme_images_widgets_slider_horizontal_thick_rounded_dark.png",
|
||||
"BackgroundX": 28,
|
||||
"BackgroundY": 21,
|
||||
"IndicatorMax": 400,
|
||||
"ValueMax": 100,
|
||||
"Preset": "glass_theme\\presets\\slider\\horizontal\\thick\\large_rounded_dark.json"
|
||||
},
|
||||
{
|
||||
"Type": "ScalableImage",
|
||||
"Name": "scalableImage1",
|
||||
"X": 15,
|
||||
"Y": 4,
|
||||
"Width": 105,
|
||||
"Height": 95,
|
||||
"Filename": "__generated\\icon_theme_images_hardware_headset_50_50_FFFFFF.svg.png",
|
||||
"Alpha": 149,
|
||||
"ScalingAlgorithm": "Bilinear Interpolation"
|
||||
}
|
||||
],
|
||||
"Interactions": [
|
||||
@@ -298,6 +349,39 @@
|
||||
"ScreenTransitionType": "ScreenTransitionNone",
|
||||
"ActionComponent": "Octaver"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "Interaction8",
|
||||
"Trigger": {
|
||||
"Type": "TriggerSliderValueChanged",
|
||||
"TriggerComponent": "slider1"
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionCustom",
|
||||
"FunctionName": "slider1Changed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "Interaction9",
|
||||
"Trigger": {
|
||||
"Type": "TriggerSliderValueConfirmed",
|
||||
"TriggerComponent": "slider1"
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionNone"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "Interaction10",
|
||||
"Trigger": {
|
||||
"Type": "TriggerClicked",
|
||||
"TriggerComponent": "buttonWithLabel7"
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionGotoScreen",
|
||||
"ScreenTransitionType": "ScreenTransitionNone",
|
||||
"ActionComponent": "Oscillo"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -2018,6 +2102,198 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Oscillo",
|
||||
"CanvasBufferSize": 12000,
|
||||
"Components": [
|
||||
{
|
||||
"Type": "Image",
|
||||
"Name": "image1",
|
||||
"Y": -1,
|
||||
"Width": 800,
|
||||
"Height": 483,
|
||||
"RelativeFilename": "fondHorlogerie1.png"
|
||||
},
|
||||
{
|
||||
"Type": "Box",
|
||||
"Name": "box1",
|
||||
"Width": 800,
|
||||
"Height": 480,
|
||||
"Color": {
|
||||
"Red": 35,
|
||||
"Green": 24,
|
||||
"Blue": 15
|
||||
},
|
||||
"Alpha": 240
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "textArea1",
|
||||
"X": 314,
|
||||
"Y": 26,
|
||||
"Width": 173,
|
||||
"Height": 42,
|
||||
"TextId": "OSCILLO",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"AutoSize": true
|
||||
},
|
||||
{
|
||||
"Type": "ToggleButton",
|
||||
"Name": "toggleButton1",
|
||||
"X": 576,
|
||||
"Y": 20,
|
||||
"Width": 170,
|
||||
"Height": 60,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_togglebutton_large_round_text_on_active.png",
|
||||
"Released": "__generated\\glass_theme_images_widgets_togglebutton_large_round_text_off_normal.png",
|
||||
"Preset": "glass_theme\\presets\\togglebutton\\large\\round_active_text.json"
|
||||
},
|
||||
{
|
||||
"Type": "ButtonWithLabel",
|
||||
"Name": "buttonWithLabel1",
|
||||
"Width": 225,
|
||||
"Height": 94,
|
||||
"Pressed": "__generated\\glass_theme_images_widgets_button_regular_height_50_small_rounded_pressed.png",
|
||||
"Released": "__generated\\glass_theme_images_widgets_button_regular_height_50_small_rounded_normal.png",
|
||||
"TextId": "BACK",
|
||||
"ReleasedColor": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"PressedColor": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"TextRotation": "0",
|
||||
"Preset": "glass_theme\\presets\\button\\regular\\height_50\\small_rounded_normal.json"
|
||||
},
|
||||
{
|
||||
"Type": "StaticGraph",
|
||||
"Name": "graph1",
|
||||
"Y": 94,
|
||||
"Width": 800,
|
||||
"Height": 386,
|
||||
"DataSeed": 676876642,
|
||||
"NumberOfValues": 1024,
|
||||
"MaxX": 24000.0,
|
||||
"PrecisionX": "1",
|
||||
"MaxY": 100.0,
|
||||
"PrecisionY": "1",
|
||||
"XAxisScale": 1.0,
|
||||
"InsertRandomValues": true,
|
||||
"LabelSizeBottom": 63,
|
||||
"LabelSizeLeft": 16,
|
||||
"LabelSizeRight": 16,
|
||||
"PaddingBottom": 17,
|
||||
"GraphDrawers": [
|
||||
{
|
||||
"Type": "LineDrawer",
|
||||
"LineWidth": 2,
|
||||
"FileNameImage": "",
|
||||
"Color": {
|
||||
"Red": 20,
|
||||
"Green": 151,
|
||||
"Blue": 197
|
||||
}
|
||||
}
|
||||
],
|
||||
"XAxisGrid": {
|
||||
"Type": "GraphGrid",
|
||||
"Color": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"Interval": 2400.0,
|
||||
"LineWidth": 1
|
||||
},
|
||||
"YAxisGrid": {
|
||||
"Type": "GraphGrid",
|
||||
"Color": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"Interval": 25.0,
|
||||
"LineWidth": 1
|
||||
},
|
||||
"XAxisLabel": {
|
||||
"Type": "GraphLabel",
|
||||
"Interval": 2400.0,
|
||||
"DecimalSeparator": "Point",
|
||||
"TextColor": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"TextId": "__SingleUse_2C9Q",
|
||||
"TextRotation": "270",
|
||||
"Position": "Bottom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Type": "Image",
|
||||
"Name": "image2",
|
||||
"X": 535,
|
||||
"Y": 74,
|
||||
"Width": 264,
|
||||
"Height": 80,
|
||||
"RelativeFilename": "__generated\\glass_theme_images_widgets_button_regular_height_36_medium_round_action.png"
|
||||
},
|
||||
{
|
||||
"Type": "TextArea",
|
||||
"Name": "textArea2",
|
||||
"X": 582,
|
||||
"Y": 104,
|
||||
"Width": 181,
|
||||
"Height": 23,
|
||||
"TextId": "textAreaMax",
|
||||
"TextRotation": "0",
|
||||
"Color": {
|
||||
"Red": 230,
|
||||
"Green": 214,
|
||||
"Blue": 170
|
||||
},
|
||||
"Wildcard1": {
|
||||
"TextId": "__SingleUse_U5V0",
|
||||
"UseBuffer": true,
|
||||
"BufferSize": 10
|
||||
}
|
||||
}
|
||||
],
|
||||
"Interactions": [
|
||||
{
|
||||
"InteractionName": "Interaction1",
|
||||
"Trigger": {
|
||||
"Type": "TriggerClicked",
|
||||
"TriggerComponent": "buttonWithLabel1"
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionGotoScreen",
|
||||
"ScreenTransitionType": "ScreenTransitionNone",
|
||||
"ActionComponent": "Overview"
|
||||
}
|
||||
},
|
||||
{
|
||||
"InteractionName": "Interaction2",
|
||||
"Trigger": {
|
||||
"Type": "TriggerClicked",
|
||||
"TriggerComponent": "toggleButton1"
|
||||
},
|
||||
"Action": {
|
||||
"Type": "ActionCustom",
|
||||
"FunctionName": "toggleClicked"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"CustomContainerDefinitions": [],
|
||||
|
||||
Reference in new issue
Block a user