-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (95 loc) · 2.54 KB
/
index.html
File metadata and controls
96 lines (95 loc) · 2.54 KB
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
95
96
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>NES Tiler</title>
<style>
body {
color: #ffffff;
background-color: #000000;
font-family: sans-serif;
font-weight: bold;
font-size: 0.75em;
}
.leftSide {
float: left;
height: 100vh;
background-color: #000000;
}
.rightSide {
float: right;
width: 47%;
}
.subwindow {
margin-bottom: 8px;
}
#editorCanvas {
cursor: default;
border: 1px solid white;
}
.paletteForeBack {
width: 32px;
height: 32px;
float: left;
position: absolute;
border: 1px solid white;
}
.paletteColor {
width: 48px;
height: 80px;
float: right;
border: 1px solid white;
}
.buttonLikeText {
cursor:pointer
}
.buttonLikeText:hover {
color: cyan
}
.buttonLikeSelectedText {
color: cyan
}
</style>
</head>
<body>
<div class="leftSide">
Tile Set
[<span class="buttonLikeText" id="zoom1x">1x</span>
<span class="buttonLikeText" id="zoom2x">2x</span>
<span class="buttonLikeText" id="zoom4x">4x</span>]
<div id="tileSetWindow" style="width:400px; height:90%; overflow:auto;">
<!-- overflow:auto allows scrolling. -->
</div>
</div>
<div class="rightSide">
<div>
Arranger
<div class="subwindow arranger">
<canvas id="arrangerCanvas" width="400" height="256"></canvas>
</div>
</div>
<div>
Tile Editor
<div class="subwindow editor">
<canvas id="editorCanvas" width="256" height="128"></canvas>
</div>
</div>
<div>
Palette <span class="buttonLikeText" id="resetPalette" title="Reset to default">♺</span>
<div class="subwindow" id="palette" style="width: 280px; height: 100px; position: relative;">
<div class="paletteForeBack" id="paletteBack" style="left: 16px; top: 16px;"></div>
<div class="paletteForeBack" id="paletteFore"></div>
<!-- float:right so these divs are declared right-to-left. -->
<div class="paletteColor" id="paletteColor3"></div>
<div class="paletteColor" id="paletteColor2"></div>
<div class="paletteColor" id="paletteColor1"></div>
<div class="paletteColor" id="paletteColor0"></div>
</div>
</div>
</div>
</body>
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</html>