topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-Webcolor.h / h



  
Appcelerator Titanium Mobile Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved. Licensed under the terms of the Apache Public License Please see the LICENSE included with this distribution for details. WARNING: This is generated code. Modify at your own risk and without support.

  
  
  #import <UIKit/UIKit.h>
  
  @interface Webcolor : NSObject
  {
  }
  
  +(UIColor*)checkmarkColor;
  +(UIColor*)webColorNamed:(NSString*)colorName;
  +(UIColor*)colorForRGBFunction:(NSString*)functionString;
  +(UIColor*)colorForHex:(NSString*)hexCode;
  +(void)flushCache;
  +(BOOL)isDarkColor:(UIColor*)color;
  
  @end
  
  define RGBCOLOR(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]
  define RGBACOLOR(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
  
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.