aboutsummaryrefslogtreecommitdiff
path: root/js/tools/EyedropperTool.js
Commit message (Collapse)AuthorAge
* jshint cleanup on the tools directoryValerio Virgillito2012-07-24
| | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* BSD LicenseKris Kowal2012-07-09
|
* Expand tabsKris Kowal2012-07-06
|
* Update copyright boilerplateKris Kowal2012-07-06
|
* Fixing apply 'no color'Jose Antonio Marquez2012-06-15
| | | | This should fix canvas and standard DOM elements including the root (body or template wrapper).
* removing all model creators.Valerio Virgillito2012-06-05
| | | | | | The elementModel is now a getter that will create a new model when needed. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* Refactor creating elements. Removed makeNJElement and separated the model ↵Valerio Virgillito2012-05-03
| | | | | | creation Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* Simplifying the getElement method from stage and adding an exclusion list to ↵Valerio Virgillito2012-04-26
| | | | | | the new template Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* Check for webGLWorld before calling draw.Nivesh Rajbhandari2012-03-27
| | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Handle no-color/null.Nivesh Rajbhandari2012-03-26
| | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Updating EyeDropper tool to support new JSON data format for WebGL.Nivesh Rajbhandari2012-03-26
| | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Fixed element mediator, PI, and eye-dropper to handle different borders ↵Nivesh Rajbhandari2012-03-12
| | | | | | sides and gradients. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Eyedropper support for getting color value from webgl shapes.Nivesh Rajbhandari2012-03-09
| | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Eyedropper now supports strokes in rectangle shapes.Nivesh Rajbhandari2012-03-07
| | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Moved all color updating routines to a single function.Nivesh Rajbhandari2012-02-24
| | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Distinguish between border top/right/bottom/left colors. Also, fall back to ↵Nivesh Rajbhandari2012-02-24
| | | | | | snapping routine when selecting only if the active tool allows snapping. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Fixing eyedropper tool to get color from image data. This required us to ↵Nivesh Rajbhandari2012-02-22
| | | | | | workaround having inconsistent color object. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* Merge branch 'refs/heads/ninja-internal' into ToolFixesNivesh Rajbhandari2012-02-20
|\
| * Merged old FileIOJose Antonio Marquez2012-01-27
| |
* | Get color under mouse point from image or canvas.Nivesh Rajbhandari2012-02-14
| | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* | Get color from canvas and images.Nivesh Rajbhandari2012-02-14
| | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* | Check if eyedropper is over border or background.Nivesh Rajbhandari2012-02-13
| | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* | Fixed eyedropper tool to use new color routines.Nivesh Rajbhandari2012-02-13
|/ | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* First commit of Ninja to ninja-internalPierre Frisch2012-01-27
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>