projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0d45c
)
Roo/lib/Color.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 9 Feb 2012 05:53:27 +0000
(13:53 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 9 Feb 2012 05:53:27 +0000
(13:53 +0800)
Roo/lib/Color.js
patch
|
blob
|
history
diff --git
a/Roo/lib/Color.js
b/Roo/lib/Color.js
index
1a4f6fb
..
73b3064
100644
(file)
--- a/
Roo/lib/Color.js
+++ b/
Roo/lib/Color.js
@@
-196,6
+196,15
@@
Roo.lib.Colour = function(){
node.style.backgroundColor = this.getCSSHexadecimalRGB();
};
+
+ this.toRGB()
+ {
+ var r = this.getIntegerRGB();
+ return new Roo.lib.RGBColour(r.r,r,g,r,b,r.a);
+
+ }
+
+
}