sunrize 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/launch.json +17 -0
- package/.vscode/settings.json +21 -0
- package/.vscode/tasks.json +25 -0
- package/LICENSE.md +627 -0
- package/Makefile +4 -0
- package/README.md +15 -0
- package/bin/sunrise.js +13 -0
- package/package.json +103 -0
- package/src/audio/Tink.mp3 +0 -0
- package/src/html/application.html +62 -0
- package/src/html/application.js +6 -0
- package/src/html/document.html +36 -0
- package/src/html/document.js +6 -0
- package/src/images/OutlineEditor/AccessTypes/AccessTypes.xcf +0 -0
- package/src/images/OutlineEditor/AccessTypes/initializeOnly.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOnly.0.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOnly.1.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOnly.2.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOnly.active.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOnly.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.0.0.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.0.1.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.0.2.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.1.0.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.1.1.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.1.2.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.2.0.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.2.1.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.2.2.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/inputOutput.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/outputOnly.0.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/outputOnly.1.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/outputOnly.2.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/outputOnly.active.png +0 -0
- package/src/images/OutlineEditor/AccessTypes/outputOnly.png +0 -0
- package/src/images/OutlineEditor/Fields/MFBool.svg +177 -0
- package/src/images/OutlineEditor/Fields/MFColor.svg +150 -0
- package/src/images/OutlineEditor/Fields/MFColorRGBA.svg +220 -0
- package/src/images/OutlineEditor/Fields/MFDouble.svg +162 -0
- package/src/images/OutlineEditor/Fields/MFFloat.svg +173 -0
- package/src/images/OutlineEditor/Fields/MFImage.svg +234 -0
- package/src/images/OutlineEditor/Fields/MFInt32.svg +168 -0
- package/src/images/OutlineEditor/Fields/MFMatrix3d.svg +219 -0
- package/src/images/OutlineEditor/Fields/MFMatrix3f.svg +212 -0
- package/src/images/OutlineEditor/Fields/MFMatrix4d.svg +212 -0
- package/src/images/OutlineEditor/Fields/MFMatrix4f.svg +205 -0
- package/src/images/OutlineEditor/Fields/MFNode.svg +180 -0
- package/src/images/OutlineEditor/Fields/MFRotation.svg +175 -0
- package/src/images/OutlineEditor/Fields/MFString.svg +152 -0
- package/src/images/OutlineEditor/Fields/MFTime.svg +164 -0
- package/src/images/OutlineEditor/Fields/MFVec2d.svg +172 -0
- package/src/images/OutlineEditor/Fields/MFVec2f.svg +165 -0
- package/src/images/OutlineEditor/Fields/MFVec3d.svg +179 -0
- package/src/images/OutlineEditor/Fields/MFVec3f.svg +173 -0
- package/src/images/OutlineEditor/Fields/MFVec4d.svg +166 -0
- package/src/images/OutlineEditor/Fields/MFVec4f.svg +159 -0
- package/src/images/OutlineEditor/Fields/SFBool.svg +137 -0
- package/src/images/OutlineEditor/Fields/SFColor.svg +143 -0
- package/src/images/OutlineEditor/Fields/SFColorRGBA.svg +213 -0
- package/src/images/OutlineEditor/Fields/SFDouble.svg +155 -0
- package/src/images/OutlineEditor/Fields/SFFloat.svg +166 -0
- package/src/images/OutlineEditor/Fields/SFImage.svg +234 -0
- package/src/images/OutlineEditor/Fields/SFInt32.svg +163 -0
- package/src/images/OutlineEditor/Fields/SFMatrix3d.svg +219 -0
- package/src/images/OutlineEditor/Fields/SFMatrix3f.svg +206 -0
- package/src/images/OutlineEditor/Fields/SFMatrix4d.svg +212 -0
- package/src/images/OutlineEditor/Fields/SFMatrix4f.svg +199 -0
- package/src/images/OutlineEditor/Fields/SFNode.svg +174 -0
- package/src/images/OutlineEditor/Fields/SFRotation.svg +169 -0
- package/src/images/OutlineEditor/Fields/SFString.svg +147 -0
- package/src/images/OutlineEditor/Fields/SFTime.svg +158 -0
- package/src/images/OutlineEditor/Fields/SFVec2d.svg +166 -0
- package/src/images/OutlineEditor/Fields/SFVec2f.svg +159 -0
- package/src/images/OutlineEditor/Fields/SFVec3d.svg +173 -0
- package/src/images/OutlineEditor/Fields/SFVec3f.svg +167 -0
- package/src/images/OutlineEditor/Fields/SFVec4d.svg +166 -0
- package/src/images/OutlineEditor/Fields/SFVec4f.svg +153 -0
- package/src/images/OutlineEditor/Fields/Unkown.svg +137 -0
- package/src/images/OutlineEditor/Fields/none.png +0 -0
- package/src/images/OutlineEditor/Node/ExportedNode.svg +212 -0
- package/src/images/OutlineEditor/Node/ExternProto.svg +237 -0
- package/src/images/OutlineEditor/Node/ImportedNode.svg +230 -0
- package/src/images/OutlineEditor/Node/NULL.svg +160 -0
- package/src/images/OutlineEditor/Node/Prototype.svg +263 -0
- package/src/images/OutlineEditor/Node/Route.svg +207 -0
- package/src/images/OutlineEditor/Node/SharedNode.svg +245 -0
- package/src/images/OutlineEditor/Node/X3DBaseNode.svg +167 -0
- package/src/images/OutlineEditor/Node/X3DExecutionContext.svg +207 -0
- package/src/images/OutlineEditor/Values/Bell.svg +79 -0
- package/src/images/OutlineEditor/Values/FALSE.svg +76 -0
- package/src/images/OutlineEditor/Values/TRUE.svg +76 -0
- package/src/images/icon.icns +0 -0
- package/src/images/icon.ico +0 -0
- package/src/images/icon.png +0 -0
- package/src/images/icons/arrow.svg +113 -0
- package/src/images/icons/hand.svg +129 -0
- package/src/main.js +9 -0
- package/src/sunrize/Application/ActionKeys.js +80 -0
- package/src/sunrize/Application/Application.js +660 -0
- package/src/sunrize/Application/DataStorage.js +179 -0
- package/src/sunrize/Application/Document.js +453 -0
- package/src/sunrize/Application/Footer.js +46 -0
- package/src/sunrize/Application/GetText.js +10 -0
- package/src/sunrize/Application/Interface.js +148 -0
- package/src/sunrize/Application/SecondaryToolbar.js +156 -0
- package/src/sunrize/Application/Selection.js +49 -0
- package/src/sunrize/Application/Sidebar.js +51 -0
- package/src/sunrize/Application/Tabs.js +329 -0
- package/src/sunrize/Application/Traverse.js +341 -0
- package/src/sunrize/Bits/Algorithm.js +5 -0
- package/src/sunrize/Bits/Beep.js +13 -0
- package/src/sunrize/Bits/Highlight.js +16 -0
- package/src/sunrize/Bits/Validate.js +59 -0
- package/src/sunrize/Controls/AddPrototypePopover.js +111 -0
- package/src/sunrize/Controls/Dialog.js +74 -0
- package/src/sunrize/Controls/EditUserDefinedFieldPopover.js +223 -0
- package/src/sunrize/Controls/Popover.js +32 -0
- package/src/sunrize/Controls/RenameNodeInput.js +94 -0
- package/src/sunrize/Controls/RenameNodePopover.js +40 -0
- package/src/sunrize/Controls/Splitter.js +102 -0
- package/src/sunrize/Controls/Tabs.js +96 -0
- package/src/sunrize/Editors/AnimationEditor.js +18 -0
- package/src/sunrize/Editors/BrowserSize.js +101 -0
- package/src/sunrize/Editors/Console.js +239 -0
- package/src/sunrize/Editors/FileManager.js +18 -0
- package/src/sunrize/Editors/Library.js +268 -0
- package/src/sunrize/Editors/NodeInspector.js +18 -0
- package/src/sunrize/Editors/NodeList.js +122 -0
- package/src/sunrize/Editors/OutlineEditor.js +2007 -0
- package/src/sunrize/Editors/OutlineRouteGraph.js +557 -0
- package/src/sunrize/Editors/OutlineView.js +3017 -0
- package/src/sunrize/Editors/Primitives.js +452 -0
- package/src/sunrize/Editors/SceneProperties.js +477 -0
- package/src/sunrize/Editors/ScriptEditor.js +594 -0
- package/src/sunrize/Editors/Units.js +146 -0
- package/src/sunrize/Fields/MFStringTextArea.js +32 -0
- package/src/sunrize/Fields/SFStringInput.js +32 -0
- package/src/sunrize/Fields.js +2 -0
- package/src/sunrize/Tools/CADGeometry/CADAssemblyTool.js +20 -0
- package/src/sunrize/Tools/CADGeometry/CADFaceTool.js +20 -0
- package/src/sunrize/Tools/CADGeometry/CADLayerTool.js +20 -0
- package/src/sunrize/Tools/CADGeometry/CADPartTool.js +20 -0
- package/src/sunrize/Tools/CADGeometry.js +6 -0
- package/src/sunrize/Tools/Core/ToolColors.js +33 -0
- package/src/sunrize/Tools/Core/X3DNodeTool.js +132 -0
- package/src/sunrize/Tools/Core/X3DPrototypeInstanceTool.js +31 -0
- package/src/sunrize/Tools/Core.js +3 -0
- package/src/sunrize/Tools/Geospatial/GeoLODTool.js +40 -0
- package/src/sunrize/Tools/Geospatial/GeoLocationTool.js +20 -0
- package/src/sunrize/Tools/Geospatial/GeoTransformTool.js +20 -0
- package/src/sunrize/Tools/Geospatial.js +5 -0
- package/src/sunrize/Tools/Grouping/GroupTool.js +20 -0
- package/src/sunrize/Tools/Grouping/StaticGroupTool.js +20 -0
- package/src/sunrize/Tools/Grouping/SwitchTool.js +20 -0
- package/src/sunrize/Tools/Grouping/TransformTool.js +20 -0
- package/src/sunrize/Tools/Grouping/TransformTool.x3d +37 -0
- package/src/sunrize/Tools/Grouping/Vector.x3d +98 -0
- package/src/sunrize/Tools/Grouping/X3DBoundedObjectTool.js +44 -0
- package/src/sunrize/Tools/Grouping/X3DBoundedObjectTool.x3d +330 -0
- package/src/sunrize/Tools/Grouping/X3DTransformNodeTool.js +44 -0
- package/src/sunrize/Tools/Grouping.js +6 -0
- package/src/sunrize/Tools/HAnim/HAnimHumanoidTool.js +20 -0
- package/src/sunrize/Tools/HAnim/HAnimJointTool.js +20 -0
- package/src/sunrize/Tools/HAnim/HAnimSegmentTool.js +20 -0
- package/src/sunrize/Tools/HAnim/HAnimSiteTool.js +20 -0
- package/src/sunrize/Tools/HAnim.js +6 -0
- package/src/sunrize/Tools/Layering/LayerTool.js +16 -0
- package/src/sunrize/Tools/Layering/X3DLayerNodeTool.js +22 -0
- package/src/sunrize/Tools/Layering.js +3 -0
- package/src/sunrize/Tools/Layout/LayoutGroupTool.js +78 -0
- package/src/sunrize/Tools/Layout/LayoutLayerTool.js +16 -0
- package/src/sunrize/Tools/Layout/ScreenGroupTool.js +20 -0
- package/src/sunrize/Tools/Layout.js +5 -0
- package/src/sunrize/Tools/Navigation/BillboardTool.js +37 -0
- package/src/sunrize/Tools/Navigation/CollisionTool.js +37 -0
- package/src/sunrize/Tools/Navigation/LODTool.js +37 -0
- package/src/sunrize/Tools/Navigation.js +5 -0
- package/src/sunrize/Tools/Networking/AnchorTool.js +20 -0
- package/src/sunrize/Tools/Networking/InlineTool.js +20 -0
- package/src/sunrize/Tools/Networking.js +4 -0
- package/src/sunrize/Tools/ParticleSystems/ParticleSystemTool.js +20 -0
- package/src/sunrize/Tools/ParticleSystems.js +3 -0
- package/src/sunrize/Tools/Picking/PickableGroupTool.js +20 -0
- package/src/sunrize/Tools/Picking.js +3 -0
- package/src/sunrize/Tools/RigidBodyPhysics/CollidableOffsetTool.js +37 -0
- package/src/sunrize/Tools/RigidBodyPhysics/CollidableShapeTool.js +37 -0
- package/src/sunrize/Tools/RigidBodyPhysics.js +4 -0
- package/src/sunrize/Tools/Shaders/ToolShader.x3d +86 -0
- package/src/sunrize/Tools/Shape/ShapeTool.js +20 -0
- package/src/sunrize/Tools/Shape.js +3 -0
- package/src/sunrize/Tools/VolumeRendering/IsoSurfaceVolumeDataTool.js +16 -0
- package/src/sunrize/Tools/VolumeRendering/SegmentedVolumeDataTool.js +16 -0
- package/src/sunrize/Tools/VolumeRendering/VolumeDataTool.js +16 -0
- package/src/sunrize/Tools/VolumeRendering/X3DVolumeDataNodeTool.js +12 -0
- package/src/sunrize/Tools/VolumeRendering.js +5 -0
- package/src/sunrize/Tools.js +15 -0
- package/src/sunrize/Undo/Editor.js +2146 -0
- package/src/sunrize/Undo/UndoManager.js +204 -0
- package/src/sunrize/X3D.js +8 -0
- package/src/themes/dark.css +1291 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
sodipodi:docname="Bell.svg"
|
|
11
|
+
inkscape:version="1.0 (4035a4f, 2020-05-01)"
|
|
12
|
+
id="svg984"
|
|
13
|
+
version="1.1"
|
|
14
|
+
viewBox="0 0 3.1749999 3.1750001"
|
|
15
|
+
height="12"
|
|
16
|
+
width="12">
|
|
17
|
+
<defs
|
|
18
|
+
id="defs978" />
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
inkscape:window-maximized="1"
|
|
21
|
+
inkscape:window-y="25"
|
|
22
|
+
inkscape:window-x="0"
|
|
23
|
+
inkscape:window-height="796"
|
|
24
|
+
inkscape:window-width="1440"
|
|
25
|
+
showguides="true"
|
|
26
|
+
inkscape:bbox-nodes="true"
|
|
27
|
+
inkscape:snap-bbox="true"
|
|
28
|
+
inkscape:snap-nodes="true"
|
|
29
|
+
inkscape:object-nodes="true"
|
|
30
|
+
inkscape:snap-others="false"
|
|
31
|
+
units="px"
|
|
32
|
+
showgrid="true"
|
|
33
|
+
inkscape:document-rotation="0"
|
|
34
|
+
inkscape:current-layer="layer1"
|
|
35
|
+
inkscape:document-units="mm"
|
|
36
|
+
inkscape:cy="12.477583"
|
|
37
|
+
inkscape:cx="9.4430615"
|
|
38
|
+
inkscape:zoom="8.9635439"
|
|
39
|
+
inkscape:pageshadow="2"
|
|
40
|
+
inkscape:pageopacity="0.0"
|
|
41
|
+
borderopacity="1.0"
|
|
42
|
+
bordercolor="#666666"
|
|
43
|
+
pagecolor="#ffffff"
|
|
44
|
+
id="base">
|
|
45
|
+
<inkscape:grid
|
|
46
|
+
enabled="true"
|
|
47
|
+
spacingy="0.13229167"
|
|
48
|
+
spacingx="0.13229167"
|
|
49
|
+
empspacing="0"
|
|
50
|
+
id="grid986"
|
|
51
|
+
type="xygrid" />
|
|
52
|
+
</sodipodi:namedview>
|
|
53
|
+
<metadata
|
|
54
|
+
id="metadata981">
|
|
55
|
+
<rdf:RDF>
|
|
56
|
+
<cc:Work
|
|
57
|
+
rdf:about="">
|
|
58
|
+
<dc:format>image/svg+xml</dc:format>
|
|
59
|
+
<dc:type
|
|
60
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
61
|
+
<dc:title></dc:title>
|
|
62
|
+
</cc:Work>
|
|
63
|
+
</rdf:RDF>
|
|
64
|
+
</metadata>
|
|
65
|
+
<g
|
|
66
|
+
id="layer1"
|
|
67
|
+
inkscape:groupmode="layer"
|
|
68
|
+
inkscape:label="Ebene 1">
|
|
69
|
+
<path
|
|
70
|
+
sodipodi:nodetypes="cccc"
|
|
71
|
+
id="path988"
|
|
72
|
+
d="M 3.1750001,2.5135417 C 2.2489584,2.5135417 2.7781251,0.13229167 1.5875,0.13229168 0.39687501,0.13229167 0.92604153,2.5135417 0,2.5135417 Z"
|
|
73
|
+
style="fill:none;stroke:#000000;stroke-width:0.264583;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1" />
|
|
74
|
+
<path
|
|
75
|
+
d="m 1.1291295,2.5135416 a 0.46302099,0.46302107 0 0 0 -0.00465,0.066146 0.46302099,0.46302107 0 0 0 0.4630208,0.4630208 0.46302099,0.46302107 0 0 0 0.4630208,-0.4630208 0.46302099,0.46302107 0 0 0 -0.00465,-0.066146 z"
|
|
76
|
+
style="fill:#ffffff;stroke:#000000;stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;fill-opacity:1"
|
|
77
|
+
id="path1566" />
|
|
78
|
+
</g>
|
|
79
|
+
</svg>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
width="20"
|
|
11
|
+
height="12"
|
|
12
|
+
viewBox="0 0 5.2916666 3.1750001"
|
|
13
|
+
version="1.1"
|
|
14
|
+
id="svg8"
|
|
15
|
+
inkscape:version="1.0 (4035a4f, 2020-05-01)"
|
|
16
|
+
sodipodi:docname="FALSE.svg">
|
|
17
|
+
<defs
|
|
18
|
+
id="defs2" />
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
id="base"
|
|
21
|
+
pagecolor="#e6e6e6"
|
|
22
|
+
bordercolor="#666666"
|
|
23
|
+
borderopacity="1.0"
|
|
24
|
+
inkscape:pageopacity="0"
|
|
25
|
+
inkscape:pageshadow="2"
|
|
26
|
+
inkscape:zoom="26.354658"
|
|
27
|
+
inkscape:cx="12.388239"
|
|
28
|
+
inkscape:cy="4.3021885"
|
|
29
|
+
inkscape:document-units="mm"
|
|
30
|
+
inkscape:current-layer="layer1"
|
|
31
|
+
inkscape:document-rotation="0"
|
|
32
|
+
showgrid="true"
|
|
33
|
+
inkscape:window-width="1440"
|
|
34
|
+
inkscape:window-height="796"
|
|
35
|
+
inkscape:window-x="0"
|
|
36
|
+
inkscape:window-y="25"
|
|
37
|
+
inkscape:window-maximized="1"
|
|
38
|
+
units="px"
|
|
39
|
+
inkscape:object-nodes="true"
|
|
40
|
+
inkscape:snap-bbox="true"
|
|
41
|
+
inkscape:bbox-nodes="true">
|
|
42
|
+
<inkscape:grid
|
|
43
|
+
type="xygrid"
|
|
44
|
+
id="grid42"
|
|
45
|
+
empspacing="1" />
|
|
46
|
+
</sodipodi:namedview>
|
|
47
|
+
<metadata
|
|
48
|
+
id="metadata5">
|
|
49
|
+
<rdf:RDF>
|
|
50
|
+
<cc:Work
|
|
51
|
+
rdf:about="">
|
|
52
|
+
<dc:format>image/svg+xml</dc:format>
|
|
53
|
+
<dc:type
|
|
54
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
55
|
+
<dc:title></dc:title>
|
|
56
|
+
</cc:Work>
|
|
57
|
+
</rdf:RDF>
|
|
58
|
+
</metadata>
|
|
59
|
+
<g
|
|
60
|
+
inkscape:label="Ebene 1"
|
|
61
|
+
inkscape:groupmode="layer"
|
|
62
|
+
id="layer1">
|
|
63
|
+
<path
|
|
64
|
+
id="rect44"
|
|
65
|
+
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
66
|
+
d="m 1.6630952,0.13229167 c -0.84543947,0 -1.53080356,0.65151903 -1.53080354,1.45520843 0,0.8036894 0.68536408,1.4552084 1.53080354,1.4552084 h 1.9664202 c 0.8454395,0 1.5308036,-0.651519 1.5308036,-1.4552084 0,-0.80368942 -0.6853641,-1.45520843 -1.5308036,-1.45520843 z"
|
|
67
|
+
sodipodi:nodetypes="sssssss" />
|
|
68
|
+
<ellipse
|
|
69
|
+
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.132291"
|
|
70
|
+
id="path890"
|
|
71
|
+
cx="1.5875"
|
|
72
|
+
cy="1.5875001"
|
|
73
|
+
rx="1.0583333"
|
|
74
|
+
ry="1.0583334" />
|
|
75
|
+
</g>
|
|
76
|
+
</svg>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
width="20"
|
|
11
|
+
height="12"
|
|
12
|
+
viewBox="0 0 5.2916666 3.1750001"
|
|
13
|
+
version="1.1"
|
|
14
|
+
id="svg8"
|
|
15
|
+
inkscape:version="1.0 (4035a4f, 2020-05-01)"
|
|
16
|
+
sodipodi:docname="TRUE.svg">
|
|
17
|
+
<defs
|
|
18
|
+
id="defs2" />
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
id="base"
|
|
21
|
+
pagecolor="#e6e6e6"
|
|
22
|
+
bordercolor="#666666"
|
|
23
|
+
borderopacity="1.0"
|
|
24
|
+
inkscape:pageopacity="0"
|
|
25
|
+
inkscape:pageshadow="2"
|
|
26
|
+
inkscape:zoom="26.354658"
|
|
27
|
+
inkscape:cx="12.388239"
|
|
28
|
+
inkscape:cy="4.3021885"
|
|
29
|
+
inkscape:document-units="mm"
|
|
30
|
+
inkscape:current-layer="layer1"
|
|
31
|
+
inkscape:document-rotation="0"
|
|
32
|
+
showgrid="true"
|
|
33
|
+
inkscape:window-width="1440"
|
|
34
|
+
inkscape:window-height="796"
|
|
35
|
+
inkscape:window-x="0"
|
|
36
|
+
inkscape:window-y="25"
|
|
37
|
+
inkscape:window-maximized="1"
|
|
38
|
+
units="px"
|
|
39
|
+
inkscape:object-nodes="true"
|
|
40
|
+
inkscape:snap-bbox="true"
|
|
41
|
+
inkscape:bbox-nodes="true">
|
|
42
|
+
<inkscape:grid
|
|
43
|
+
type="xygrid"
|
|
44
|
+
id="grid42"
|
|
45
|
+
empspacing="1" />
|
|
46
|
+
</sodipodi:namedview>
|
|
47
|
+
<metadata
|
|
48
|
+
id="metadata5">
|
|
49
|
+
<rdf:RDF>
|
|
50
|
+
<cc:Work
|
|
51
|
+
rdf:about="">
|
|
52
|
+
<dc:format>image/svg+xml</dc:format>
|
|
53
|
+
<dc:type
|
|
54
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
55
|
+
<dc:title></dc:title>
|
|
56
|
+
</cc:Work>
|
|
57
|
+
</rdf:RDF>
|
|
58
|
+
</metadata>
|
|
59
|
+
<g
|
|
60
|
+
inkscape:label="Ebene 1"
|
|
61
|
+
inkscape:groupmode="layer"
|
|
62
|
+
id="layer1">
|
|
63
|
+
<path
|
|
64
|
+
id="rect44"
|
|
65
|
+
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
66
|
+
d="m 1.6630952,0.13229167 c -0.84543947,0 -1.53080356,0.65151903 -1.53080354,1.45520843 0,0.8036894 0.68536408,1.4552084 1.53080354,1.4552084 h 1.9664202 c 0.8454395,0 1.5308036,-0.651519 1.5308036,-1.4552084 0,-0.80368942 -0.6853641,-1.45520843 -1.5308036,-1.45520843 z"
|
|
67
|
+
sodipodi:nodetypes="sssssss" />
|
|
68
|
+
<ellipse
|
|
69
|
+
ry="0.92604178"
|
|
70
|
+
rx="0.92604172"
|
|
71
|
+
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.264583;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
72
|
+
id="path890"
|
|
73
|
+
cx="3.7041667"
|
|
74
|
+
cy="1.5875" />
|
|
75
|
+
</g>
|
|
76
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
inkscape:export-ydpi="30"
|
|
11
|
+
inkscape:export-xdpi="30"
|
|
12
|
+
inkscape:export-filename="/Users/holger/Downloads/Arrow.png"
|
|
13
|
+
sodipodi:docname="Arrow.svg"
|
|
14
|
+
inkscape:version="1.0 (4035a4f, 2020-05-01)"
|
|
15
|
+
id="svg2408"
|
|
16
|
+
height="24"
|
|
17
|
+
width="24"
|
|
18
|
+
version="1.0">
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
inkscape:bbox-nodes="true"
|
|
21
|
+
inkscape:document-rotation="0"
|
|
22
|
+
inkscape:snap-nodes="true"
|
|
23
|
+
inkscape:snap-page="true"
|
|
24
|
+
inkscape:object-nodes="true"
|
|
25
|
+
inkscape:snap-intersection-paths="false"
|
|
26
|
+
inkscape:snap-object-midpoints="false"
|
|
27
|
+
inkscape:object-paths="false"
|
|
28
|
+
inkscape:guide-bbox="true"
|
|
29
|
+
showguides="true"
|
|
30
|
+
inkscape:bbox-paths="false"
|
|
31
|
+
inkscape:snap-bbox="true"
|
|
32
|
+
inkscape:current-layer="g4856"
|
|
33
|
+
inkscape:window-maximized="1"
|
|
34
|
+
inkscape:window-y="23"
|
|
35
|
+
inkscape:window-x="0"
|
|
36
|
+
inkscape:cy="12.981972"
|
|
37
|
+
inkscape:cx="14.436146"
|
|
38
|
+
inkscape:zoom="22.448519"
|
|
39
|
+
showgrid="true"
|
|
40
|
+
id="namedview3312"
|
|
41
|
+
inkscape:window-height="810"
|
|
42
|
+
inkscape:window-width="1440"
|
|
43
|
+
inkscape:pageshadow="2"
|
|
44
|
+
inkscape:pageopacity="0"
|
|
45
|
+
guidetolerance="10"
|
|
46
|
+
gridtolerance="10"
|
|
47
|
+
objecttolerance="10"
|
|
48
|
+
borderopacity="1"
|
|
49
|
+
bordercolor="#666666"
|
|
50
|
+
pagecolor="#ffffff">
|
|
51
|
+
<sodipodi:guide
|
|
52
|
+
id="guide4411"
|
|
53
|
+
position="-190.05815,48"
|
|
54
|
+
orientation="0,1" />
|
|
55
|
+
<sodipodi:guide
|
|
56
|
+
id="guide4413"
|
|
57
|
+
position="48,42"
|
|
58
|
+
orientation="1,0" />
|
|
59
|
+
<inkscape:grid
|
|
60
|
+
spacingx="1"
|
|
61
|
+
spacingy="1"
|
|
62
|
+
snapvisiblegridlinesonly="true"
|
|
63
|
+
enabled="true"
|
|
64
|
+
visible="true"
|
|
65
|
+
empspacing="2"
|
|
66
|
+
id="grid3989"
|
|
67
|
+
type="xygrid" />
|
|
68
|
+
</sodipodi:namedview>
|
|
69
|
+
<defs
|
|
70
|
+
id="defs2410">
|
|
71
|
+
<linearGradient
|
|
72
|
+
id="linearGradient3935-4">
|
|
73
|
+
<stop
|
|
74
|
+
id="stop3937-9"
|
|
75
|
+
offset="0"
|
|
76
|
+
style="stop-color:#000000;stop-opacity:0;" />
|
|
77
|
+
<stop
|
|
78
|
+
id="stop3939-6"
|
|
79
|
+
offset="1"
|
|
80
|
+
style="stop-color:#ff0101;stop-opacity:1;" />
|
|
81
|
+
</linearGradient>
|
|
82
|
+
</defs>
|
|
83
|
+
<metadata
|
|
84
|
+
id="metadata2413">
|
|
85
|
+
<rdf:RDF>
|
|
86
|
+
<cc:Work
|
|
87
|
+
rdf:about="">
|
|
88
|
+
<dc:format>image/svg+xml</dc:format>
|
|
89
|
+
<dc:type
|
|
90
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
91
|
+
<dc:title></dc:title>
|
|
92
|
+
</cc:Work>
|
|
93
|
+
</rdf:RDF>
|
|
94
|
+
</metadata>
|
|
95
|
+
<g
|
|
96
|
+
style="display:inline"
|
|
97
|
+
inkscape:label="Stroke"
|
|
98
|
+
id="layer2"
|
|
99
|
+
inkscape:groupmode="layer">
|
|
100
|
+
<g
|
|
101
|
+
style="fill:#090909;fill-opacity:1;stroke:none;stroke-opacity:1;stroke-width:3.9545455;stroke-miterlimit:4;stroke-dasharray:none"
|
|
102
|
+
transform="matrix(0.25287356,0,0,0.25287356,3.4827586,-0.51724136)"
|
|
103
|
+
id="g4856">
|
|
104
|
+
<path
|
|
105
|
+
d="M 11.931821,10.371791 V 71.027392 L 28.395548,62.757786 42.111787,90.327871 53.08054,84.812435 39.364303,57.24235 55.828028,48.972747 Z"
|
|
106
|
+
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:3.95455;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
107
|
+
id="path3927" />
|
|
108
|
+
</g>
|
|
109
|
+
</g>
|
|
110
|
+
<g
|
|
111
|
+
id="text7563"
|
|
112
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:92.1986px;line-height:130%;font-family:Ubuntu;-inkscape-font-specification:Ubuntu;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none" />
|
|
113
|
+
</svg>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
4
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
5
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
6
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
9
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
10
|
+
version="1.0"
|
|
11
|
+
width="24"
|
|
12
|
+
height="24"
|
|
13
|
+
id="svg2408"
|
|
14
|
+
inkscape:version="1.0 (4035a4f, 2020-05-01)"
|
|
15
|
+
sodipodi:docname="Hand.svg"
|
|
16
|
+
inkscape:export-filename="/home/holger/Projekte/Titania/Titania/share/titania/ui/icon14x14.png"
|
|
17
|
+
inkscape:export-xdpi="13.125"
|
|
18
|
+
inkscape:export-ydpi="13.125">
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
pagecolor="#ffffff"
|
|
21
|
+
bordercolor="#666666"
|
|
22
|
+
borderopacity="1"
|
|
23
|
+
objecttolerance="10"
|
|
24
|
+
gridtolerance="10"
|
|
25
|
+
guidetolerance="10"
|
|
26
|
+
inkscape:pageopacity="0"
|
|
27
|
+
inkscape:pageshadow="2"
|
|
28
|
+
inkscape:window-width="1440"
|
|
29
|
+
inkscape:window-height="810"
|
|
30
|
+
id="namedview3312"
|
|
31
|
+
showgrid="true"
|
|
32
|
+
inkscape:zoom="15.061947"
|
|
33
|
+
inkscape:cx="12.833844"
|
|
34
|
+
inkscape:cy="14.428792"
|
|
35
|
+
inkscape:window-x="0"
|
|
36
|
+
inkscape:window-y="23"
|
|
37
|
+
inkscape:window-maximized="1"
|
|
38
|
+
inkscape:current-layer="layer2"
|
|
39
|
+
inkscape:snap-bbox="true"
|
|
40
|
+
inkscape:bbox-paths="true"
|
|
41
|
+
showguides="false"
|
|
42
|
+
inkscape:guide-bbox="true"
|
|
43
|
+
inkscape:object-paths="false"
|
|
44
|
+
inkscape:snap-object-midpoints="false"
|
|
45
|
+
inkscape:snap-intersection-paths="false"
|
|
46
|
+
inkscape:object-nodes="true"
|
|
47
|
+
inkscape:snap-page="true"
|
|
48
|
+
inkscape:snap-nodes="true"
|
|
49
|
+
inkscape:document-rotation="0"
|
|
50
|
+
inkscape:bbox-nodes="true">
|
|
51
|
+
<sodipodi:guide
|
|
52
|
+
orientation="0,1"
|
|
53
|
+
position="-190.05815,48"
|
|
54
|
+
id="guide4411" />
|
|
55
|
+
<sodipodi:guide
|
|
56
|
+
orientation="1,0"
|
|
57
|
+
position="48,42"
|
|
58
|
+
id="guide4413" />
|
|
59
|
+
<inkscape:grid
|
|
60
|
+
type="xygrid"
|
|
61
|
+
id="grid3989"
|
|
62
|
+
empspacing="2"
|
|
63
|
+
visible="true"
|
|
64
|
+
enabled="true"
|
|
65
|
+
snapvisiblegridlinesonly="true"
|
|
66
|
+
spacingy="1"
|
|
67
|
+
spacingx="1"
|
|
68
|
+
originx="0"
|
|
69
|
+
originy="0" />
|
|
70
|
+
</sodipodi:namedview>
|
|
71
|
+
<defs
|
|
72
|
+
id="defs2410">
|
|
73
|
+
<linearGradient
|
|
74
|
+
id="linearGradient3935-4">
|
|
75
|
+
<stop
|
|
76
|
+
style="stop-color:#000000;stop-opacity:0;"
|
|
77
|
+
offset="0"
|
|
78
|
+
id="stop3937-9" />
|
|
79
|
+
<stop
|
|
80
|
+
style="stop-color:#ff0101;stop-opacity:1;"
|
|
81
|
+
offset="1"
|
|
82
|
+
id="stop3939-6" />
|
|
83
|
+
</linearGradient>
|
|
84
|
+
</defs>
|
|
85
|
+
<metadata
|
|
86
|
+
id="metadata2413">
|
|
87
|
+
<rdf:RDF>
|
|
88
|
+
<cc:Work
|
|
89
|
+
rdf:about="">
|
|
90
|
+
<dc:format>image/svg+xml</dc:format>
|
|
91
|
+
<dc:type
|
|
92
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
93
|
+
<dc:title></dc:title>
|
|
94
|
+
</cc:Work>
|
|
95
|
+
</rdf:RDF>
|
|
96
|
+
</metadata>
|
|
97
|
+
<g
|
|
98
|
+
inkscape:groupmode="layer"
|
|
99
|
+
id="layer2"
|
|
100
|
+
inkscape:label="Stroke"
|
|
101
|
+
style="display:inline">
|
|
102
|
+
<g
|
|
103
|
+
id="g5196"
|
|
104
|
+
style="stroke:#000000;stroke-width:3.91083;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
|
105
|
+
transform="matrix(0.25571754,0,0,0.25568213,-0.47309832,-0.57605338)">
|
|
106
|
+
<path
|
|
107
|
+
sodipodi:nodetypes="cszzzzzszsc"
|
|
108
|
+
inkscape:connector-curvature="0"
|
|
109
|
+
id="path5190"
|
|
110
|
+
d="M 57,90 C 49.1875,84.335937 44.810291,74.04112 37.843234,71.181432 30.689877,68.245276 20.406731,65.863219 15.514078,57.613835 10.621424,49.36445 8.432499,48.438151 7.9101562,46.242187 7.3878134,44.046223 7.9840924,36.812268 13.274311,38.706416 18.56453,40.600564 20.918526,43.756265 23.106954,48 c 2.188429,4.243734 6.754939,5.58568 7.483148,-1.657281 C 31.318312,39.099758 29.199219,30.863281 25.292968,27.640625 23.151704,25.874082 19.528024,23.228997 16.894532,21.097656 14.26104,18.966316 12.5,7.132812 28.125,13.1875 43.75,19.242187 44.804688,37.828125 45,39"
|
|
111
|
+
style="fill:none;stroke:#000000;stroke-width:3.91083;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
|
112
|
+
<path
|
|
113
|
+
sodipodi:nodetypes="csc"
|
|
114
|
+
inkscape:connector-curvature="0"
|
|
115
|
+
id="path5192"
|
|
116
|
+
d="M 33.203125,16.507812 C 32.226563,10.84375 37.803906,3.1663813 45.312501,12.406249 52.683042,21.476232 54.460937,28.773437 57,36"
|
|
117
|
+
style="fill:none;stroke:#000000;stroke-width:3.91083;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
|
118
|
+
<path
|
|
119
|
+
sodipodi:nodetypes="cscc"
|
|
120
|
+
inkscape:connector-curvature="0"
|
|
121
|
+
id="path5194"
|
|
122
|
+
d="M 48.966748,17.427169 C 47.892529,11.958419 54,9 60,15 65.864056,20.864056 75.402369,30.196477 79.757039,70.342718 85.895146,74.54733 90,84 90,84"
|
|
123
|
+
style="fill:none;stroke:#000000;stroke-width:3.91083;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
|
124
|
+
</g>
|
|
125
|
+
</g>
|
|
126
|
+
<g
|
|
127
|
+
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:92.1986px;line-height:130%;font-family:Ubuntu;-inkscape-font-specification:Ubuntu;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"
|
|
128
|
+
id="text7563" />
|
|
129
|
+
</svg>
|
package/src/main.js
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict"
|
|
2
|
+
|
|
3
|
+
const $ = require ("jquery")
|
|
4
|
+
|
|
5
|
+
module .exports = class ActionKeys
|
|
6
|
+
{
|
|
7
|
+
static Shift = 0b0001
|
|
8
|
+
static Control = 0b0010
|
|
9
|
+
static Alt = 0b0100
|
|
10
|
+
static Option = 0b0100
|
|
11
|
+
static AltGraph = 0b1000
|
|
12
|
+
static Command = 0b1000
|
|
13
|
+
|
|
14
|
+
constructor ()
|
|
15
|
+
{
|
|
16
|
+
this .value = 0
|
|
17
|
+
|
|
18
|
+
$(window)
|
|
19
|
+
.on ("keydown", this .onkeydown .bind (this))
|
|
20
|
+
.on ("keyup", this .onkeyup .bind (this))
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
onkeydown (event)
|
|
24
|
+
{
|
|
25
|
+
//console .log (event .key)
|
|
26
|
+
|
|
27
|
+
switch (event .key)
|
|
28
|
+
{
|
|
29
|
+
case "Shift":
|
|
30
|
+
{
|
|
31
|
+
this .value |= ActionKeys .Shift
|
|
32
|
+
break
|
|
33
|
+
}
|
|
34
|
+
case "Control":
|
|
35
|
+
{
|
|
36
|
+
this .value |= ActionKeys .Control
|
|
37
|
+
break
|
|
38
|
+
}
|
|
39
|
+
case "Alt": // Alt/Option
|
|
40
|
+
{
|
|
41
|
+
this .value |= ActionKeys .Alt
|
|
42
|
+
break
|
|
43
|
+
}
|
|
44
|
+
case "Meta": // AltGr/Command
|
|
45
|
+
{
|
|
46
|
+
this .value |= ActionKeys .AltGraph
|
|
47
|
+
break
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
onkeyup (event)
|
|
53
|
+
{
|
|
54
|
+
//console .log (event .key)
|
|
55
|
+
|
|
56
|
+
switch (event .key)
|
|
57
|
+
{
|
|
58
|
+
case "Shift":
|
|
59
|
+
{
|
|
60
|
+
this .value &= ~ActionKeys .Shift
|
|
61
|
+
break
|
|
62
|
+
}
|
|
63
|
+
case "Control":
|
|
64
|
+
{
|
|
65
|
+
this .value &= ~ActionKeys .Control
|
|
66
|
+
break
|
|
67
|
+
}
|
|
68
|
+
case "Alt": // Alt/Option
|
|
69
|
+
{
|
|
70
|
+
this .value &= ~ActionKeys .Alt
|
|
71
|
+
break
|
|
72
|
+
}
|
|
73
|
+
case "Meta": // AltGr/Command
|
|
74
|
+
{
|
|
75
|
+
this .value &= ~ActionKeys .AltGraph
|
|
76
|
+
break
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|