Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WWW20 Projekt ShapePicture Editor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Edward Sabinus
WWW20 Projekt ShapePicture Editor
Commits
b2da2f0f
Commit
b2da2f0f
authored
4 years ago
by
Edward Sabinus
Browse files
Options
Downloads
Patches
Plain Diff
Deleted not working shapepictureeditor.elm
parent
8c6d8353
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ShapePicture_Editor.elm
+0
-56
0 additions, 56 deletions
src/ShapePicture_Editor.elm
with
0 additions
and
56 deletions
src/ShapePicture_Editor.elm
deleted
100644 → 0
+
0
−
56
View file @
8c6d8353
module
ShapePicture_Editor
exposing
(
main
)
--Browser
import
Browser
import
Browser
.
Navigation
as
Nav
-- Url
import
Url
-- Own
import
TypeHolder
exposing
(
Model
,
Msg
(
..
))
import
Manager
.
UpdateManager
exposing
(
update
)
import
Manager
.
ViewManager
exposing
(
view
)
import
Manager
.
StateManager
as
StM
import
Util
.
Util
exposing
(
Picture
)
main
=
Browser
.
application
{
init
=
init
,
subscriptions
=
subscriptions
,
update
=
update
,
view
=
documentView
,
onUrlChange
=
UrlChanged
,
onUrlRequest
=
LinkClicked
}
-- INIT
init
:
()
->
Url
.
Url
->
Nav
.
Key
->
(
Model
,
Cmd
Msg
)
init
_
url
key
=
(
Model
StM
.
Standby
[]
0
(
Ok
"
Init"
)
(
Picture
(
Url
.
Url
Url
.
Http
"
www.informatik.uni-halle.de"
Nothing
"
/im/1285058520_1381_00_800.jpg"
Nothing
Nothing
)
800
600
)
,
url
=
url
,
key
=
key
,
errorString
=
"
"
,
stringToShapes
=
"
[ {
\"
shape
\"
: {
\"
polygon
\"
: [ {
\"
x
\"
:
\"
157
\"
,
\"
y
\"
:
\"
265
\"
}, {
\"
x
\"
:
\"
26
\"
,
\"
y
\"
:
\"
116
\"
}, {
\"
x
\"
:
\"
34
\"
,
\"
y
\"
:
\"
212
\"
}, {
\"
x
\"
:
\"
229
\"
,
\"
y
\"
:
\"
188
\"
}, {
\"
x
\"
:
\"
117
\"
,
\"
y
\"
:
\"
124
\"
} ] },
\"
shapeprop
\"
: {
\"
hFC
\"
:
\"
white
\"
,
\"
hFO
\"
:
\"
0.5
\"
,
\"
hSC
\"
:
\"
red
\"
,
\"
hSW
\"
:
\"
3
\"
,
\"
hSO
\"
:
\"
1.0
\"
,
\"
uFC
\"
:
\"
white
\"
,
\"
uFO
\"
:
\"
0.0
\"
,
\"
uSC
\"
:
\"
red
\"
,
\"
uSW
\"
:
\"
3
\"
,
\"
uSO
\"
:
\"
1.0
\"
,
\"
title
\"
:
\"
default
\"
,
\"
body
\"
:
\"
default
\"
} }, {
\"
shape
\"
: {
\"
rect
\"
: {
\"
x
\"
:
\"
486
\"
,
\"
y
\"
:
\"
60
\"
,
\"
width
\"
:
\"
84
\"
,
\"
height
\"
:
\"
74
\"
} },
\"
shapeprop
\"
: {
\"
hFC
\"
:
\"
white
\"
,
\"
hFO
\"
:
\"
0.5
\"
,
\"
hSC
\"
:
\"
red
\"
,
\"
hSW
\"
:
\"
3
\"
,
\"
hSO
\"
:
\"
1.0
\"
,
\"
uFC
\"
:
\"
white
\"
,
\"
uFO
\"
:
\"
0.0
\"
,
\"
uSC
\"
:
\"
red
\"
,
\"
uSW
\"
:
\"
3
\"
,
\"
uSO
\"
:
\"
1.0
\"
,
\"
title
\"
:
\"
default
\"
,
\"
body
\"
:
\"
default
\"
} }, {
\"
shape
\"
: {
\"
ellipse
\"
: {
\"
cx
\"
:
\"
410
\"
,
\"
cy
\"
:
\"
319
\"
,
\"
rx
\"
:
\"
110
\"
,
\"
ry
\"
:
\"
52
\"
} },
\"
shapeprop
\"
: {
\"
hFC
\"
:
\"
white
\"
,
\"
hFO
\"
:
\"
0.5
\"
,
\"
hSC
\"
:
\"
red
\"
,
\"
hSW
\"
:
\"
3
\"
,
\"
hSO
\"
:
\"
1.0
\"
,
\"
uFC
\"
:
\"
white
\"
,
\"
uFO
\"
:
\"
0.0
\"
,
\"
uSC
\"
:
\"
red
\"
,
\"
uSW
\"
:
\"
3
\"
,
\"
uSO
\"
:
\"
1.0
\"
,
\"
title
\"
:
\"
default
\"
,
\"
body
\"
:
\"
default
\"
} }, {
\"
shape
\"
: {
\"
circle
\"
: {
\"
cx
\"
:
\"
395
\"
,
\"
cy
\"
:
\"
104
\"
,
\"
r
\"
:
\"
66
\"
} },
\"
shapeprop
\"
: {
\"
hFC
\"
:
\"
white
\"
,
\"
hFO
\"
:
\"
0.5
\"
,
\"
hSC
\"
:
\"
red
\"
,
\"
hSW
\"
:
\"
3
\"
,
\"
hSO
\"
:
\"
1.0
\"
,
\"
uFC
\"
:
\"
white
\"
,
\"
uFO
\"
:
\"
0.0
\"
,
\"
uSC
\"
:
\"
red
\"
,
\"
uSW
\"
:
\"
3
\"
,
\"
uSO
\"
:
\"
1.0
\"
,
\"
title
\"
:
\"
default
\"
,
\"
body
\"
:
\"
default
\"
} } ]"
}
,
Cmd
.
none
)
-- SUBSCRIPTIONS
subscriptions
:
Model
->
Sub
Msg
subscriptions
model
=
Sub
.
none
-- VIEW
documentView
:
Model
->
Browser
.
Document
Msg
documentView
model
=
{
title
=
"
ShapePicture_Editor"
,
body
=
[
view
model
]
}
This diff is collapsed.
Click to expand it.
Edward Sabinus
@ajnwd
mentioned in commit
3e0a575a
·
4 years ago
mentioned in commit
3e0a575a
mentioned in commit 3e0a575a9aee09787aaea33f3280b6a51f841528
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment