From bb78f2df7ae57db6602110c3b43b6d5e287f6a6e Mon Sep 17 00:00:00 2001 From: Alios5 Date: Mon, 4 Nov 2024 13:49:19 +0000 Subject: [PATCH] Automated Extension submission for issue #1425 --- extensions/community/ScrollViewContainer.json | 8030 +++++++++++++++++ 1 file changed, 8030 insertions(+) create mode 100644 extensions/community/ScrollViewContainer.json diff --git a/extensions/community/ScrollViewContainer.json b/extensions/community/ScrollViewContainer.json new file mode 100644 index 00000000..e12ca3da --- /dev/null +++ b/extensions/community/ScrollViewContainer.json @@ -0,0 +1,8030 @@ +{ + "author": "", + "category": "User interface", + "extensionNamespace": "", + "fullName": "Scroll View Container", + "helpPath": "", + "iconUrl": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSWNvbnMiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzIgMzIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMyIDMyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8cGF0aCBkPSJNMjgsMWgtN3YzMGg3YzEuNywwLDMtMS4zLDMtM1Y0QzMxLDIuMywyOS43LDEsMjgsMXogTTI4LjcsMjQuN2wtMiwyQzI2LjUsMjYuOSwyNi4zLDI3LDI2LDI3cy0wLjUtMC4xLTAuNy0wLjNsLTItMg0KCWMtMC40LTAuNC0wLjQtMSwwLTEuNHMxLTAuNCwxLjQsMGwxLjMsMS4zbDEuMy0xLjNjMC40LTAuNCwxLTAuNCwxLjQsMFMyOS4xLDI0LjMsMjguNywyNC43eiBNMjguNyw4LjdDMjguNSw4LjksMjguMyw5LDI4LDkNCglzLTAuNS0wLjEtMC43LTAuM0wyNiw3LjRsLTEuMywxLjNjLTAuNCwwLjQtMSwwLjQtMS40LDBzLTAuNC0xLDAtMS40bDItMmMwLjQtMC40LDEtMC40LDEuNCwwbDIsMkMyOS4xLDcuNywyOS4xLDguMywyOC43LDguN3oiLz4NCjxwYXRoIGQ9Ik00LDFDMi4zLDEsMSwyLjMsMSw0djI0YzAsMS43LDEuMywzLDMsM2gxNVYxSDR6IE0xMiwxOEg2Yy0wLjYsMC0xLTAuNC0xLTFzMC40LTEsMS0xaDZjMC42LDAsMSwwLjQsMSwxUzEyLjYsMTgsMTIsMTh6DQoJIE0xMiwxNEg2Yy0wLjYsMC0xLTAuNC0xLTFzMC40LTEsMS0xaDZjMC42LDAsMSwwLjQsMSwxUzEyLjYsMTQsMTIsMTR6IE0xNiwxMEg2Yy0wLjYsMC0xLTAuNC0xLTFzMC40LTEsMS0xaDEwYzAuNiwwLDEsMC40LDEsMQ0KCVMxNi42LDEwLDE2LDEweiIvPg0KPC9zdmc+DQo=", + "name": "ScrollViewContainer", + "previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Glyphster Pack/Master/SVG/Interface Elements/ae71606ecbf555305240e477e136b84586cab88b6fd73d2d36d1e0da82d75379_Interface Elements_interface_ui_vertical_scroll_area_box_text.svg", + "shortDescription": "Easily create custom scroll views to display content with smooth scrolling.", + "version": "1.0.0", + "description": [ + "### Features:", + "- Horizontal and vertical scrolling.", + "- Easy customization of content and view style.", + "- Supports dynamic content.", + "", + "### Usage examples:", + "- Product lists in an online store.", + "- Image galleries.", + "- Blog post display." + ], + "tags": [ + "scroll", + "scrolling", + "view", + "user interface", + "list", + "content", + "horizontal", + "vertical" + ], + "authorIds": [ + "QjE1CI3drHNR9Wklz2gTC5WbEgh1", + "IWykYNRvhCZBN3vEgKEbBPOR3Oc2" + ], + "dependencies": [], + "globalVariables": [], + "sceneVariables": [ + { + "name": "Check", + "type": "number", + "value": 0 + } + ], + "eventsFunctions": [ + { + "description": "Define a shape painter as a mask of an object.", + "fullName": "Mask an object with a shape painter", + "functionType": "Action", + "name": "MaskWithShapePainter", + "private": true, + "sentence": "Mask _PARAM1_ with mask _PARAM2_", + "events": [ + { + "type": "BuiltinCommonInstructions::JsCode", + "inlineCode": [ + "const maskObject = eventsFunctionContext.getObjects(\"Mask\")[0];", + "if (!maskObject) return;", + "", + "const maskedObjects = eventsFunctionContext.getObjects(\"Masked\");", + "for (const maskedObject of maskedObjects) {", + " const maskedRenderer = maskedObject.getRendererObject(); ", + " maskedRenderer.mask = maskObject.getRendererObject();", + "}", + "", + "" + ], + "parameterObjects": "masked", + "useStrict": true, + "eventsSheetExpanded": false + } + ], + "parameters": [ + { + "description": "Object to mask", + "name": "Masked", + "type": "objectList" + }, + { + "description": "Shape painter to use as a mask", + "name": "Mask", + "supplementaryInformation": "PrimitiveDrawing::Drawer", + "type": "objectList" + } + ], + "objectGroups": [] + }, + { + "description": "Remove the mask of the specified object.", + "fullName": "Remove the mask", + "functionType": "Action", + "name": "Unmask", + "private": true, + "sentence": "Remove the mask of _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::JsCode", + "inlineCode": [ + "const maskedObjects = eventsFunctionContext.getObjects(\"Masked\");", + "", + "for (const maskedObject of maskedObjects) {", + " const maskedRenderer = maskedObject.getRendererObject(); ", + " maskedRenderer.mask = null;", + "}", + "" + ], + "parameterObjects": "", + "useStrict": true, + "eventsSheetExpanded": false + } + ], + "parameters": [ + { + "description": "Object with a mask to remove", + "name": "Masked", + "type": "objectList" + } + ], + "objectGroups": [] + }, + { + "description": "Get the maximum value of an object instance variable", + "fullName": "Maximum value of object instance variable", + "functionType": "Expression", + "name": "GetMaxValueOfObjectVariable", + "private": true, + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::JsCode", + "inlineCode": [ + "// Récupérer les arguments passés depuis GDevelop", + "const variableName = eventsFunctionContext.getArgument(\"VariableName\"); // Nom de la variable", + "", + "let maxValue = -Infinity;", + "", + "// Obtenir toutes les instances de l'objet", + "const instances = eventsFunctionContext.getObjects(\"ObjectName\");", + "", + "// Parcourir chaque instance et vérifier la valeur de la variable", + "instances.forEach(instance => {", + " const value = instance.getVariables().get(variableName).getAsNumber(); // Correct usage", + " if (value > maxValue) {", + " maxValue = value; // Mettre à jour la valeur maximale", + " } ", + "});", + "", + "eventsFunctionContext.returnValue = maxValue;", + "" + ], + "parameterObjects": "", + "useStrict": true, + "eventsSheetExpanded": true + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "ObjectName", + "type": "objectList" + }, + { + "description": "Variable name", + "name": "VariableName", + "type": "string" + } + ], + "objectGroups": [] + }, + { + "description": "Get the minimum value of an object instance variable", + "fullName": "Minimum value of object instance variable", + "functionType": "Expression", + "name": "GetMinValueOfObjectVariable", + "private": true, + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::JsCode", + "inlineCode": [ + "// Récupérer les arguments passés depuis GDevelop", + "const variableName = eventsFunctionContext.getArgument(\"VariableName\"); // Nom de la variable", + "", + "let minValue = Infinity; // Initialiser à l'infini positif", + "", + "// Obtenir toutes les instances de l'objet", + "const instances = eventsFunctionContext.getObjects(\"ObjectName\");", + "", + "// Parcourir chaque instance et vérifier la valeur de la variable", + "instances.forEach(instance => {", + " const value = instance.getVariables().get(variableName).getAsNumber(); // Accéder à la variable", + " if (value < minValue) { // Vérifier si la valeur est inférieure à minValue", + " minValue = value; // Mettre à jour la valeur minimale", + " }", + "});", + "", + "// Vérifier si une valeur minimale a été trouvée", + "if (minValue === Infinity) {", + " minValue = null; // Aucune valeur trouvée, retourne null ou une autre valeur par défaut", + "}", + "", + "eventsFunctionContext.returnValue = minValue; // Retourner la valeur minimale", + "" + ], + "parameterObjects": "", + "useStrict": true, + "eventsSheetExpanded": true + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "ObjectName", + "type": "objectList" + }, + { + "description": "Variable name", + "name": "VariableName", + "type": "string" + } + ], + "objectGroups": [] + } + ], + "eventsBasedBehaviors": [], + "eventsBasedObjects": [ + { + "areaMaxX": 96, + "areaMaxY": 96, + "areaMaxZ": 1, + "areaMinX": 0, + "areaMinY": 0, + "areaMinZ": 0, + "defaultName": "ScrollContainer", + "description": "Easily create custom scroll views to display content with smooth scrolling.", + "fullName": "ScrollContainer", + "isInnerAreaFollowingParentSize": true, + "isUsingLegacyInstancesRenderer": false, + "name": "ScrollContainer", + "eventsFunctions": [ + { + "fullName": "", + "functionType": "Action", + "name": "onCreated", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "False" + ] + }, + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "False" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "Action", + "name": "doStepPostEvents", + "sentence": "", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Update Scroll Value", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyVerticalScrollContainerMaxScrollValue" + }, + "parameters": [ + "Object", + "!=", + "ScrollAreaHeight - Background.Height()" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ScrollAreaHeight - Background.Height()", + ">", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyVerticalScrollContainerMaxScrollValue" + }, + "parameters": [ + "Object", + "=", + "ScrollAreaHeight - Background.Height()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyHorizontalScrollContainerMaxScrollValue" + }, + "parameters": [ + "Object", + "!=", + "ScrollAreaWidth- Background.Width()" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "ScrollAreaWidth- Background.Width()", + ">", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyHorizontalScrollContainerMaxScrollValue" + }, + "parameters": [ + "Object", + "=", + "ScrollAreaWidth- Background.Width()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyVerticalScrollBarMaxScrollValue" + }, + "parameters": [ + "Object", + "!=", + "VerticalBackgroundScrollBarTexture.Height() - VerticalScrollBarTexture.Height()" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyHorizontalScrollBarMaxScrollValue" + }, + "parameters": [ + "Object", + "!=", + "HorizontalBackgroundScrollBarTexture.Width() - HorizontalScrollBarTexture.Width()" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyVerticalScrollBarMaxScrollValue" + }, + "parameters": [ + "Object", + "=", + "VerticalBackgroundScrollBarTexture.Height() - VerticalScrollBarTexture.Height()" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyHorizontalScrollBarMaxScrollValue" + }, + "parameters": [ + "Object", + "=", + "HorizontalBackgroundScrollBarTexture.Width() - HorizontalScrollBarTexture.Width()" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Background", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyShowScrollContainerBackround" + }, + "parameters": [ + "Object" + ] + }, + { + "type": { + "inverted": true, + "value": "Visible" + }, + "parameters": [ + "Background" + ] + } + ], + "actions": [ + { + "type": { + "value": "Montre" + }, + "parameters": [ + "Background", + "" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyShowScrollContainerBackround" + }, + "parameters": [ + "Object" + ] + }, + { + "type": { + "value": "Visible" + }, + "parameters": [ + "Background" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "Background" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Scrolling methode", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Vertical", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyVerticalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + } + ], + "actions": [], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Scrolling by weel mouse", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "IsMouseWheelScrollingDown" + }, + "parameters": [ + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "-", + "TimeDelta()*ScrollSpeed" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "IsMouseWheelScrollingUp" + }, + "parameters": [ + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "+", + "TimeDelta()*ScrollSpeed" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Scrolling by Touch scrolling", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableTouchScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Vertical Scrolling" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingStartY" + }, + "parameters": [ + "Object", + "=", + "-1" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonPressed" + }, + "parameters": [ + "", + "Left" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingStartY" + }, + "parameters": [ + "Object", + "!=", + "-1" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "=", + "CursorY(Object.Layer(),0)-TouchScrollingBeforeY" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingStartY" + }, + "parameters": [ + "Object", + "=", + "-1" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingStartY" + }, + "parameters": [ + "Object", + "=", + "CursorY(Object.Layer(),0)" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonReleased" + }, + "parameters": [ + "", + "Left" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingStartY" + }, + "parameters": [ + "Object", + "=", + "-1" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingBeforeY" + }, + "parameters": [ + "Object", + "!=", + "CursorY(Object.Layer(),0)" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingBeforeY" + }, + "parameters": [ + "Object", + "=", + "CursorY(Object.Layer(),0)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedY,2)", + ">", + "0.25" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "-", + "TimeDelta()*10" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedY,2)", + "<", + "-0.25" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "+", + "TimeDelta()*10" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedY,2)", + ">", + "-0.25" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedY,2)", + "<", + "0.25" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "+", + "TouchScrollingSpeedY" + ] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Scroll limit", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + ">", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "<", + "-VerticalScrollContainerMaxScrollValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "=", + "-VerticalScrollContainerMaxScrollValue" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaY" + }, + "parameters": [ + "Object", + ">", + "-0.2" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollAreaY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + } + ], + "parameters": [] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaY" + }, + "parameters": [ + "Object", + "!=", + "Background.ScrollYOffset" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollAreaY" + }, + "parameters": [ + "Object", + "=", + "lerp(ScrollAreaY,Background.ScrollYOffset,0.3)" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyVerticalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyShowVerticalScrollBar" + }, + "parameters": [ + "Object", + "" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Horizontal ", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyHorizontalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + } + ], + "actions": [], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Scrolling by touch scrolling", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableTouchScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Horizontal Scrolling" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingStartX" + }, + "parameters": [ + "Object", + "=", + "-1" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonPressed" + }, + "parameters": [ + "", + "Left" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingStartX" + }, + "parameters": [ + "Object", + "!=", + "-1" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "=", + "CursorX(Object.Layer(),0)-TouchScrollingBeforeX" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingStartX" + }, + "parameters": [ + "Object", + "=", + "-1" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingStartX" + }, + "parameters": [ + "Object", + "=", + "CursorX(Object.Layer(),0)" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonReleased" + }, + "parameters": [ + "", + "Left" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingStartX" + }, + "parameters": [ + "Object", + "=", + "-1" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingBeforeX" + }, + "parameters": [ + "Object", + "!=", + "CursorX(Object.Layer(),0)" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingBeforeX" + }, + "parameters": [ + "Object", + "=", + "CursorX(Object.Layer(),0)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedX,2)", + ">", + "0.25" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "-", + "TimeDelta()*10" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedX,2)", + "<", + "- 0.25" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "+", + "TimeDelta()*10" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedX,2)", + ">", + "- 0.25" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::CompareNumbers" + }, + "parameters": [ + "roundTo(TouchScrollingSpeedX,2)", + "<", + "0.25" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollXOffset", + "+", + "TouchScrollingSpeedX" + ] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Scroll limit", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "Background", + "ScrollXOffset", + ">", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "=", + "0" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollXOffset", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "Background", + "ScrollXOffset", + "<", + "-HorizontalScrollContainerMaxScrollValue" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "=", + "0" + ] + }, + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollXOffset", + "=", + "-HorizontalScrollContainerMaxScrollValue" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaX" + }, + "parameters": [ + "Object", + ">", + "- 0.2" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollAreaX" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + } + ], + "parameters": [] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaX" + }, + "parameters": [ + "Object", + "!=", + "Background.ScrollXOffset" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollAreaX" + }, + "parameters": [ + "Object", + "=", + "lerp(ScrollAreaX,Background.ScrollXOffset,0.3)" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyHorizontalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyShowHorizontalScrollBar" + }, + "parameters": [ + "Object", + "" + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "ScrollBar", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyCanShowScrollBar" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Vertical ScrollBar", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyShowVerticalScrollBar" + }, + "parameters": [ + "Object" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyVerticalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Scroll bar size", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaHeight" + }, + "parameters": [ + "Object", + "<=", + "Object.Height()" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyVerticalScrollBarHeight" + }, + "parameters": [ + "Object", + "!=", + "VerticalBackgroundScrollBarTexture.Height()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyVerticalScrollBarHeight" + }, + "parameters": [ + "Object", + "=", + "VerticalBackgroundScrollBarTexture.Height()" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaHeight" + }, + "parameters": [ + "Object", + ">", + "Object.Height()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyVerticalScrollBarHeight" + }, + "parameters": [ + "Object", + "=", + "normalize(Background.Height(), 0, ScrollAreaHeight) * VerticalBackgroundScrollBarTexture.Height()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Height" + }, + "parameters": [ + "VerticalScrollBarTexture", + "Resizable", + "!=", + "VerticalScrollBarHeight" + ] + } + ], + "actions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetHeight" + }, + "parameters": [ + "VerticalScrollBarTexture", + "Resizable", + "=", + "VerticalScrollBarHeight" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Width" + }, + "parameters": [ + "VerticalScrollBarTexture", + "Resizable", + "!=", + "VerticalScrollBarWidth" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Width" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "Resizable", + "!=", + "VerticalScrollBarWidth" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetWidth" + }, + "parameters": [ + "VerticalScrollBarTexture", + "Resizable", + "=", + "VerticalScrollBarWidth" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetWidth" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "Resizable", + "=", + "VerticalScrollBarWidth" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Scroll bar position", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Position with dragging" + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaHeight" + }, + "parameters": [ + "Object", + "<=", + "Background.Height()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaHeight" + }, + "parameters": [ + "Object", + ">", + "Background.Height()" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollBarY" + }, + "parameters": [ + "Object", + "!=", + "-((VerticalScrollBarMaxScrollValue * ScrollAreaY) / VerticalScrollContainerMaxScrollValue)" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarY" + }, + "parameters": [ + "Object", + "=", + "-((VerticalScrollBarMaxScrollValue * ScrollAreaY) / VerticalScrollContainerMaxScrollValue)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosY" + }, + "parameters": [ + "VerticalScrollBarTexture", + "!=", + "VerticalBackgroundScrollBarTexture.BoundingBoxTop() + ScrollBarY" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreY" + }, + "parameters": [ + "VerticalScrollBarTexture", + "=", + "VerticalBackgroundScrollBarTexture.BoundingBoxTop() + ScrollBarY" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollBarY" + }, + "parameters": [ + "Object", + "!=", + "VerticalScrollBarTexture.Y() - VerticalBackgroundScrollBarTexture.BoundingBoxTop()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarY" + }, + "parameters": [ + "Object", + "=", + "VerticalScrollBarTexture.Y() - VerticalBackgroundScrollBarTexture.BoundingBoxTop()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "!=", + "-((ScrollBarY * VerticalScrollContainerMaxScrollValue) / VerticalScrollBarMaxScrollValue)" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "=", + "-((ScrollBarY * VerticalScrollContainerMaxScrollValue) / VerticalScrollBarMaxScrollValue)" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Manual anchor with padding" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BehaviorActivated" + }, + "parameters": [ + "VerticalScrollBar", + "Anchor" + ] + } + ], + "actions": [ + { + "type": { + "value": "ActivateBehavior" + }, + "parameters": [ + "VerticalScrollBar", + "Anchor", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosX" + }, + "parameters": [ + "VerticalScrollBarTexture", + "!=", + "VerticalBackgroundScrollBarTexture.X()" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreX" + }, + "parameters": [ + "VerticalScrollBarTexture", + "=", + "VerticalBackgroundScrollBarTexture.X()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Height" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "Resizable", + "!=", + "(HorizontalBackgroundScrollBarTexture.Y()-VerticalBackgroundScrollBarTexture.Y()) - VerticalScrollBarBottomPadding" + ] + }, + { + "type": { + "value": "PosY" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "<", + "Background.BoundingBoxTop()+VerticalScrollBarUpPadding" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetHeight" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "Resizable", + "=", + "(HorizontalBackgroundScrollBarTexture.Y()-VerticalBackgroundScrollBarTexture.Y()) - VerticalScrollBarBottomPadding" + ] + }, + { + "type": { + "value": "MettreY" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "=", + "Background.BoundingBoxTop()+VerticalScrollBarUpPadding" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosX" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "!=", + "Background.BoundingBoxRight() - VerticalScrollBarRightPadding - VerticalBackgroundScrollBarTexture.Width()" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreX" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "=", + "Background.BoundingBoxRight() - VerticalScrollBarRightPadding - VerticalBackgroundScrollBarTexture.Width()" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Scrolling with scroll bar", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonPressed" + }, + "parameters": [ + "", + "Left" + ] + }, + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::IsScrolling" + }, + "parameters": [ + "Object", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "VerticalScrollBarTexture", + "", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ClickPosition", + "=", + "VerticalScrollBarTexture.CenterY() - CursorY()" + ] + }, + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "SourisSurObjet" + }, + "parameters": [ + "VerticalScrollBarTexture", + "", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ClickPosition", + "=", + "0" + ] + }, + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CenterY" + }, + "parameters": [ + "VerticalScrollBarTexture", + "!=", + "CursorY() + VerticalScrollBarTexture.ClickPosition" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "VerticalScrollBarTexture", + "=", + "lerp(VerticalScrollBarTexture.CenterY(), CursorY() + VerticalScrollBarTexture.ClickPosition, 0.5)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CenterY" + }, + "parameters": [ + "VerticalScrollBarTexture", + "<", + "VerticalBackgroundScrollBarTexture.BoundingBoxTop() + VerticalScrollBarTexture.Height() / 2" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "VerticalScrollBarTexture", + "=", + "VerticalBackgroundScrollBarTexture.BoundingBoxTop() + VerticalScrollBarTexture.Height() / 2" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CenterY" + }, + "parameters": [ + "VerticalScrollBarTexture", + ">", + "VerticalBackgroundScrollBarTexture.BoundingBoxBottom() - VerticalScrollBarTexture.Height() / 2" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetCenterY" + }, + "parameters": [ + "VerticalScrollBarTexture", + "=", + "VerticalBackgroundScrollBarTexture.BoundingBoxBottom() - VerticalScrollBarTexture.Height() / 2" + ] + } + ] + }, + { + "disabled": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "=", + "-VerticalScrollContainerMaxScrollValue" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonReleased" + }, + "parameters": [ + "", + "Left" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "=" + ] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "DrawScrollBar", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "ScrollBarDrawer", + "Draw", + "=", + "\"ScrollBar\"" + ] + } + ], + "actions": [], + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarBackgroundTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "0" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "ScrollBarDrawer", + "ScrollBarBackgroundColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "ScrollBarBackgroundOpacity" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "ScrollBarDrawer", + "VerticalBackgroundScrollBarTexture.BoundingBoxLeft()", + "VerticalBackgroundScrollBarTexture.BoundingBoxTop()", + "VerticalBackgroundScrollBarTexture.BoundingBoxRight()", + "VerticalBackgroundScrollBarTexture.BoundingBoxBottom()", + "20" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "Visible" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture" + ] + } + ] + } + ] + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "0" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "ScrollBarDrawer", + "ScrollBarColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "ScrollBarOpacity" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "ScrollBarDrawer", + "VerticalScrollBarTexture.BoundingBoxLeft()", + "VerticalScrollBarTexture.BoundingBoxTop()", + "VerticalScrollBarTexture.BoundingBoxRight()", + "VerticalScrollBarTexture.BoundingBoxBottom()", + "ScrollBarBorderRound" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "Visible" + }, + "parameters": [ + "VerticalScrollBarTexture" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "VerticalScrollBarTexture" + ] + } + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "PanelSpriteObject::SetColor" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollBarColor" + ] + }, + { + "type": { + "value": "PanelSpriteObject::SetColor" + }, + "parameters": [ + "VerticalBackgroundScrollBarTexture", + "ScrollBarBackgroundColor" + ] + }, + { + "type": { + "value": "OpacityCapability::OpacityBehavior::SetValue" + }, + "parameters": [ + "VerticalScrollBarTexture", + "Opacity", + "=", + "ScrollBarOpacity" + ] + }, + { + "type": { + "value": "OpacityCapability::OpacityBehavior::SetValue" + }, + "parameters": [ + "VerticalScrollBarTexture", + "Opacity", + "=", + "ScrollBarBackgroundOpacity" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "Montre" + }, + "parameters": [ + "VerticalScrollBarTexture", + "" + ] + } + ] + } + ], + "parameters": [] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Horizontal ScrollBar", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyShowHorizontalScrollBar" + }, + "parameters": [ + "Object" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyHorizontalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Scroll bar size", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaWidth" + }, + "parameters": [ + "Object", + "<=", + "Object.Width()" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyHorizontalScrollBarWidth" + }, + "parameters": [ + "Object", + "!=", + "HorizontalBackgroundScrollBarTexture.Width()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyHorizontalScrollBarWidth" + }, + "parameters": [ + "Object", + "=", + "HorizontalBackgroundScrollBarTexture.Width()" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaWidth" + }, + "parameters": [ + "Object", + ">", + "Object.Width()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyHorizontalScrollBarWidth" + }, + "parameters": [ + "Object", + "=", + "normalize(Background.Width(), 0, ScrollAreaWidth) * HorizontalBackgroundScrollBarTexture.Width()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Width" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "Resizable", + "!=", + "HorizontalScrollBarWidth" + ] + } + ], + "actions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetWidth" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "Resizable", + "=", + "HorizontalScrollBarWidth" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Height" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "Resizable", + "!=", + "HorizontalScrollBarHeight" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Height" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "Resizable", + "!=", + "HorizontalScrollBarHeight" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetHeight" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "Resizable", + "=", + "HorizontalScrollBarHeight" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetHeight" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "Resizable", + "=", + "HorizontalScrollBarHeight" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Scroll bar position", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "" + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaWidth" + }, + "parameters": [ + "Object", + "<=", + "Background.Width()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarX" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaWidth" + }, + "parameters": [ + "Object", + ">", + "Background.Width()" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollBarX" + }, + "parameters": [ + "Object", + "!=", + "-((HorizontalScrollBarMaxScrollValue * ScrollAreaX) / HorizontalScrollContainerMaxScrollValue)" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarX" + }, + "parameters": [ + "Object", + "=", + "-((HorizontalScrollBarMaxScrollValue * ScrollAreaX) / HorizontalScrollContainerMaxScrollValue)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "!=", + "HorizontalBackgroundScrollBarTexture.BoundingBoxLeft() + ScrollBarX" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "=", + "HorizontalBackgroundScrollBarTexture.BoundingBoxLeft() + ScrollBarX" + ] + } + ] + } + ] + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollBarX" + }, + "parameters": [ + "Object", + "!=", + "HorizontalScrollBarTexture.X() - HorizontalBackgroundScrollBarTexture.BoundingBoxLeft()" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarX" + }, + "parameters": [ + "Object", + "=", + "HorizontalScrollBarTexture.X() - HorizontalBackgroundScrollBarTexture.BoundingBoxLeft()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "Background", + "ScrollXOffset", + "!=", + "-((ScrollBarX * HorizontalScrollContainerMaxScrollValue) / HorizontalScrollBarMaxScrollValue)" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollXOffset", + "=", + "-((ScrollBarX * HorizontalScrollContainerMaxScrollValue) / HorizontalScrollBarMaxScrollValue)" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BehaviorActivated" + }, + "parameters": [ + "HorizontalScrollbar", + "Anchor" + ] + } + ], + "actions": [ + { + "type": { + "value": "ActivateBehavior" + }, + "parameters": [ + "HorizontalScrollbar", + "Anchor", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosY" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "!=", + "HorizontalBackgroundScrollBarTexture.Y()" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreY" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "=", + "HorizontalBackgroundScrollBarTexture.Y()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::Width" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "Resizable", + "!=", + "(VerticalBackgroundScrollBarTexture.X()-HorizontalBackgroundScrollBarTexture.X()) - VerticalScrollBarRightPadding" + ] + }, + { + "type": { + "value": "PosX" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "<", + "Background.BoundingBoxLeft()+HorizontalScrollBarLeftPadding" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetWidth" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "Resizable", + "=", + "(VerticalBackgroundScrollBarTexture.X()-HorizontalBackgroundScrollBarTexture.X()) - VerticalScrollBarRightPadding" + ] + }, + { + "type": { + "value": "MettreX" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "=", + "Background.BoundingBoxLeft()+HorizontalScrollBarLeftPadding" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosY" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "!=", + "Background.BoundingBoxLeft()+HorizontalScrollBarLeftPadding" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreY" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "=", + "Background.BoundingBoxBottom() - HorizontalScrollBarBottomPadding- HorizontalBackgroundScrollBarTexture.Height()" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Scrolling with scroll bar", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "" + ] + }, + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "Background", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "", + "", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonPressed" + }, + "parameters": [ + "", + "Left" + ] + }, + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::IsScrolling" + }, + "parameters": [ + "Object", + "" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "SourisSurObjet" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ClickPosition", + "=", + "HorizontalScrollBarTexture.CenterX() - CursorX()" + ] + }, + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "SourisSurObjet" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "", + "", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ClickPosition", + "=", + "0" + ] + }, + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "=", + "0" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CenterX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "!=", + "CursorX() + HorizontalScrollBarTexture.ClickPosition" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetCenterX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "=", + "lerp(HorizontalScrollBarTexture.CenterX(), CursorX() + HorizontalScrollBarTexture.ClickPosition, 0.5)" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CenterX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "<", + "HorizontalBackgroundScrollBarTexture.BoundingBoxLeft() + HorizontalScrollBarTexture.Width() / 2" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetCenterX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "=", + "HorizontalBackgroundScrollBarTexture.BoundingBoxLeft() + HorizontalScrollBarTexture.Width() / 2" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CenterX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + ">", + "HorizontalBackgroundScrollBarTexture.BoundingBoxRight() - HorizontalScrollBarTexture.Width() / 2" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetCenterX" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "=", + "HorizontalBackgroundScrollBarTexture.BoundingBoxRight() - HorizontalScrollBarTexture.Width() / 2" + ] + } + ] + }, + { + "disabled": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "Background", + "ScrollYOffset", + "=", + "-HorizontalScrollContainerMaxScrollValue" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "MouseButtonReleased" + }, + "parameters": [ + "", + "Left" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "=" + ] + } + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "DrawScrollBar", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "ScrollBarDrawer", + "Draw", + "=", + "\"ScrollBar\"" + ] + } + ], + "actions": [], + "events": [ + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarBackgroundTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "0" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "ScrollBarDrawer", + "ScrollBarBackgroundColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "ScrollBarBackgroundOpacity" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "ScrollBarDrawer", + "HorizontalBackgroundScrollBarTexture.BoundingBoxLeft()", + "HorizontalBackgroundScrollBarTexture.BoundingBoxTop()", + "HorizontalBackgroundScrollBarTexture.BoundingBoxRight()", + "HorizontalBackgroundScrollBarTexture.BoundingBoxBottom()", + "20" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "Visible" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture" + ] + } + ] + } + ] + }, + { + "folded": true, + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "0" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "ScrollBarDrawer", + "ScrollBarColor" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "ScrollBarOpacity" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::RoundedRectangle" + }, + "parameters": [ + "ScrollBarDrawer", + "HorizontalScrollBarTexture.BoundingBoxLeft()", + "HorizontalScrollBarTexture.BoundingBoxTop()", + "HorizontalScrollBarTexture.BoundingBoxRight()", + "HorizontalScrollBarTexture.BoundingBoxBottom()", + "ScrollBarBorderRound" + ] + } + ], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "Visible" + }, + "parameters": [ + "HorizontalScrollBarTexture" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "HorizontalScrollBarTexture" + ] + } + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "PanelSpriteObject::SetColor" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollBarColor" + ] + }, + { + "type": { + "value": "PanelSpriteObject::SetColor" + }, + "parameters": [ + "HorizontalBackgroundScrollBarTexture", + "ScrollBarBackgroundColor" + ] + }, + { + "type": { + "value": "OpacityCapability::OpacityBehavior::SetValue" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "Opacity", + "=", + "ScrollBarOpacity" + ] + }, + { + "type": { + "value": "OpacityCapability::OpacityBehavior::SetValue" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "Opacity", + "=", + "ScrollBarBackgroundOpacity" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "Montre" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "" + ] + } + ] + } + ], + "parameters": [] + } + ] + } + ], + "parameters": [] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyShowVerticalScrollBar" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "VerticalScrollBar" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetWidth" + }, + "parameters": [ + "VerticalScrollBar", + "Resizable", + "=", + "0" + ] + }, + { + "type": { + "value": "MettreX" + }, + "parameters": [ + "VerticalScrollBar", + "=", + "Background.Width()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyShowHorizontalScrollBar" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "Cache" + }, + "parameters": [ + "HorizontalScrollbar" + ] + }, + { + "type": { + "value": "ResizableCapability::ResizableBehavior::SetHeight" + }, + "parameters": [ + "HorizontalScrollbar", + "Resizable", + "=", + "0" + ] + }, + { + "type": { + "value": "MettreY" + }, + "parameters": [ + "HorizontalScrollbar", + "=", + "Background.Height()" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyCanShowScrollBar" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyShowVerticalScrollBar" + }, + "parameters": [ + "Object", + "" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyShowHorizontalScrollBar" + }, + "parameters": [ + "Object", + "" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Debug", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Display scrolling area for debugging" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyDebug" + }, + "parameters": [ + "Object" + ] + }, + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "ScrollBarDrawer", + "Draw", + "=", + "\"Debug\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::OutlineSize" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "0" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillColor" + }, + "parameters": [ + "ScrollBarDrawer", + "\"74;144;226\"" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::FillOpacity" + }, + "parameters": [ + "ScrollBarDrawer", + "=", + "30" + ] + }, + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "ScrollBarDrawer", + "ScrollAreaX", + "ScrollAreaY", + "ScrollAreaX+ScrollAreaWidth", + "ScrollAreaY+ScrollAreaHeight" + ] + } + ] + } + ], + "parameters": [] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "Condition", + "name": "_______________Conditions________________________", + "private": true, + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if scrolling begins.", + "fullName": "Scrolling ", + "functionType": "Condition", + "name": "IsScrolling", + "sentence": " _PARAM0_ being scrolled", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingSpeedX" + }, + "parameters": [ + "Object", + "!=", + "0" + ] + }, + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyTouchScrollingSpeedY" + }, + "parameters": [ + "Object", + "!=", + "0" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::Cursor_TouchOnScrollView" + }, + "parameters": [ + "Object", + "" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "IsMouseWheelScrollingDown" + }, + "parameters": [ + "" + ] + }, + { + "type": { + "value": "IsMouseWheelScrollingUp" + }, + "parameters": [ + "" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BuiltinCommonInstructions::Or" + }, + "parameters": [], + "subInstructions": [ + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "VerticalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + }, + { + "type": { + "value": "ObjectVariableAsBoolean" + }, + "parameters": [ + "HorizontalScrollBarTexture", + "ScrollWithDragScrollBar", + "True" + ] + } + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check the cursor is over the Scroll View, or if the Scroll View is being touched.", + "fullName": "The cursor/touch is on the Scroll View", + "functionType": "Condition", + "name": "Cursor_TouchOnScrollView", + "sentence": "The cursor/touch is on _PARAM0_ scroll view", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + ">", + "LeftMaskPadding", + "Object.Layer()", + "" + ] + }, + { + "type": { + "value": "CursorX" + }, + "parameters": [ + "", + "<", + "VerticalBackgroundScrollBarTexture.X()-RightMaskPadding", + "Object.Layer()", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + ">", + "TopMaskPadding", + "Object.Layer()", + "" + ] + }, + { + "type": { + "value": "CursorY" + }, + "parameters": [ + "", + "<", + "HorizontalBackgroundScrollBarTexture.Y()-BottomMaskPadding", + "Object.Layer()", + "" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if scrollbar texture. Enable/Disable scrollbar texture.", + "fullName": "Scrollbar texture", + "functionType": "Condition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "EnableScrollBarTexture", + "sentence": "_PARAM0_ scrollbar texture", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if background scrollbar texture. Enable/Disable background texture.", + "fullName": "Background scrollbar texture", + "functionType": "Condition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "EnableScrollBarBackgroundTexture", + "sentence": "_PARAM0_ background scrollbar texture", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableScrollBarBackgroundTexture" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if show Scroll Container background. Hide/Show Scroll container background.", + "fullName": "Show Scroll Container background", + "functionType": "Condition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "ShowScrollContainerBackround", + "sentence": "_PARAM0_ show Scroll Container background", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyShowScrollContainerBackround" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if Tactile scrolling. Enable/Disable tactile scrolling.", + "fullName": " Tactile scrolling", + "functionType": "Condition", + "group": "ScrollContainer scroll settings configuration", + "name": "EnableTouchScrolling", + "sentence": "_PARAM0_ Tactile scrolling", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableTouchScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if content masking. Tactile scrolling Content masking.", + "fullName": "Content masking", + "functionType": "Condition", + "group": "ScrollContainer masking configuration", + "name": "EnableContentMasking", + "sentence": "_PARAM0_ content masking", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableContentMasking" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if show scroll bar. Hide/Show scroll bar.", + "fullName": "Show scroll bar", + "functionType": "Condition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "CanShowScrollBar", + "sentence": "_PARAM0_ show scroll bar", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyCanShowScrollBar" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if vertical scrolling. Enable/Disable vertical scrolling.", + "fullName": "Vertical scrolling", + "functionType": "Condition", + "group": "ScrollContainer scroll settings configuration", + "name": "VerticalScrolling", + "sentence": "_PARAM0_ vertical scrolling", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyVerticalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if horizontal scrolling. Enable/Disable horizontal scrolling.", + "fullName": "Horizontal scrolling", + "functionType": "Condition", + "group": "ScrollContainer scroll settings configuration", + "name": "HorizontalScrolling", + "sentence": "_PARAM0_ horizontal scrolling", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyHorizontalScrolling" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Check if debug scrollarea. Display scrolling area for debugging.", + "fullName": "Debug scrollarea", + "functionType": "Condition", + "group": "ScrollContainer debug configuration", + "name": "Debug", + "sentence": "_PARAM0_ debug scrollarea", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyDebug" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [ + { + "type": { + "value": "SetReturnBoolean" + }, + "parameters": [ + "True" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "Action", + "name": "____________________Actions_________________________", + "private": true, + "sentence": "", + "events": [], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Adding content to the scroll container.", + "fullName": "Adding content ", + "functionType": "Action", + "name": "AddContent", + "sentence": "Add _PARAM1_ contents to _PARAM0_", + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Init", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Vertical" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosY" + }, + "parameters": [ + "ScrollContent", + "!=", + "Object.BoundingBoxTop()" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_Pos_Y", + "=", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_Pos_Y", + "=", + "ScrollContent.Y() - Object.BoundingBoxTop() - ScrollBarY" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Horizontal" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosX" + }, + "parameters": [ + "ScrollContent", + "!=", + "Object.BoundingBoxLeft()" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_Pos_X", + "=", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_Pos_X", + "=", + "ScrollContent.X() - Object.BoundingBoxLeft() - Background.ScrollXOffset" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Sicked Scroll contants on scroll container", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::ForEach", + "object": "ScrollContent", + "conditions": [], + "actions": [], + "events": [ + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Vertical", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BoundingBoxBottom" + }, + "parameters": [ + "ScrollContent", + "!=", + "Object.BoundingBoxTop()" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_BottomPos_Y", + "=", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_BottomPos_Y", + "=", + "ScrollContent.BoundingBoxBottom() - Object.BoundingBoxTop() - ScrollAreaY" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Stick events" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosY" + }, + "parameters": [ + "ScrollContent", + "!=", + "(Object.BoundingBoxTop() + ScrollContent.Variable(ScrollContainer_Pos_Y)) + ScrollAreaY" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreY" + }, + "parameters": [ + "ScrollContent", + "=", + "(Object.BoundingBoxTop() + ScrollContent.Variable(ScrollContainer_Pos_Y)) + ScrollAreaY" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "folded": true, + "name": "Horizontal", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "BoundingBoxRight" + }, + "parameters": [ + "ScrollContent", + "!=", + "Object.BoundingBoxLeft()" + ] + }, + { + "type": { + "value": "VarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_BottomPos_X", + "=", + "0" + ] + } + ], + "actions": [ + { + "type": { + "value": "ModVarObjet" + }, + "parameters": [ + "ScrollContent", + "ScrollContainer_BottomPos_X", + "=", + "ScrollContent.BoundingBoxRight() - Object.BoundingBoxLeft() - ScrollAreaX" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Comment", + "color": { + "b": 109, + "g": 230, + "r": 255, + "textB": 0, + "textG": 0, + "textR": 0 + }, + "comment": "Stick events" + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "PosX" + }, + "parameters": [ + "ScrollContent", + "!=", + "(Object.BoundingBoxLeft() + ScrollContent.Variable(ScrollContainer_Pos_X)) + ScrollAreaX" + ] + } + ], + "actions": [ + { + "type": { + "value": "MettreX" + }, + "parameters": [ + "ScrollContent", + "=", + "(Object.BoundingBoxLeft() + ScrollContent.Variable(ScrollContainer_Pos_X)) + ScrollAreaX" + ] + } + ] + } + ], + "parameters": [] + }, + { + "colorB": 228, + "colorG": 176, + "colorR": 74, + "creationTime": 0, + "name": "Masking", + "source": "", + "type": "BuiltinCommonInstructions::Group", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableContentMasking" + }, + "parameters": [ + "Object" + ] + } + ], + "actions": [], + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "VarObjetTxt" + }, + "parameters": [ + "ScrollBarDrawer", + "Draw", + "=", + "\"ScrollMask\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "PrimitiveDrawing::Rectangle" + }, + "parameters": [ + "ScrollBarDrawer", + "LeftMaskPadding", + "TopMaskPadding", + "VerticalBackgroundScrollBarTexture.BoundingBoxLeft() - RightMaskPadding", + "HorizontalBackgroundScrollBarTexture.BoundingBoxTop()-BottomMaskPadding" + ] + }, + { + "type": { + "value": "ScrollViewContainer::MaskWithShapePainter" + }, + "parameters": [ + "", + "ScrollContent", + "ScrollBarDrawer", + "" + ] + } + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "ScrollViewContainer::ScrollContainer::PropertyEnableContentMasking" + }, + "parameters": [ + "Object" + ] + }, + { + "type": { + "value": "BuiltinCommonInstructions::Once" + }, + "parameters": [] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::Unmask" + }, + "parameters": [ + "", + "ScrollContent", + "" + ] + } + ] + } + ], + "parameters": [] + } + ] + } + ], + "parameters": [] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaHeight" + }, + "parameters": [ + "Object", + "!=", + "ScrollViewContainer::GetMaxValueOfObjectVariable(ScrollContent, \"ScrollContainer_BottomPos_Y\")+BottomScrollareaPadding" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollAreaHeight" + }, + "parameters": [ + "Object", + "=", + "ScrollViewContainer::GetMaxValueOfObjectVariable(ScrollContent, \"ScrollContainer_BottomPos_Y\")+BottomScrollareaPadding" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::PropertyScrollAreaWidth" + }, + "parameters": [ + "Object", + "!=", + "ScrollViewContainer::GetMaxValueOfObjectVariable(ScrollContent, \"ScrollContainer_BottomPos_X\")+RightScrollareaPadding" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollAreaWidth" + }, + "parameters": [ + "Object", + "=", + "ScrollViewContainer::GetMaxValueOfObjectVariable(ScrollContent, \"ScrollContainer_BottomPos_X\")+RightScrollareaPadding" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ModVarScene" + }, + "parameters": [ + "Check", + "=", + "TouchScrollingSpeedY" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "description": "Content to add", + "name": "ScrollContent", + "type": "objectList" + } + ], + "objectGroups": [ + { + "name": "Contents", + "objects": [ + { + "name": "ScrollContent" + } + ] + } + ] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "VerticalScrollBarWidth", + "name": "SetVerticalScrollBarWidth", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyVerticalScrollBarWidth" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "HorizontalScrollBarHeight", + "name": "SetHorizontalScrollBarHeight", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyHorizontalScrollBarHeight" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Change if scrollbar texture. Enable/Disable scrollbar texture.", + "fullName": "Scrollbar texture", + "functionType": "Action", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "SetEnableScrollBarTexture", + "sentence": "_PARAM0_ scrollbar texture: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableScrollBarTexture" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableScrollBarTexture" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "EnableScrollBarTexture", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "description": "Change if background scrollbar texture. Enable/Disable background texture.", + "fullName": "Background scrollbar texture", + "functionType": "Action", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "SetEnableScrollBarBackgroundTexture", + "sentence": "_PARAM0_ background scrollbar texture: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableScrollBarBackgroundTexture" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableScrollBarBackgroundTexture" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "EnableScrollBarBackgroundTexture", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "description": "Change if show Scroll Container background. Hide/Show Scroll container background.", + "fullName": "Show Scroll Container background", + "functionType": "Action", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "SetShowScrollContainerBackround", + "sentence": "_PARAM0_ show Scroll Container background: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyShowScrollContainerBackround" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyShowScrollContainerBackround" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "ShowScrollContainerBackround", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ScrollSpeed", + "name": "SetScrollSpeed", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollSpeed" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ScrollBarColor", + "name": "SetScrollBarColor", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarColor" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ScrollBarBackgroundOpacity", + "name": "SetScrollBarBackgroundOpacity", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarBackgroundOpacity" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ScrollBarBackgroundColor", + "name": "SetScrollBarBackgroundColor", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarBackgroundColor" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ScrollBarOpacity", + "name": "SetScrollBarOpacity", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarOpacity" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Change if Tactile scrolling. Enable/Disable tactile scrolling.", + "fullName": " Tactile scrolling", + "functionType": "Action", + "group": "ScrollContainer scroll settings configuration", + "name": "SetEnableTouchScrolling", + "sentence": "_PARAM0_ Tactile scrolling: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableTouchScrolling" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableTouchScrolling" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "EnableTouchScrolling", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "description": "Change if content masking. Tactile scrolling Content masking.", + "fullName": "Content masking", + "functionType": "Action", + "group": "ScrollContainer masking configuration", + "name": "SetEnableContentMasking", + "sentence": "_PARAM0_ content masking: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableContentMasking" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyEnableContentMasking" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "EnableContentMasking", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "TopMaskPadding", + "name": "SetTopMaskPadding", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyTopMaskPadding" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "LeftMaskPadding", + "name": "SetLeftMaskPadding", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyLeftMaskPadding" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "BottomMaskPadding", + "name": "SetBottomMaskPadding", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyBottomMaskPadding" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "RightMaskPadding", + "name": "SetRightMaskPadding", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyRightMaskPadding" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "ActionWithOperator", + "getterName": "ScrollBarBorderRound", + "name": "SetScrollBarBorderRound", + "sentence": "", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyScrollBarBorderRound" + }, + "parameters": [ + "Object", + "=", + "Value" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "Change if show scroll bar. Hide/Show scroll bar.", + "fullName": "Show scroll bar", + "functionType": "Action", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "SetCanShowScrollBar", + "sentence": "_PARAM0_ show scroll bar: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyCanShowScrollBar" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyCanShowScrollBar" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "CanShowScrollBar", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "description": "Change if vertical scrolling. Enable/Disable vertical scrolling.", + "fullName": "Vertical scrolling", + "functionType": "Action", + "group": "ScrollContainer scroll settings configuration", + "name": "SetVerticalScrolling", + "sentence": "_PARAM0_ vertical scrolling: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyVerticalScrolling" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyVerticalScrolling" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "VerticalScrolling", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "description": "Change if horizontal scrolling. Enable/Disable horizontal scrolling.", + "fullName": "Horizontal scrolling", + "functionType": "Action", + "group": "ScrollContainer scroll settings configuration", + "name": "SetHorizontalScrolling", + "sentence": "_PARAM0_ horizontal scrolling: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyHorizontalScrolling" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyHorizontalScrolling" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "HorizontalScrolling", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "description": "Change if debug scrollarea. Display scrolling area for debugging.", + "fullName": "Debug scrollarea", + "functionType": "Action", + "group": "ScrollContainer debug configuration", + "name": "SetDebug", + "sentence": "_PARAM0_ debug scrollarea: _PARAM1_", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "inverted": true, + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyDebug" + }, + "parameters": [ + "Object", + "no" + ] + } + ] + }, + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [ + { + "type": { + "value": "GetArgumentAsBoolean" + }, + "parameters": [ + "\"Value\"" + ] + } + ], + "actions": [ + { + "type": { + "value": "ScrollViewContainer::ScrollContainer::SetPropertyDebug" + }, + "parameters": [ + "Object", + "yes" + ] + } + ] + } + ], + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + }, + { + "defaultValue": "yes", + "description": "Debug", + "name": "Value", + "optional": true, + "type": "yesorno" + } + ], + "objectGroups": [] + }, + { + "fullName": "", + "functionType": "Expression", + "name": "______________Expression__________________________", + "private": true, + "sentence": "", + "events": [], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the vertical scrollbar width of the object.", + "fullName": "Vertical scrollbar width", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "VerticalScrollBarWidth", + "sentence": "the vertical scrollbar width", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "VerticalScrollBarWidth" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the horizontal scrollbar height of the object.", + "fullName": "Horizontal scrollbar height", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "HorizontalScrollBarHeight", + "sentence": "the horizontal scrollbar height", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "HorizontalScrollBarHeight" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the scroll sensitivity of the object.", + "fullName": "Scroll sensitivity", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scroll settings configuration", + "name": "ScrollSpeed", + "sentence": "the scroll sensitivity", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "ScrollSpeed" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the scroll Handle Color of the object.", + "fullName": "Scroll Handle Color", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "ScrollBarColor", + "sentence": "the scroll Handle Color", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnString" + }, + "parameters": [ + "ScrollBarColor" + ] + } + ] + } + ], + "expressionType": { + "type": "color" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the scroll bar background color of the object.", + "fullName": "Scroll bar background color", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "ScrollBarBackgroundColor", + "sentence": "the scroll bar background color", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnString" + }, + "parameters": [ + "ScrollBarBackgroundColor" + ] + } + ] + } + ], + "expressionType": { + "type": "color" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the scrollBar background opacity of the object.", + "fullName": "ScrollBar background opacity", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "ScrollBarBackgroundOpacity", + "sentence": "the scrollBar background opacity", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "ScrollBarBackgroundOpacity" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the scroll Handle opacity of the object.", + "fullName": "Scroll Handle opacity", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "ScrollBarOpacity", + "sentence": "the scroll Handle opacity", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "ScrollBarOpacity" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the upper mask padding of the object.", + "fullName": "Upper mask padding", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer masking configuration", + "name": "TopMaskPadding", + "sentence": "the upper mask padding", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "TopMaskPadding" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the left mask padding of the object.", + "fullName": "Left mask padding", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer masking configuration", + "name": "LeftMaskPadding", + "sentence": "the left mask padding", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "LeftMaskPadding" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the bottom mask padding of the object.", + "fullName": "Bottom mask padding", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer masking configuration", + "name": "BottomMaskPadding", + "sentence": "the bottom mask padding", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "BottomMaskPadding" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the right mask frame of the object.", + "fullName": "Right mask frame", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer masking configuration", + "name": "RightMaskPadding", + "sentence": "the right mask frame", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "RightMaskPadding" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + }, + { + "description": "the scroll bar Round border of the object.", + "fullName": "Scroll bar Round border", + "functionType": "ExpressionAndCondition", + "group": "ScrollContainer scrollbar Settings configuration", + "name": "ScrollBarBorderRound", + "sentence": "the scroll bar Round border", + "events": [ + { + "type": "BuiltinCommonInstructions::Standard", + "conditions": [], + "actions": [ + { + "type": { + "value": "SetReturnNumber" + }, + "parameters": [ + "ScrollBarBorderRound" + ] + } + ] + } + ], + "expressionType": { + "type": "expression" + }, + "parameters": [ + { + "description": "Object", + "name": "Object", + "supplementaryInformation": "ScrollViewContainer::ScrollContainer", + "type": "object" + } + ], + "objectGroups": [] + } + ], + "propertyDescriptors": [ + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "VerticalScrollBarHeight" + }, + { + "value": "16", + "type": "Number", + "label": "Vertical scrollbar width", + "description": "", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "VerticalScrollBarWidth" + }, + { + "value": "16", + "type": "Number", + "label": "Horizontal scrollbar height", + "description": "", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "HorizontalScrollBarHeight" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "HorizontalScrollBarWidth" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ScrollBarY" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ScrollBarX" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ScrollAreaWidth" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ScrollAreaHeight" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ScrollAreaY" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ScrollAreaX" + }, + { + "value": "true", + "type": "Boolean", + "label": "Scrollbar texture", + "description": "Enable/Disable scrollbar texture", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "EnableScrollBarTexture" + }, + { + "value": "true", + "type": "Boolean", + "label": "Background scrollbar texture", + "description": "Enable/Disable background texture", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "EnableScrollBarBackgroundTexture" + }, + { + "value": "true", + "type": "Boolean", + "label": "Show Scroll Container background", + "description": "Hide/Show Scroll container background", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "ShowScrollContainerBackround" + }, + { + "value": "255;255;255", + "type": "Color", + "label": "Scroll Handle Color", + "description": "", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "ScrollBarColor" + }, + { + "value": "102;102;102", + "type": "Color", + "label": "Scroll bar background color", + "description": "", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "ScrollBarBackgroundColor" + }, + { + "value": "255", + "type": "Number", + "label": "Scroll Handle opacity", + "description": "", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "ScrollBarOpacity" + }, + { + "value": "255", + "type": "Number", + "label": "ScrollBar background opacity", + "description": "", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "ScrollBarBackgroundOpacity" + }, + { + "value": "2000", + "type": "Number", + "unit": "PixelSpeed", + "label": "Scroll sensitivity", + "description": "", + "group": "Scroll settings", + "extraInformation": [], + "name": "ScrollSpeed" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "VerticalScrollContainerMaxScrollValue" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "VerticalScrollBarMaxScrollValue" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "HorizontalScrollContainerMaxScrollValue" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "HorizontalScrollBarMaxScrollValue" + }, + { + "value": "true", + "type": "Boolean", + "label": " Tactile scrolling", + "description": "Enable/Disable tactile scrolling", + "group": "Scroll settings", + "extraInformation": [], + "name": "EnableTouchScrolling" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "TouchScrollingStartY" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "TouchScrollingSpeedY" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "TouchScrollingBeforeY" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "TouchScrollingStartX" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "TouchScrollingSpeedX" + }, + { + "value": "", + "type": "Number", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "TouchScrollingBeforeX" + }, + { + "value": "true", + "type": "Boolean", + "label": "Content masking", + "description": " Tactile scrolling Content masking", + "group": "Masking", + "extraInformation": [], + "name": "EnableContentMasking" + }, + { + "value": "4", + "type": "Number", + "label": "Upper mask padding", + "description": "", + "group": "Masking", + "extraInformation": [], + "name": "TopMaskPadding" + }, + { + "value": "4", + "type": "Number", + "label": "Left mask padding", + "description": "", + "group": "Masking", + "extraInformation": [], + "name": "LeftMaskPadding" + }, + { + "value": "4", + "type": "Number", + "label": "Bottom mask padding", + "description": "", + "group": "Masking", + "extraInformation": [], + "name": "BottomMaskPadding" + }, + { + "value": "4", + "type": "Number", + "label": "Right mask frame", + "description": "", + "group": "Masking", + "extraInformation": [], + "name": "RightMaskPadding" + }, + { + "value": "20", + "type": "Number", + "label": "Scroll bar Round border", + "description": "", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "ScrollBarBorderRound" + }, + { + "value": "true", + "type": "Boolean", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ShowVerticalScrollBar" + }, + { + "value": "true", + "type": "Boolean", + "label": "", + "description": "", + "group": "", + "extraInformation": [], + "hidden": true, + "name": "ShowHorizontalScrollBar" + }, + { + "value": "true", + "type": "Boolean", + "label": "Show scroll bar", + "description": "Hide/Show scroll bar", + "group": "Scrollbar Settings", + "extraInformation": [], + "name": "CanShowScrollBar" + }, + { + "value": "true", + "type": "Boolean", + "label": "Vertical scrolling", + "description": "Enable/Disable vertical scrolling", + "group": "Scroll settings", + "extraInformation": [], + "name": "VerticalScrolling" + }, + { + "value": "true", + "type": "Boolean", + "label": "Horizontal scrolling", + "description": "Enable/Disable horizontal scrolling", + "group": "Scroll settings", + "extraInformation": [], + "name": "HorizontalScrolling" + }, + { + "value": "", + "type": "Boolean", + "label": "Debug scrollarea", + "description": "Display scrolling area for debugging", + "group": "Debug", + "extraInformation": [], + "name": "Debug" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll area", + "extraInformation": [], + "name": "BottomScrollareaPadding" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll area", + "extraInformation": [], + "name": "RightScrollareaPadding" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll Bar Padding", + "extraInformation": [], + "name": "VerticalScrollBarUpPadding" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll Bar Padding", + "extraInformation": [], + "name": "VerticalScrollBarBottomPadding" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll Bar Padding", + "extraInformation": [], + "name": "VerticalScrollBarRightPadding" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll Bar Padding", + "extraInformation": [], + "name": "HorizontalScrollBarLeftPadding" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll Bar Padding", + "extraInformation": [], + "name": "HorizontalScrollBarRightPadding" + }, + { + "value": "4", + "type": "Number", + "label": "", + "description": "", + "group": "Scroll Bar Padding", + "extraInformation": [], + "name": "HorizontalScrollBarBottomPadding" + } + ], + "objects": [ + { + "assetStoreId": "", + "bottomMargin": 40, + "height": 96, + "leftMargin": 40, + "name": "Background", + "rightMargin": 40, + "texture": "Rectangle 27.png", + "tiled": true, + "topMargin": 40, + "type": "PanelSpriteObject::PanelSprite", + "width": 96, + "variables": [ + { + "folded": true, + "name": "ScrollYOffset", + "type": "number", + "value": 0 + }, + { + "folded": true, + "name": "ScrollXOffset", + "type": "number", + "value": 0 + }, + { + "folded": true, + "name": "LocalContentCount", + "type": "number", + "value": 0 + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 2, + "leftEdgeAnchor": 1, + "relativeToOriginalWindowSize": true, + "rightEdgeAnchor": 2, + "topEdgeAnchor": 1, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 7, + "height": 16, + "leftMargin": 7, + "name": "VerticalScrollBarTexture", + "rightMargin": 7, + "texture": "Group 4 (1).png", + "tiled": false, + "topMargin": 7, + "type": "PanelSpriteObject::PanelSprite", + "width": 16, + "variables": [ + { + "folded": true, + "name": "ClickPosition", + "type": "number", + "value": 0 + }, + { + "folded": true, + "name": "ScrollWithDragScrollBar", + "type": "boolean", + "value": false + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 0, + "rightEdgeAnchor": 2, + "bottomEdgeAnchor": 0, + "relativeToOriginalWindowSize": true, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 7, + "height": 16, + "leftMargin": 7, + "name": "VerticalBackgroundScrollBarTexture", + "rightMargin": 7, + "texture": "Rectangle 28.png", + "tiled": false, + "topMargin": 7, + "type": "PanelSpriteObject::PanelSprite", + "width": 16, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 2, + "leftEdgeAnchor": 0, + "rightEdgeAnchor": 2, + "relativeToOriginalWindowSize": true, + "topEdgeAnchor": 1, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "name": "ScrollBarDrawer", + "type": "PrimitiveDrawing::Drawer", + "variables": [ + { + "name": "Draw", + "type": "string", + "value": "" + } + ], + "effects": [], + "behaviors": [], + "fillOpacity": 255, + "outlineSize": 1, + "outlineOpacity": 255, + "absoluteCoordinates": true, + "clearBetweenFrames": true, + "antialiasing": "none", + "fillColor": { + "r": 255, + "g": 255, + "b": 255 + }, + "outlineColor": { + "r": 0, + "g": 0, + "b": 0 + } + }, + { + "assetStoreId": "", + "bottomMargin": 7, + "height": 16, + "leftMargin": 7, + "name": "HorizontalScrollBarTexture", + "rightMargin": 7, + "texture": "Group 4 (1).png", + "tiled": false, + "topMargin": 7, + "type": "PanelSpriteObject::PanelSprite", + "width": 16, + "variables": [ + { + "folded": true, + "name": "ClickPosition", + "type": "number", + "value": 0 + }, + { + "folded": true, + "name": "ScrollWithDragScrollBar", + "type": "boolean", + "value": false + } + ], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "bottomEdgeAnchor": 2, + "rightEdgeAnchor": 0, + "leftEdgeAnchor": 0, + "relativeToOriginalWindowSize": true, + "topEdgeAnchor": 0, + "useLegacyBottomAndRightAnchors": false + } + ] + }, + { + "assetStoreId": "", + "bottomMargin": 7, + "height": 16, + "leftMargin": 7, + "name": "HorizontalBackgroundScrollBarTexture", + "rightMargin": 7, + "texture": "Rectangle 28.png", + "tiled": false, + "topMargin": 7, + "type": "PanelSpriteObject::PanelSprite", + "width": 16, + "variables": [], + "effects": [], + "behaviors": [ + { + "name": "Anchor", + "type": "AnchorBehavior::AnchorBehavior", + "leftEdgeAnchor": 1, + "topEdgeAnchor": 0, + "rightEdgeAnchor": 2, + "bottomEdgeAnchor": 2, + "relativeToOriginalWindowSize": true, + "useLegacyBottomAndRightAnchors": false + } + ] + } + ], + "objectsFolderStructure": { + "folderName": "__ROOT", + "children": [ + { + "objectName": "Background" + }, + { + "objectName": "VerticalScrollBarTexture" + }, + { + "objectName": "HorizontalScrollBarTexture" + }, + { + "objectName": "VerticalBackgroundScrollBarTexture" + }, + { + "objectName": "HorizontalBackgroundScrollBarTexture" + }, + { + "objectName": "ScrollBarDrawer" + } + ] + }, + "objectsGroups": [ + { + "name": "VerticalScrollBar", + "objects": [ + { + "name": "VerticalScrollBarTexture" + }, + { + "name": "VerticalBackgroundScrollBarTexture" + } + ] + }, + { + "name": "HorizontalScrollbar", + "objects": [ + { + "name": "HorizontalScrollBarTexture" + }, + { + "name": "HorizontalBackgroundScrollBarTexture" + } + ] + } + ], + "layers": [ + { + "ambientLightColorB": 200, + "ambientLightColorG": 200, + "ambientLightColorR": 200, + "camera3DFarPlaneDistance": 10000, + "camera3DFieldOfView": 45, + "camera3DNearPlaneDistance": 3, + "cameraType": "", + "followBaseLayerCamera": false, + "isLightingLayer": false, + "isLocked": false, + "name": "", + "renderingType": "", + "visibility": true, + "cameras": [ + { + "defaultSize": true, + "defaultViewport": true, + "height": 0, + "viewportBottom": 1, + "viewportLeft": 0, + "viewportRight": 1, + "viewportTop": 0, + "width": 0 + } + ], + "effects": [] + } + ], + "instances": [ + { + "angle": 0, + "customSize": true, + "depth": 0, + "height": 96, + "keepRatio": true, + "layer": "", + "locked": true, + "name": "Background", + "persistentUuid": "9f29fd1d-a215-41f5-8190-ff4f7132b8b2", + "sealed": true, + "width": 96, + "x": 0, + "y": 0, + "zOrder": 1, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 68, + "keepRatio": true, + "layer": "", + "name": "VerticalScrollBarTexture", + "persistentUuid": "848496f5-efc9-4d9c-b67c-f0d20016bca8", + "width": 16, + "x": 76, + "y": 4, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 72, + "keepRatio": true, + "layer": "", + "name": "VerticalBackgroundScrollBarTexture", + "persistentUuid": "75abe1fc-1e0c-432f-8db6-03244aff0aee", + "width": 16, + "x": 76, + "y": 4, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 0, + "height": 32, + "keepRatio": true, + "layer": "", + "name": "ScrollBarDrawer", + "persistentUuid": "ad508acd-87e1-48f3-9720-b1510ba7e500", + "width": 32, + "x": 0, + "y": 0, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "Draw", + "type": "string", + "value": "ScrollBar" + } + ] + }, + { + "angle": 0, + "customSize": true, + "depth": 0, + "height": 32, + "keepRatio": true, + "layer": "", + "name": "ScrollBarDrawer", + "persistentUuid": "93f0332d-60dc-48f8-87c4-c04721cef209", + "width": 32, + "x": 0, + "y": 0, + "zOrder": 4, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "Draw", + "type": "string", + "value": "ScrollMask" + } + ] + }, + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 16, + "keepRatio": true, + "layer": "", + "name": "HorizontalBackgroundScrollBarTexture", + "persistentUuid": "86eed2c4-3039-4320-966c-3d56dced973a", + "width": 72, + "x": 4, + "y": 76, + "zOrder": 3, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 1, + "height": 16, + "keepRatio": true, + "layer": "", + "name": "HorizontalScrollBarTexture", + "persistentUuid": "5360e880-2547-4c3f-be29-a847f504b4a8", + "width": 68, + "x": 4, + "y": 76, + "zOrder": 5, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [] + }, + { + "angle": 0, + "customSize": true, + "depth": 0, + "height": 32, + "keepRatio": true, + "layer": "", + "name": "ScrollBarDrawer", + "persistentUuid": "a9ee3797-82f7-43fc-87f3-2dbffca399a8", + "width": 32, + "x": 0, + "y": 0, + "zOrder": 2, + "numberProperties": [], + "stringProperties": [], + "initialVariables": [ + { + "name": "Draw", + "type": "string", + "value": "Debug" + } + ] + } + ] + } + ] +} \ No newline at end of file