Ophir LOJKINE
aebd2ef973
improve display on mobile. There is still much to do...
vor 12 Jahren
Ophir LOJKINE
a582ef4e18
Replace jscolor by a homemade color picker.
It is called canvascolor, and it's based on HTML5 canvas (we don't care, we don't target old browsers).
Advantages over jscolor:
- has color history (previously choosed colors are displayed)
- more beautiful
- way smaller ~1KB when minified and gzipped. (It's not gzipped yet)
- Works on fixed input elements (CSS position:fixed)
However:
- Not every color can be choosen graphically. In HSV, only colors with S=1 are displayed.
- Not tested on mobile (but it should work), not responsive to touch events.
vor 12 Jahren
Ophir LOJKINE
2257ba473a
Add tool icons
vor 12 Jahren
Ophir LOJKINE
43eb94e48f
Bug correction: message hooks should be applied to children messages too
vor 12 Jahren
Ophir LOJKINE
0ed94cb1d2
Put the GUI change in Tools.change in a try {...} statement.
This circumvents a bug in IE9, where classList is not implemented.
vor 12 Jahren
Ophir LOJKINE
5690bd3cf0
Improve board architecture. Correct several bugs, including messages being drawn twice, and messages not being drawn at all.
vor 12 Jahren
Ophir LOJKINE
fd35a486b8
Rework the way the server stores data to make it handle updates and deletions more intelligentlty.
Some work was done on the client-side too, and board loading should now be much faster.
vor 12 Jahren
Ophir LOJKINE
54dcfa9c0c
Correct feature detection for performance.now polyfill.
That should fix wbo on android native browser, which has a window.performance object, but does not implement performance.now()
vor 12 Jahren
Ophir LOJKINE
31bbe268f4
Include jscolor color picker.
vor 12 Jahren
Ophir LOJKINE
7506eb27b6
JSHint corrections
vor 12 Jahren
Ophir LOJKINE
0d536ae380
Make chronological UIDs.
vor 12 Jahren
Ophir LOJKINE
f88592d235
Update the pencil tool to make beautiful smooth paths (with bezier curves) instead of polylines.
vor 12 Jahren
Ophir LOJKINE
9dd08e656a
Load jscolor only if the browser doesn't support <input type='color'>
vor 12 Jahren
Ophir LOJKINE
c34c141b8e
Add a true color picker (jscolor from jscolor.com)
vor 12 Jahren
Ophir LOJKINE
5bdf54782b
Support touch events. That's the beginning of mobile devices support...
Currently, support is far from being satisfying.
vor 12 Jahren
Ophir LOJKINE
3b04f31630
resizeCanvas() : Refinement in constants
vor 12 Jahren
Ophir LOJKINE
671411c62e
Make the canvas grow faster, so that it really feels like its infinite.
vor 12 Jahren
Ophir LOJKINE
b276a7f1e7
Custom mouse cursors for every tools
vor 12 Jahren
Ophir LOJKINE
33826bc11b
Add header info
vor 12 Jahren
Ophir LOJKINE
1728d5863b
Add licensing information to javascript files.
vor 12 Jahren
lovasoa
dec8335992
Add a polyfill for performance.now
vor 12 Jahren
Ophir LOJKINE
28bc5d25c9
Upload to nodejitsu. Fix HTML.
vor 12 Jahren
Ophir LOJKINE
6888c33e49
GUI improvements:
Make a beautiful tool menu.
Choose a standard font for the text tool: Arial.
vor 12 Jahren
Ophir LOJKINE
b557375a08
Improve tool architecture, and add a new tool, to write text.
vor 12 Jahren
Ophir LOJKINE
3601154abf
Bug corrections and improvements
vor 12 Jahren
Ophir LOJKINE
ea00e86965
Small optimization.
vor 12 Jahren
Ophir LOJKINE
16b781598b
Small bug fix. (curTool instead of Tools.curTool)
vor 12 Jahren
Ophir LOJKINE
91493d0b92
Apply tool hooks. Fix typo (ev instead of evt).
vor 12 Jahren
Ophir LOJKINE
bfba4e606e
Select the pencil by default.
vor 12 Jahren
Ophir LOJKINE
bfc3d87c61
Change the moment when the start and quit callbacks are called.
vor 12 Jahren
Ophir LOJKINE
f83eeca13e
Work on pencil
vor 12 Jahren
Ophir LOJKINE
3696a2183b
Improve overall tool architecture. Create the first tool: pencil.
vor 12 Jahren
Ophir LOJKINE
350a91939b
Improve UI. Add GUI logic to board.js.
vor 12 Jahren
Ophir LOJKINE
7b4b5e24bc
Add a better infrastructure, in order to prepare the introduction of new modules (called "tools").
vor 12 Jahren