-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.html
92 lines (80 loc) · 3.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Pixel Paint</title>
<link rel="stylesheet" type="text/css" href="main.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="img/favicon.png"/>
</head>
<body>
<div id="blanket-around-body">
<div id="toolbar">
<div class="no-select undoImg toolbarButton" id="undo-button">
<span class="tooltipText">undo <span class="hotkeyText">(Z)</span></span>
</div>
<div class="no-select redoImg toolbarButton" id="redo-button">
<span class="tooltipText">redo <span class="hotkeyText">(X)</span></span>
</div>
<div class="no-select pencilImg toolbarButton" id="pencil-button">
<span class="tooltipText"></span>
</div>
<div class="no-select fillImg toolbarButton" id="fill-button">
<span class="tooltipText"></span>
</div>
<div class="no-select eraserImg toolbarButton" id="eraser-button">
<span class="tooltipText"></span>
</div>
<div class="no-select selectionImg toolbarButton" id="selection-button">
<span class="tooltipText"></span>
</div>
<div class="no-select colorpickerImg toolbarButton" id="colorpicker-button">
<span class="tooltipText"></span>
</div>
<div class="no-select gridImg toolbarButton" id="grid-button">
<span class="tooltipText">grid <span class="hotkeyText">(G)</span></span>
</div>
<div class="no-select saveImg toolbarButton" id="save-button">
<span class="tooltipText">save</span>
</div>
<div id="popup-message" class="fadeOutAnimation"></div>
<div class="active_indicator active-color-preview" id="active-color-preview-1"></div>
<div class="active-color-preview" id="active-color-preview-2"></div>
<label id="active-color-label"></label>
</div>
<div id="canvas-div"></div>
<div id="palette-select">
<label class="container">
<span class="checkmark"></span>
<input type="radio" onclick="Select_Palette()" name="radio" class="radio" id="radioNES" checked>
NES
</label><br>
<label class="container">
<span class="checkmark"></span>
<input type="radio" onclick="Select_Palette()" name="radio" class="radio" id="radioGB">
Gameboy
</label>
</div>
<div class="palette" id="palette-div"></div>
<div class="palette" id="gameboy-palette-div"></div>
<label id="selection-explanation-text">
How to Copy <img class="imgInSelectionExplanation" src="img/selectionBright.png"></img> Selection: <b>hold down</b> <span>alt</span> and <b>drag</b> the selected area.
</label>
<div id="cursor-coords-display"></div>
<div id="keyboard-shortcut-hover" onmouseover="Display_Keyboard_Shortcuts()" onmouseleave="Hide_Keyboard_Shortcuts()">Shortcuts</div>
</div>
<div id="info-section">
<table id="keyboard-shortcuts">
<tr><td>Copy Selection</td><td>Alt + Click Drag</td></tr>
<tr><td>Delete Selection</td><td>Del or Backspace</td></tr>
<tr><td>Remove Selection</td><td>Esc</td></tr>
</table>
</div>
</body>
<script type="text/javascript" src="js/tools.js"></script>
<script type="text/javascript" src="js/palette.js"></script>
<script type="text/javascript" src="js/algo.js"></script>
<script type="text/javascript" src="js/historyStates.js"></script>
<script type="text/javascript" src="js/eventHandlers.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</html>