Implemented the new Color Bucket tool in PaintWeb.
commitc4c6a1bf1e7ed8b8c42424127607b6c870b44c0d
authorMihai Sucan <mihai.sucan@gmail.com>
Sun, 8 Nov 2009 18:42:49 +0000 (8 20:42 +0200)
committerMihai Sucan <mihai.sucan@gmail.com>
Mon, 16 Nov 2009 17:06:03 +0000 (16 19:06 +0200)
treea9638956a375d3f02764515ad88f1da9bfd72f68
parent29dfa29cad6dff3c90038fbe6eeff3c083a43b8a
Implemented the new Color Bucket tool in PaintWeb.

- Updated the default PaintWeb configuration to include the new color bucket
tool. Updated the Moodle configuration file as well.
- Updated the default Makefile configuration to include the new color bucket
tool.
- Fixed a bug in the interface script - it caused failure when registering tools
which were not in the interface layout.
- Using the new mozImageSmoothingEnabled added in Gecko 1.9.2 for the Canvas 2D
context. This disables the smooth scaling of the Canvas element on the OLPC XO.
- Updated the English localization file to include the new strings for the color
bucket tool.
- Included the PaintWeb database hook into the set_field_select() function of
the lib/dmllib.php script. I missed this function in my previous commit. Thanks
to Martin Langhoff for pointing it out!
18 files changed:
lang/en_utf8/paintweb.php
lib/dmllib.php
lib/paintweb/CHANGES
lib/paintweb/build/config-example.json
lib/paintweb/build/interfaces/default/style.css
lib/paintweb/build/lang/en.json
lib/paintweb/build/paintweb.js
lib/paintweb/build/paintweb.src.js
lib/paintweb/config-default.mk
lib/paintweb/ext/moodle/config.json
lib/paintweb/src/config-example.json
lib/paintweb/src/interfaces/default/icons/cbucket.png [new file with mode: 0755]
lib/paintweb/src/interfaces/default/layout.xhtml
lib/paintweb/src/interfaces/default/script.js
lib/paintweb/src/interfaces/default/style.css
lib/paintweb/src/lang/en.json
lib/paintweb/src/paintweb.js
lib/paintweb/src/tools/cbucket.js [new file with mode: 0644]