Commit graph

167 commits

Author SHA1 Message Date
Jürg Lehni
7cd749e63d Change all documentation to new convention of defining @class outside injection scope, fix some comments and a few errors with examples. 2011-06-22 23:56:05 +01:00
Jürg Lehni
266c78f4eb Add a bit more documentation to the Color owner stuff. 2011-06-20 17:00:11 +01:00
Jürg Lehni
08571fd399 Add comments. 2011-06-20 00:03:15 +01:00
Jürg Lehni
3a232b305e Implement _changed() mechanism in Color, by having Colors know which items they are defining styles for, through an internal _owners list. 2011-06-20 00:00:02 +01:00
Jürg Lehni
bf627d9d9c Remove all beans: true settings. 2011-06-19 18:54:41 +01:00
Jürg Lehni
3226147e00 Use a version of Bootstrap that always produces beans and remove all beans: true instructions. 2011-06-17 18:42:29 +01:00
Jürg Lehni
2ec34512d1 Ignore all documentation that caused warnings about leakage. 2011-06-14 23:02:34 +01:00
Jürg Lehni
401c4d5dc4 Rearrange @constructor documentation sequence. 2011-06-14 23:01:35 +01:00
Jürg Lehni
ffa79f4fd1 Clean up white spaces in comments. 2011-06-14 22:59:45 +01:00
Jonathan Puckey
e23ac6809b Color docs: add class introduction and examples. 2011-06-13 17:13:23 +02:00
Jonathan Puckey
68193d8a98 Documentation: Add examples to RGBColor / GrayColor / HSBColor constructors. 2011-06-10 14:12:33 +02:00
Jonathan Puckey
1bca7f4795 Adjust GradientColor example. 2011-06-09 23:27:11 +02:00
Jonathan Puckey
a880396d26 Add example code to GradientColor & GradientStop. 2011-06-09 23:21:06 +02:00
Jonathan Puckey
a96b272f7a Documentation edits. 2011-06-04 15:50:29 +02:00
Jürg Lehni
a1cbd53e23 Use modulo again in hsb conversion. 2011-06-02 15:33:46 +01:00
Jürg Lehni
9be8c154b7 Clean up code. 2011-06-02 09:34:10 +01:00
Jürg Lehni
1c886c125c Make HSB converters private again in Color, and shorten code. 2011-06-02 09:34:02 +01:00
Jürg Lehni
0e3ed65206 Go back to old luminescence values since the new ones produces to large values occasionally. 2011-06-02 09:05:23 +01:00
Jürg Lehni
a1d3b1a167 Rename and shorten RGB/HSB converters. 2011-06-02 00:19:00 +01:00
Jürg Lehni
3a310f19cc Directly access inner property. 2011-06-02 00:16:28 +01:00
Jürg Lehni
7dbda50431 Use more precise values for luminescence calculation. 2011-06-02 00:15:32 +01:00
Jürg Lehni
6558574980 Clean up code. 2011-06-01 20:23:20 +01:00
Jürg Lehni
ad8f046880 Expose HSB converters since they are required in BlendMode 2011-06-01 20:21:08 +01:00
Jürg Lehni
05a01604ca Shorten css code. 2011-06-01 20:20:50 +01:00
Jürg Lehni
29967153c3 Clean up TODO comments... 2011-06-01 10:49:43 +01:00
Jonathan Puckey
2b8f1b71ec Documentation: use inline code tags for boolean and number values, 2011-05-31 14:28:42 +02:00
Jonathan Puckey
6892608ecd Documentation: rename 'Sample Code:' to 'Example:' 2011-05-30 19:55:40 +02:00
Jonathan Puckey
17fcb923ff Documentation: rearrange @example tags, improve examples, rename boolean -> Boolean and misc smaller edits. 2011-05-30 19:42:17 +02:00
Jürg Lehni
9d00541987 Clean up PORT comments. 2011-05-29 19:20:10 +01:00
Jonathan Puckey
d644bbaa09 Documentation: Add optional alpha parameter to the different color constructors. 2011-05-28 02:29:08 +02:00
Jonathan Puckey
1520cad144 Documentation: capitalize basic types in @ tags. 2011-05-27 21:21:49 +02:00
Jonathan Puckey
2d5007dcd9 Implement Color documentation. 2011-05-27 21:13:39 +02:00
Jonathan Puckey
8e84c79aa6 Documentation: capitalize 'string' and 'number' types. 2011-05-27 20:15:15 +02:00
Jonathan Puckey
4015b022ad Docs: use @true tag in boolean return descriptions and add Key.isDown param options. 2011-05-27 18:43:27 +02:00
Jürg Lehni
397d3676ed Merge remote-tracking branch 'origin/master' 2011-05-26 21:00:05 +01:00
Jonathan Puckey
6b611add37 More documentation edits and function reordering. 2011-05-26 20:09:25 +02:00
Jürg Lehni
ddf3670952 Fix / remove some comments. 2011-05-26 12:04:47 +01:00
Jürg Lehni
d2263b26db No need to check argument for _colorType since Color.read already performs an instanceof check for us. 2011-05-26 09:20:58 +01:00
Jürg Lehni
4fbc462a96 Shorten local 'colorType' variable to 'type'. 2011-05-26 08:40:07 +01:00
Jürg Lehni
300ea72261 Simplify Color#initialize() by relying on #convert() for performing _colorType check and delegate to #clone() instead of #convert() if it is the same. 2011-05-26 08:39:21 +01:00
Jürg Lehni
bfcfb23a9e Shorten Color#clone() further. 2011-05-26 08:36:56 +01:00
Jonathan Puckey
020cbbcef5 Implement Gradient / GradientColor / GradientStop docs. 2011-05-26 00:55:44 +02:00
Jonathan Puckey
f2e01a8837 Color: Rename variable name due to conflict. 2011-05-21 17:56:54 +02:00
Jonathan Puckey
81558cb54f Avoid double lookup of component key. 2011-05-21 17:49:54 +02:00
Jonathan Puckey
f3deed81cd Optimize Color#initialize for minifying. 2011-05-21 17:40:29 +02:00
Jonathan Puckey
f83d16906c Clone the color when calling Color#convert with the same color type. 2011-05-21 17:37:36 +02:00
Jonathan Puckey
e5034a5a76 Color#clone: don't initialize when calling 'new this.constructor'. 2011-05-21 17:35:37 +02:00
Jonathan Puckey
024e8eb19b Fix Color cloning by adding clone function and using it in Color#initialize. 2011-05-21 17:13:25 +02:00
Jonathan Puckey
46b1311260 Gradient#equals: also check gradient type. 2011-05-21 12:06:37 +02:00
Jonathan Puckey
d8b73f3671 Fix GradientColor#clone(). 2011-05-21 12:06:01 +02:00