Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
73
Issues
73
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
fcea9eaf
Verified
Commit
fcea9eaf
authored
Jun 14, 2019
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ShipAdventure after changed onclick handler in Platform
parent
c29612ee
Pipeline
#25368
passed with stage
in 5 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Images.icl
...plications/ShipAdventure/C2/Apps/ShipAdventure/Images.icl
+7
-7
No files found.
Examples/Applications/ShipAdventure/C2/Apps/ShipAdventure/Images.icl
View file @
fcea9eaf
...
...
@@ -166,7 +166,7 @@ sectionImage disabledSections hilite mngmnt zoomed exitLocks hopLocks inventoryM
=
{
fill
=
toSVGColor
(
if
isLocked
"black"
"white"
)
}
doorClick
::
!
Bool
!
Coord3D
!
Dir
!(
Image
(
a
,
MapAction
SectionStatus
))
->
Image
(
a
,
MapAction
SectionStatus
)
doorClick
False
c3d
dir
img
=
img
doorClick
_
c3d
dir
img
=
img
<@<
{
onclick
=
\
_
(
x
,
_)
->
(
x
,
ToggleDoor
c3d
dir
),
local
=
False
}
doorClick
_
c3d
dir
img
=
img
<@<
{
onclick
=
\(
x
,
_)
->
(
x
,
ToggleDoor
c3d
dir
),
local
=
False
}
sectionImage`
::
!(
Bool
Coord3D
[
Object
ObjectType
]
[
Device
]
Real
(
Image
a
)
[
Image
a
]
(
Image
b
)
(
Image
(
Maps2D
,
MapAction
SectionStatus
))
(
Image
d
)
(
Image
e
)
(
Image
f
)
(
Image
g
)
->
Image
(
Maps2D
,
MapAction
SectionStatus
))
...
...
@@ -359,10 +359,10 @@ editSectionImage hilite mngmnt zoomed allDevices network inventoryMap doorDims s
#!
vwally
=
rect
(
px
5.0
)
(
px
height
)
<@<
{
fill
=
toSVGColor
"white"
}
<@<
{
opacity
=
0.1
}
<@<
{
stroke
=
toSVGColor
"none"
}
#!
wallyN
=
hwally
<@<
{
onclick
=
\_
->
rotateWall
floorIdx
c
N
,
local
=
False
}
#!
wallyE
=
vwally
<@<
{
onclick
=
\_
->
rotateWall
floorIdx
c
E
,
local
=
False
}
#!
wallyW
=
vwally
<@<
{
onclick
=
\_
->
rotateWall
floorIdx
c
W
,
local
=
False
}
#!
wallyS
=
hwally
<@<
{
onclick
=
\_
->
rotateWall
floorIdx
c
S
,
local
=
False
}
#!
wallyN
=
hwally
<@<
{
onclick
=
rotateWall
floorIdx
c
N
,
local
=
False
}
#!
wallyE
=
vwally
<@<
{
onclick
=
rotateWall
floorIdx
c
E
,
local
=
False
}
#!
wallyW
=
vwally
<@<
{
onclick
=
rotateWall
floorIdx
c
W
,
local
=
False
}
#!
wallyS
=
hwally
<@<
{
onclick
=
rotateWall
floorIdx
c
S
,
local
=
False
}
=
'
GS
'.
overlay
[
('
GS
'.
AtMiddleX
,
'
GS
'.
AtBottom
),
('
GS
'.
AtRight
,
'
GS
'.
AtMiddleY
),
('
GS
'.
AtMiddleX
,
'
GS
'.
AtTop
),
('
GS
'.
AtLeft
,
'
GS
'.
AtMiddleY
)
,
('
GS
'.
AtLeft
,
'
GS
'.
AtBottom
),
('
GS
'.
AtRight
,
'
GS
'.
AtBottom
),
('
GS
'.
AtRight
,
'
GS
'.
AtBottom
)
]
...
...
@@ -406,5 +406,5 @@ rotateWall m c d (maps, edit)
rotate
Wall
=
Door
rotate
Door
=
Open
onClick
::
!(
MapAction
SectionStatus
)
Int
!(!
a
,
MapAction
SectionStatus
)
->
(!
a
,
!
MapAction
SectionStatus
)
onClick
clck
_
(
m
,
_)
=
(
m
,
clck
)
onClick
::
!(
MapAction
SectionStatus
)
!(!
a
,
MapAction
SectionStatus
)
->
(!
a
,
!
MapAction
SectionStatus
)
onClick
clck
(
m
,
_)
=
(
m
,
clck
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment