forked from cs4241-22a/a4-creative-coding
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (51 loc) · 1.89 KB
/
index.html
File metadata and controls
53 lines (51 loc) · 1.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>XP.css example</title>
<meta charset="UTF-8" />
<!-- Windows XP Theme (include only one theme at a time) -->
<link rel="stylesheet" href="https://unpkg.com/xp.css" />
</head>
<body style="background-color: darkgray;">
<container>
<div class="window" style="width: 1000px; height: 600px; float: left;">
<div class="title-bar">
<div class="title-bar-text">A SIMPLE DRAWING APP</div>
<div class="title-bar-controls">
<button aria-label="Minimize"></button>
<button aria-label="Maximize"></button>
<button aria-label="Close"></button>
</div>
</div>
<div class="window-body">
<div class="drawing-board">
<canvas id="drawing-board"></canvas>
</div>
</div>
</div>
<div class="window" style="width: 500px; float: right;">
<div class="title-bar">
<div class="title-bar-text">USER CONTROLS</div>
<div class="title-bar-controls">
<button aria-label="Close"></button>
</div>
</div>
<div class="window-body">
<div class="field-row" style="width: 300px;">
<label for="range25">Background Brightness:</label>
<label for="backSlide">Dark</label>
<input id="backSlide" type="range" min="1" max="7" value="4" step="1"/>
<label for="range27">Light</label>
</div>
<div class="field-row" style="width: 300px;">
<label for="range25">Canvas Background Brightness:</label>
<label for="canvasSlide">Dark</label>
<input id="canvasSlide" type="range" min="2" max="7" value="7" step="1"/>
<label for="range27">Light</label>
</div>
</div>
</div>
</container>
<script src="./draw.js"></script>
</body>
</html>