Subversion Repositories tpanel

Rev

Rev 231 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 231 Rev 289
Line 53... Line 53...
53
        static COLOR_T splitColors(PDATA_T& pd);
53
        static COLOR_T splitColors(PDATA_T& pd);
54
        static SkColor getSkiaColor(const std::string& color);
54
        static SkColor getSkiaColor(const std::string& color);
55
        static ulong getColor(const std::string& color);
55
        static ulong getColor(const std::string& color);
56
        static std::string colorToString(ulong color);
56
        static std::string colorToString(ulong color);
57
        static std::string colorToString(SkColor color);
57
        static std::string colorToString(SkColor color);
-
 
58
        static std::string colorToString(COLOR_T color);
58
        static std::vector<SkColor> colorRange(SkColor col, int width, int bandwidth, DIRECTION_t dir);
59
        static std::vector<SkColor> colorRange(SkColor col, int width, int bandwidth, DIRECTION_t dir);
59
        static bool isValidAMXcolor(const std::string& color);
60
        static bool isValidAMXcolor(const std::string& color);
60
 
61
 
61
        static int getRed(ulong color) { return ((color >> 24) & 0x000000ff); }
62
        static int getRed(ulong color) { return ((color >> 24) & 0x000000ff); }
62
        static SkColor getRed(SkColor color) { return SkColorGetR(color); }
63
        static SkColor getRed(SkColor color) { return SkColorGetR(color); }