-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (62 loc) · 3.43 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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Pixel art</title>
<link rel="stylesheet" href="style/main.css">
<link rel="stylesheet" href="style/selectionCouleur.css">
<script src="modules/error.js"></script>
<script src="modules/math.js"></script>
<script src="modules/draw/coordinate.js"></script>
<script src="modules/draw/ColorType.js"></script>
<script src="modules/draw/Color.js"></script>
<script src="modules/draw/imageData.js"></script>
<script src="modules/draw/shapes.js"></script>
<script src="modules/draw/style.js"></script>
<script src="modules/draw/text.js"></script>
<script src="src/interface/dimensionsCanvas.js"></script>
<script src="src/interface/dimensionsSprite.js"></script>
<script src="src/interface/selectionCouleur.js"></script>
<script src="src/Sprite/PixelColors.js"></script>
<script src="src/Sprite/SpritePositionCalculator.js"></script>
<script src="src/Sprite/SpriteDataHandler.js"></script>
<script src="src/Sprite/SpritePixelColorHandler.js"></script>
<script src="src/Sprite/SpritePixelDrawer.js"></script>
<script src="src/Sprite/SpriteDrawer.js"></script>
<script src="src/Sprite/Sprite.js"></script>
<script src="src/interface/outilDessin/clear.js"></script>
<script src="src/interface/outilDessin/fill.js"></script>
<script src="src/interface/outilDessin/colorCustomize.js"></script>
<script src="src/initialisation.js"></script>
</head>
<body>
<canvas id="ecran" width="700" height="700">Le canvas ne s'est pas chargé, vérifiez la version de votre navigateur.</canvas>
<div id="settingsDiv">
<div id="settingsColor">
<button id="preselectionButtonBlue" class="selectionCouleurButton"><div class="apercuButtonCouleur" style="background-color: blue"></div></button>
<button id="preselectionButtonRed" class="selectionCouleurButton"><div class="apercuButtonCouleur" style="background-color: red"></div></button>
<button id="preselectionButtonGreen" class="selectionCouleurButton"><div class="apercuButtonCouleur" style="background-color: green"></div></button>
<button id="preselectionButtonYellow" class="selectionCouleurButton"><div class="apercuButtonCouleur" style="background-color: yellow"></div></button>
<button id="preselectionButtonBlack" class="selectionCouleurButton"><div class="apercuButtonCouleur" style="background-color: black"></div></button>
<button id="preselectionButtonWhite" class="selectionCouleurButton"><div class="apercuButtonCouleur" style="background-color: white"></div></button>
</div>
<div id="settingsCouleurPersonnalisee">
<input type="color" id="inputCouleurPersonnalisee" class="selectionCouleurButton">
</div>
<div id="settingsSpriteDimensionsDiv">
<input type="number" id="numberPixelLargeurInput" placeholder="nombre de pixels de largeur">
<input type="number" id="numberPixelHauteurInput" placeholder="nombre de pixels de hauteur">
<button id="validerDimensionsSpriteButton">Valider</button>
</div>
<div id="settingsCanvasDimensionsDiv">
<input type="number" id="largeurCanvasInput" placeholder="largeur">
<input type="number" id="hauteurCanvasInput" placeholder="hauteur">
<button id="validerDimensionsCanvasButton">Valider</button>
</div>
<div id="settingsCanvasDiv">
<button id="canvasClearButton">Tout effacer</button>
<button id="canvasFillButton">Remplir</button>
</div>
</div>
</body>
</html>