Added keypad, fixed one crash bug and few more features for mobile version

This commit is contained in:
OTCv8
2020-06-12 17:58:54 +02:00
parent 8391355c42
commit 82018bf3c9
23 changed files with 294 additions and 36 deletions

View File

@@ -1,10 +1,10 @@
ActionButton < Panel
size: 36 36
font: cipsoftFont
anchors.top: parent.top
margin-left: 3
border-width: 1
border-color: #00000022
anchors.bottom: parent.bottom
width: 40
padding: 1 1 1 1
margin-left: 1
$first:
anchors.left: parent.left
@@ -15,18 +15,19 @@ ActionButton < Panel
Item
id: item
anchors.fill: parent
margin: 1 1 1 1
&selectable: true
&editable: false
virtual: true
border-width: 1
border-color: #00000000
$!on:
image-source: /images/game/actionbarslot
Label
id: text
anchors.fill: parent
margin: 1 1 1 1
text-auto-resize: true
text-wrap: true
phantom: true
@@ -85,7 +86,6 @@ Panel
anchors.left: prev.right
anchors.right: next.left
margin-right: 3
margin-top: 2
clipping: true
TabButton