2016-12-31 10:00:57 -05:00
|
|
|
<html>
|
|
|
|
<head>
|
2017-11-04 19:59:11 -04:00
|
|
|
<script type="text/javascript" src="scripts/pos.js"></script>
|
|
|
|
<script type="text/javascript" src="scripts/path_line.js"></script>
|
|
|
|
<script type="text/javascript" src="scripts/path_arc.js"></script>
|
|
|
|
<script type="text/javascript" src="scripts/path_bezier.js"></script>
|
2017-11-05 00:33:04 -04:00
|
|
|
<script type="text/javascript" src="scripts/path_close.js"></script>
|
2016-12-31 10:00:57 -05:00
|
|
|
<script type="text/javascript" src="scripts/dotgrid.js"></script>
|
2016-12-31 12:37:10 -05:00
|
|
|
<script type="text/javascript" src="scripts/keyboard.js"></script>
|
2017-11-09 14:47:06 -05:00
|
|
|
<script type="text/javascript" src="scripts/guide.js"></script>
|
|
|
|
<script type="text/javascript" src="scripts/render.js"></script>
|
2017-11-06 21:10:09 -05:00
|
|
|
<script type="text/javascript" src="scripts/theme.js"></script>
|
2016-12-31 10:00:57 -05:00
|
|
|
<link rel="stylesheet" type="text/css" href="links/reset.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="links/fonts.css"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="links/main.css"/>
|
2017-01-04 12:51:45 -05:00
|
|
|
<title>Dotgrid(Icon)</title>
|
2016-12-31 10:00:57 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-01-04 12:48:08 -05:00
|
|
|
<script>
|
2017-11-05 19:22:37 -05:00
|
|
|
const {dialog,app} = require('electron').remote;
|
|
|
|
const fs = require('fs');
|
2017-11-04 21:06:00 -04:00
|
|
|
|
2017-11-13 14:45:31 -05:00
|
|
|
dotgrid = new Dotgrid(300,300,20,20,4,4, 10,"square","#000000");
|
2017-01-04 12:48:08 -05:00
|
|
|
dotgrid.install();
|
2017-11-05 19:18:57 -05:00
|
|
|
|
2017-01-04 12:48:08 -05:00
|
|
|
var keyboard = new Keyboard();
|
2017-11-05 19:18:57 -05:00
|
|
|
|
2017-11-13 14:45:31 -05:00
|
|
|
document.onkeyup = function myFunction(event){ keyboard.listen(event); };
|
2017-01-04 12:48:08 -05:00
|
|
|
document.addEventListener('mousedown', function(e){ dotgrid.mouse_down(e); }, false);
|
|
|
|
document.addEventListener('mousemove', function(e){ dotgrid.mouse_move(e); }, false);
|
|
|
|
document.addEventListener('mouseup', function(e){ dotgrid.mouse_up(e);}, false);
|
|
|
|
</script>
|
2016-12-31 10:00:57 -05:00
|
|
|
</body>
|
|
|
|
</html>
|