Ading menu

This commit is contained in:
vladislav.khorev committed 2018-07-22 16:36:06 +05:00
1 parent 4e35c0e218
commit b054872af9
21 files changed
+356 -309

No files matched your search

+12
View File
@@ -32,6 +32,18 @@
},
{
"name": "level5"
},
{
"name": "level1"
},
{
"name": "level2"
},
{
"name": "level3"
},
{
"name": "level3"
}
]
},
+26
View File
@@ -0,0 +1,26 @@
{
"widgets": [{
"type": "FrameLayout",
"name": "Loading",
"background": "#000000FF",
"width": "match_parent",
"height": "match_parent",
"horizontalAlignment": "HA_CENTER",
"verticalAlignment": "VA_CENTER",
"children": [
{
"type": "VerticalLinearLayout",
"name": "holder",
"background": "#000000FF",
"width": "wrap_content",
"height": "wrap_content",
"children":[{
"type": "ImageView",
"name": "logo",
"height" : "400",
"width" : "400",
"background": "logo.png"
}]
}]
}]
}
+197 -15
View File
@@ -1,23 +1,205 @@
{
"widgets": [{
"type": "FrameLayout",
"name": "menu_background",
"background": "#00000000",
"name": "modal_background",
"background": "#80808080",
"width": "match_parent",
"height": "match_parent",
"visible" : 0,
"horizontalAlignment": "HA_CENTER",
"verticalAlignment": "VA_CENTER",
"children": [{
"type": "FrameLayout",
"name": "stars_plane",
"background": "#00000000",
"width": "wrap_content",
"height": "wrap_content",
"children": [{
"type": "ImageView",
"name": "galaxy",
"background": "024863276-illustration-spiral-galaxy-vec.png",
"width": 700,
"height": 480
}]
}]
"type": "VerticalScrollLayout",
"name": "leftSidePanel",
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": "wrap_content",
"height": "match_parent",
"touchTransparency": 0,
"zLevel": 10,
"marginTop" : 40,
"marginBottom" : 40,
"paddingTop": 60,
"paddingBottom": 10,
"paddingLeft": 10,
"paddingRight": 10,
"itemSpacing": 20,
"children" : [{
"type": "HorizontalLinearLayout",
"name": "embroiderySettings",
"itemSpacing": 30,
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": "wrap_content",
"height": "wrap_content",
"touchTransparency": 0,
"itemSpacing": 20,
"visible": 1,
"children": [{
"type": "Button",
"name": "button6",
"width": 128,
"height": 80,
"background": "level1_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button7",
"width": 128,
"height": 80,
"background": "level2_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button8",
"width": 128,
"height": 80,
"background": "level3_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
},
{
"type": "HorizontalLinearLayout",
"name": "embroiderySettings",
"itemSpacing": 30,
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": "wrap_content",
"height": "wrap_content",
"touchTransparency": 0,
"visible": 1,
"children": [{
"type": "Button",
"name": "button6",
"width": 128,
"height": 80,
"background": "level4_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button7",
"width": 128,
"height": 80,
"background": "level5_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button8",
"width": 128,
"height": 80,
"background": "level6_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
},
{
"type": "HorizontalLinearLayout",
"name": "embroiderySettings",
"itemSpacing": 30,
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": "wrap_content",
"height": "wrap_content",
"touchTransparency": 1,
"visible": 1,
"children": [{
"type": "Button",
"name": "button6",
"width": 128,
"height": 80,
"background": "level7_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button7",
"width": 128,
"height": 80,
"background": "level8_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button8",
"width": 128,
"height": 80,
"background": "level9_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
},
{
"type": "HorizontalLinearLayout",
"name": "embroiderySettings",
"itemSpacing": 30,
"paddingBottom": 15,
"paddingTop": 15,
"paddingLeft": 15,
"paddingRight": 15,
"background": "#faf0ffFF",
"borderType": "line",
"borderColor": "#808080FF",
"width": "wrap_content",
"height": "wrap_content",
"touchTransparency": 0,
"visible": 1,
"children": [{
"type": "Button",
"name": "button6",
"width": 128,
"height": 80,
"background": "level10_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button7",
"width": 128,
"height": 80,
"background": "level11_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
},
{
"type": "Button",
"name": "button8",
"width": 128,
"height": 80,
"background": "level12_prerender",
"pressedDrawable": "#60606060",
"hoverDrawable": "#60606060"
}]
}]
}
]
}]
}
+11
View File
@@ -0,0 +1,11 @@
precision highp float;
uniform sampler2D Texture;
varying vec2 texCoord;
varying vec4 color;
void main()
{
vec4 texColor = texture2D(Texture,texCoord).rgba;
gl_FragColor = color * texColor.rgba;
}
+14
View File
@@ -0,0 +1,14 @@
attribute vec3 vPosition;
attribute vec2 vTexCoord;
attribute vec4 vColor;
varying vec2 texCoord;
varying vec4 color;
uniform mat4 ProjectionMatrix;
void main()
{
//480x320
gl_Position = ProjectionMatrix * vec4(vPosition.xyz, 1.0);
texCoord = vTexCoord;
color = vColor;
}
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 102 B