1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Nicer rust code

This commit is contained in:
Emil Ernerfeldt
2018-12-24 00:15:18 +01:00
parent 2e2e7a7839
commit 6755a90734
7 changed files with 153 additions and 53 deletions

View File

@@ -2,7 +2,7 @@
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head>
<title>Gui Experiment</title>
<title>Emgui A experiment in an Immediate Mode GUI written in Rust</title>
<style>
html {
@@ -11,9 +11,9 @@
}
body {
background: #111111;
background: #000000;
color: #bbbbbb;
max-width: 480px;
max-width: 1024px;
margin: auto;
}
</style>
@@ -38,7 +38,7 @@
<script src="frontend.js" type="module"></script>
<!-- TODO: make this cover the entire screen, with resize and all -->
<canvas id="canvas" width="480" height="800"></canvas>
<canvas id="canvas" width="1024" height="768"></canvas>
</body>
</html>