2014-02-01 18:18:29 +00:00
|
|
|
<!DOCTYPE html>
|
2014-02-09 16:11:39 +00:00
|
|
|
<html manifest='cache.appcache'>
|
2014-02-01 18:18:29 +00:00
|
|
|
|
|
|
|
<head>
|
2014-02-07 12:50:47 +00:00
|
|
|
<title>Sketchy</title>
|
2014-02-01 18:18:29 +00:00
|
|
|
<meta charset='UTF-8'>
|
2014-02-07 13:35:43 +00:00
|
|
|
<meta name="viewport" content="width=device-width user-scalable=no initial-scale=1">
|
2014-02-09 15:38:14 +00:00
|
|
|
<link rel='stylesheet' href='css/main.css'>
|
2014-02-04 15:02:41 +00:00
|
|
|
<script src='js/libs/mobilebrowsers.js'></script>
|
2014-02-01 18:18:29 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<header>
|
2014-02-04 15:02:41 +00:00
|
|
|
<button class='menu'></button>
|
|
|
|
<span class='separator long left menu'></span>
|
|
|
|
<p id='title'>Sketchy</p>
|
|
|
|
<button class='save'></button>
|
|
|
|
<span class='separator small right'></span>
|
2014-02-09 15:38:14 +00:00
|
|
|
<button class='load'></button>
|
2014-02-01 18:18:29 +00:00
|
|
|
</header>
|
|
|
|
|
2014-02-02 20:16:28 +00:00
|
|
|
<div id='container'>
|
|
|
|
<canvas></canvas>
|
|
|
|
<canvas></canvas>
|
|
|
|
</div>
|
2014-02-16 14:30:45 +00:00
|
|
|
|
2014-02-04 15:02:41 +00:00
|
|
|
<div id='menu'>
|
|
|
|
<div class='options'>
|
2014-02-16 14:30:45 +00:00
|
|
|
<p class='icon-settings'>Settings</p>
|
2014-02-04 15:02:41 +00:00
|
|
|
<div class='general'>
|
|
|
|
<button id='settype'>Brush Type<span>Sketch</span></button>
|
|
|
|
<button id='setcolor'>Color<span>#000000</span></button>
|
2014-02-16 14:30:45 +00:00
|
|
|
<button id='setbg'>Background<span>#ffffff</span></button>
|
2014-02-04 15:02:41 +00:00
|
|
|
<p id='lineWidth'>Line Width <span>2</span></p>
|
2014-02-05 13:02:07 +00:00
|
|
|
<div role="slider" class='lineWidth'>
|
2014-02-04 15:02:41 +00:00
|
|
|
<div>
|
2014-02-05 13:02:07 +00:00
|
|
|
<progress value="2" min="1" max="100"></progress>
|
|
|
|
<button style='left: 2%'>handler</button>
|
2014-02-04 15:02:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-02-05 13:02:07 +00:00
|
|
|
<br />
|
|
|
|
<hr>
|
|
|
|
<div class='sketch'>
|
|
|
|
<p class='icon-settings'>Sketch</p>
|
|
|
|
<p id='connectTelorance'>Connet Telorance<span>40</span></p>
|
|
|
|
<div role="slider" class='connectTelorance'>
|
|
|
|
<div>
|
|
|
|
<progress value="40" min="1" max="100"></progress>
|
|
|
|
<button style='left: 40%'>handler</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='fur hidden'>
|
|
|
|
<p class='icon-settings'>Fur</p>
|
|
|
|
<p id='connectTelorance'>Connet Telorance<span>40</span></p>
|
|
|
|
<div role="slider" class='connectTelorance'>
|
|
|
|
<div>
|
|
|
|
<progress value="40" min="10" max="100"></progress>
|
|
|
|
<button style='left: 40%'>handler</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-02-16 15:32:11 +00:00
|
|
|
<p id='furLength'>Fur Length<span>50</span></p>
|
2014-02-05 13:02:07 +00:00
|
|
|
<div role="slider" class='furLength'>
|
|
|
|
<div>
|
2014-02-16 15:32:11 +00:00
|
|
|
<progress value="50" min="1" max="100"></progress>
|
|
|
|
<button style='left: 50%'>handler</button>
|
2014-02-05 13:02:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-02-12 10:23:31 +00:00
|
|
|
|
2014-02-16 14:30:45 +00:00
|
|
|
<div class='line hidden'>
|
2014-02-16 15:26:47 +00:00
|
|
|
<button id='setlineJoin'>Line Join<span>Round</span></button>
|
|
|
|
<button id='setlineCap'>Line Cap<span>Round</span></button>
|
|
|
|
|
2014-02-16 14:30:45 +00:00
|
|
|
<p class='fill'>Fill<span>No</span></p>
|
|
|
|
<p class='stroke'>Stroke<span>Yes</span></p>
|
|
|
|
</div>
|
|
|
|
|
2014-02-12 10:23:31 +00:00
|
|
|
<div class='shape hidden'>
|
|
|
|
<p class='icon-settings'>Shape</p>
|
|
|
|
<button id='setshape'>Type<span>Circle</span></button>
|
2014-02-16 14:30:45 +00:00
|
|
|
<p class='fill'>Fill<span>No</span></p>
|
|
|
|
<p class='stroke'>Stroke<span>Yes</span></p>
|
2014-02-12 10:23:31 +00:00
|
|
|
<div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-02-05 13:02:07 +00:00
|
|
|
</div>
|
|
|
|
<div class='bottom'>
|
|
|
|
<button id='clear' class='icon-clear'>Clear</button>
|
|
|
|
<button id='undo' class='icon-undo'>Undo</button>
|
|
|
|
<button id='redo' class='icon-redo'>Redo</button>
|
2014-02-07 12:20:19 +00:00
|
|
|
<hr>
|
|
|
|
<button id='about'>About</button>
|
2014-02-04 15:02:41 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-02-05 13:02:07 +00:00
|
|
|
<form role='dialog' data-type='value-selector' id='type' class='hidden single'>
|
2014-02-04 15:02:41 +00:00
|
|
|
<section class='scrollable'>
|
|
|
|
<h1>Brush Type</h1>
|
|
|
|
<ol role='listbox'>
|
2014-02-12 10:23:31 +00:00
|
|
|
<li aria-selected='true' data-target='sketch'><label><span>Sketch</span></label></li>
|
|
|
|
<li data-target='fur'><label><span>Fur</span></label></li>
|
|
|
|
<li data-target='pencil'><label><span>Pencil</span></label></li>
|
|
|
|
<li data-target='line'><label><span>Line</span></label></li>
|
|
|
|
<li data-target='shape'><label><span>Shape</span></label></li>
|
2014-02-06 20:39:42 +00:00
|
|
|
<!--<li><label><span>Eraser</span></label></li>-->
|
2014-02-04 15:02:41 +00:00
|
|
|
</ol>
|
|
|
|
</section>
|
|
|
|
<menu>
|
|
|
|
<button class='affirmative full'>Cancel</button>
|
|
|
|
</menu>
|
|
|
|
</form>
|
|
|
|
|
2014-02-05 13:02:07 +00:00
|
|
|
<form role='dialog' data-type='value-selector' id='lineJoin' class='hidden single'>
|
2014-02-04 15:02:41 +00:00
|
|
|
<section class='scrollable'>
|
|
|
|
<h1>Line Join</h1>
|
|
|
|
<ol role='listbox'>
|
2014-02-05 13:02:07 +00:00
|
|
|
<li aria-selected='true'><label><span>Round</span></label></li>
|
|
|
|
<li><label><span>Bevel</span></label></li>
|
|
|
|
<li><label><span>Miter</span></label></li>
|
2014-02-04 15:02:41 +00:00
|
|
|
</ol>
|
|
|
|
</section>
|
|
|
|
<menu>
|
|
|
|
<button class='affirmative full'>Cancel</button>
|
|
|
|
</menu>
|
|
|
|
</form>
|
|
|
|
|
2014-02-05 13:02:07 +00:00
|
|
|
<form role='dialog' data-type='value-selector' id='lineCap' class='hidden single'>
|
2014-02-04 15:02:41 +00:00
|
|
|
<section class='scrollable'>
|
|
|
|
<h1>Line Cap</h1>
|
|
|
|
<ol role='listbox'>
|
2014-02-05 13:02:07 +00:00
|
|
|
<li aria-selected='true'><label><span>Round</span></label></li>
|
|
|
|
<li><label><span>Square</span></label></li>
|
|
|
|
<li><label><span>Butt</span></label></li>
|
2014-02-04 15:02:41 +00:00
|
|
|
</ol>
|
|
|
|
</section>
|
|
|
|
<menu>
|
|
|
|
<button class='affirmative full'>Cancel</button>
|
|
|
|
</menu>
|
|
|
|
</form>
|
|
|
|
|
2014-02-12 10:23:31 +00:00
|
|
|
<form role='dialog' data-type='value-selector' id='shape' class='hidden single'>
|
|
|
|
<section class='scrollable'>
|
|
|
|
<h1>Shape Type</h1>
|
|
|
|
<ol role='listbox'>
|
|
|
|
<li aria-selected='true' data-target='shape'><label><span>Circle</span></label></li>
|
|
|
|
<li data-target='shape'><label><span>Rectangle</span></label></li>
|
|
|
|
<li data-target='shape'><label><span>Square</span></label></li>
|
|
|
|
<li data-target='shape'><label><span>Triangle</span></label></li>
|
|
|
|
</ol>
|
|
|
|
<menu>
|
|
|
|
<button class='affirmative full'>Cancel</button>
|
|
|
|
</menu>
|
|
|
|
</section>
|
|
|
|
</form>
|
|
|
|
|
2014-02-05 13:02:07 +00:00
|
|
|
<form role='dialog' data-type='value-selector' id='save' class='hidden confirm'>
|
|
|
|
<section class='scrollable'>
|
|
|
|
<h1>Save</h1>
|
2014-02-09 15:38:14 +00:00
|
|
|
<h1>Type</h1>
|
|
|
|
<ol role='listbox'>
|
|
|
|
<li id='exp' aria-selected='true'><label><span>Export to Image</span></label></li>
|
|
|
|
<li id='pro'><label><span>Sketchy Project</span></label></li>
|
|
|
|
</ol>
|
2014-02-05 13:02:07 +00:00
|
|
|
<h1>Background</h1>
|
|
|
|
<ol role='listbox'>
|
|
|
|
<li aria-selected='true'><label><span>White</span></label></li>
|
|
|
|
<li><label><span>Current Color</span></label></li>
|
|
|
|
<li><label><span>Transparent</span></label></li>
|
|
|
|
</ol>
|
2014-02-09 15:38:14 +00:00
|
|
|
<h1>File Name</h1>
|
|
|
|
<ol role='listbox'>
|
|
|
|
<li aria-selected='true' data-input><label><span contenteditable>My Sketch</span></label></li>
|
|
|
|
</ol>
|
2014-02-07 14:00:34 +00:00
|
|
|
<br>
|
2014-02-09 15:38:14 +00:00
|
|
|
<span class='special'>Note: You must disable pop-up blocker to save your sketch.</span>
|
2014-02-05 13:02:07 +00:00
|
|
|
</section>
|
|
|
|
<menu>
|
|
|
|
<button class='affirmative' type='button'>Cancel</button>
|
|
|
|
<button class='affirmative' type='button'>Save</button>
|
|
|
|
</menu>
|
|
|
|
</form>
|
|
|
|
|
2014-02-09 15:38:14 +00:00
|
|
|
<form role='dialog' data-type='value-selector' id='load' class='hidden confirm'>
|
|
|
|
<section class='scrollable'>
|
|
|
|
<h1>Load</h1>
|
|
|
|
<h1 class='hidden'>file</h1>
|
|
|
|
<ol role='listbox'>
|
|
|
|
</ol>
|
|
|
|
</section>
|
|
|
|
<menu>
|
|
|
|
<button class='affirmative' type='button'>Cancel</button>
|
|
|
|
<button class='affirmative' type='button'>Load</button>
|
|
|
|
</menu>
|
|
|
|
</form>
|
|
|
|
|
2014-02-05 13:02:07 +00:00
|
|
|
|
|
|
|
<!-- COLOR PICKER -->
|
|
|
|
<div class='picker overlay hidden'>
|
|
|
|
<div class='color-picker'>
|
|
|
|
<input value='Hex' class='format' type='hidden' selected>
|
|
|
|
<input class='color' val='#000000'>
|
|
|
|
<div class="spectrum">
|
|
|
|
<div>
|
|
|
|
<div class="pin"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<input class="luminosity" type="range" min="0" max="100" />
|
|
|
|
</div>
|
2014-02-07 12:20:19 +00:00
|
|
|
<button class='close'>x</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='about overlay hidden'>
|
|
|
|
<p>Sketchy</p>
|
|
|
|
<span>Sketchy is a free sketch / paint application for Firefox OS.</span>
|
|
|
|
<p>Developer</p>
|
|
|
|
<span>Sketchy was found by Mahdi Dibaiee. More info: <a href='http://about.me/mdibaiee'>About.me</a>
|
|
|
|
<br><br>
|
|
|
|
Contact: <br>
|
2014-02-16 14:30:45 +00:00
|
|
|
<a href='https://twitter.com/mdibaiee'>Twitter</a> •
|
2014-02-07 12:20:19 +00:00
|
|
|
<a href='mailto:mdibaiee@aol.com'>Email</a>
|
|
|
|
<br><br>
|
2014-02-07 12:27:23 +00:00
|
|
|
<a href='http://mdibaiee.github.io/Sketchy/changelog.html'>Changelog</a>
|
2014-02-07 12:20:19 +00:00
|
|
|
</span>
|
|
|
|
<button class='close'>x</button>
|
2014-02-05 13:02:07 +00:00
|
|
|
</div>
|
2014-02-16 14:30:45 +00:00
|
|
|
|
|
|
|
<div class='tour overlay hidden'>
|
|
|
|
<p>Tips</p>
|
|
|
|
<span>Hey! Let me give you some tips to help you along the way,</span><br /><br />
|
|
|
|
<span>To finish a line, hold your finger for 1 second on mobile, or double click on desktop.</span><br />
|
|
|
|
<span>Line join, fill / stroke are applied when the line is finished.</span><br /><br />
|
|
|
|
<span>If you found something missing, please get in touch with us.</span>
|
|
|
|
<button class='button'>Gotcha!</button>
|
|
|
|
<button class='close'>x</button>
|
|
|
|
</div>
|
2014-02-05 13:02:07 +00:00
|
|
|
|
2014-02-07 12:37:34 +00:00
|
|
|
<!-- PRELOADER -->
|
|
|
|
<div class='hidden'>
|
2014-02-09 15:38:14 +00:00
|
|
|
<img src='css/value_selector/images/ui/pattern.png'>
|
|
|
|
<img src='css/value_selector/images/ui/gradient.png'>
|
|
|
|
<img src='css/value_selector/images/ui/shadow.png'>
|
|
|
|
<img src='css/value_selector/images/ui/shadow-invert.png'>
|
|
|
|
<img src='css/value_selector/images/icons/checked.png'>
|
|
|
|
<img src='css/value_selector/images/ui/default.png'>
|
|
|
|
<img src='css/value_selector/images/ui/affirmative.png'>
|
2014-02-07 12:37:34 +00:00
|
|
|
</div>
|
|
|
|
|
2014-02-04 15:02:41 +00:00
|
|
|
<script src='js/libs/yepnope.min.js'></script>
|
2014-02-01 18:18:29 +00:00
|
|
|
<script src='js/libs/zepto.min.js'></script>
|
|
|
|
<script src='js/functions.js'></script>
|
|
|
|
<script src='js/main.js'></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|