From 111e5ecefaad93b8f967c2cb94ebb160b1a1edee Mon Sep 17 00:00:00 2001 From: rsesek Date: Sat, 11 Dec 2010 18:05:01 +0000 Subject: [PATCH] Start drawing the color wheel with HTML5 canvas. git-svn-id: svn://depot/macosx/RGBConverter/trunk@632 ad1dcce9-c9fe-0310-b82b-83ea1733dbb0 --- RGB Converter.wdgt/Info.plist | 6 +- RGB Converter.wdgt/Widget.css | 4 +- RGB Converter.wdgt/Widget.html | 15 +++-- RGB Converter.wdgt/Widget.js | 107 +++++++++++++++++++++++++++++++-- 4 files changed, 113 insertions(+), 19 deletions(-) diff --git a/RGB Converter.wdgt/Info.plist b/RGB Converter.wdgt/Info.plist index 40d81e8..e1828c3 100644 --- a/RGB Converter.wdgt/Info.plist +++ b/RGB Converter.wdgt/Info.plist @@ -7,7 +7,7 @@ CFBundleDisplayName RGB Converter CFBundleIdentifier - org.bluestatic.rgbconverter + org.bluestatic.rgbconverter3 CFBundleShortVersionString 2.2 CFBundleVersion @@ -15,8 +15,8 @@ MainHTML Widget.html Width - 550 + 200 Height - 85 + 200 \ No newline at end of file diff --git a/RGB Converter.wdgt/Widget.css b/RGB Converter.wdgt/Widget.css index 75b0aa2..3e978c1 100644 --- a/RGB Converter.wdgt/Widget.css +++ b/RGB Converter.wdgt/Widget.css @@ -1,7 +1,7 @@ /*=====================================================================*\ || ################################################################### || # RGB Converter -|| # Copyright ©2002-2007 Blue Static +|| # Copyright (c)2002-2010 Blue Static || # || # This program is free software; you can redistribute it and/or modify || # it under the terms of the GNU General Public License as published by @@ -191,7 +191,7 @@ a #front { - display: block; + display: none; } #back diff --git a/RGB Converter.wdgt/Widget.html b/RGB Converter.wdgt/Widget.html index 096141a..9f01b36 100644 --- a/RGB Converter.wdgt/Widget.html +++ b/RGB Converter.wdgt/Widget.html @@ -2,7 +2,7 @@ /*=====================================================================*\ || ################################################################### || # RGB Converter -|| # Copyright ©2002-2007 Blue Static +|| # Copyright (c)2002-2010 Blue Static || # || # This program is free software; you can redistribute it and/or modify || # it under the terms of the GNU General Public License as published by @@ -25,16 +25,15 @@ RGB Conveter $Revision$ + + + - - -