-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (91 loc) · 4.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<title>Generic Map Editor</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="./css/main.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="./css/editor.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="./css/tool_box.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="./css/properties_box.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="./css/object_list_box.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="./css/map.css" type="text/css" charset="utf-8">
<link rel="stylesheet" href="./css/codemirror.css" type="text/css" charset="utf-8">
<script type="text/javascript" src="./js/utils.js"></script>
<script type="text/javascript" src="./js/message_bus.js"></script>
<script type="text/javascript" src="./js/script_editor.js"></script>
<script type="text/javascript" src="./js/map_shapes.js"></script>
<script type="text/javascript" src="../game_metadata.js"></script>
<script type="text/javascript" src="./js/map_objects.js"></script>
<script type="text/javascript" src="./js/map.js"></script>
<script type="text/javascript" src="./js/status_bar.js"></script>
<script type="text/javascript" src="./js/object_list_box.js"></script>
<script type="text/javascript" src="./js/properties_box.js"></script>
<script type="text/javascript" src="./js/tool_box.js"></script>
<script type="text/javascript" src="./js/map_pane.js"></script>
<script type="text/javascript" src="./js/map_tools_pane.js"></script>
<script type="text/javascript" src="./js/map_exporter.js"></script>
<script type="text/javascript" src="./js/map_io.js"></script>
<script type="text/javascript" src="./js/menu_bar.js"></script>
<script type="text/javascript" src="./js/editor.js"></script>
<script type="text/javascript" src="./js/editor_controller.js"></script>
<script type="text/javascript" src="./js/main_renderer.js"></script>
</head>
<body>
<span id="error">
</span>
<div id="editor">
<div class="editor_content">
<div class="left_pane">
<div id="tool_box" class="list"></div>
<div id="properties_box" class="list"></div>
</div>
<div class="center_pane">
<div id="map_pane">
<div id="map_view">
<canvas id="map_canvas"></canvas>
<div id="zoom_toolkit">
<span id="zoom_out_btn" class="button">-</span>
<span id="zoom_factor">100%</span>
<span id="zoom_in_btn" class="button">+</span>
</div>
</div>
<div id="map_tools_pane" style="display: none;">
<div id="map_grid_tool_pane" style="display: none;">
<span class="map_tools_pane_label">Display grid:</span>
<input id="map_display_grid_checkbox" type="checkbox" />
<br />
<span class="map_tools_pane_label">Horizontal spacing:</span>
<input id="map_grid_horizontal_spacing" type="number" />
<br />
<span class="map_tools_pane_label">Vertical spacing:</span>
<input id="map_grid_vertical_spacing" type="number" />
</div>
<div id="map_scaling_tool_pane" style="display: none;">
<span class="map_tools_pane_label">Scaling factor [%]:</span>
<input id="map_scaling_factor" type="number" value="100" /></br>
<span class="map_tools_pane_label">Scale:</span>
<span id="map_scale_positions_btn" class="button">Positions</span>|
<span id="map_scale_all_btn" class="button">Positions and size</span>|
<span id="map_scale_selected_object_btn" class="button">Selected object size</span>
</div>
<div id="map_filtering_tool_pane" style="display: none;">
<span class="map_tools_pane_label">Filter objects by type:</span>
<input id="map_filter_objects_checkbox" type="checkbox" />
<br />
</div>
</div>
<div id="map_tools_bar">
<span id="map_grid_tool_btn" class="button">Grid</span>
<span id="map_scaling_tool_btn" class="button">Scaling</span>
<span id="map_filtering_tool_btn" class="button">Filtering</span>
</div>
</div>
</div>
<div class="right_pane">
<div id="object_list_box" class="list"></div>
</div>
</div>
<div id="status_bar"></div>
</div>
</body>
</html>