Searched refs:ColorDB (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Tools/pynche/ |
D | Main.py | 54 import ColorDB 100 except ColorDB.BadColor: 102 r, g, b = ColorDB.rrggbb_to_triplet(s) 103 except ColorDB.BadColor: 138 colordb = ColorDB.get_colordb(dbfile)
|
D | pyColorChooser.py | 6 import ColorDB 32 colordb = ColorDB.get_colordb(dbfile) 66 except ColorDB.BadColor: 69 name = ColorDB.triplet_to_rrggbb(rgbtuple)
|
D | ListViewer.py | 19 import ColorDB 77 exactcolor = ColorDB.triplet_to_rrggbb(colordb.find_byname(name)) 119 red, green, blue = ColorDB.rrggbb_to_triplet(t) 146 colortag = ColorDB.triplet_to_rrggbb((red, green, blue)) 153 except ColorDB.BadColor:
|
D | ChipViewer.py | 17 import ColorDB 107 rrggbb = ColorDB.triplet_to_rrggbb(rgbtuple) 111 nearest_rrggbb = ColorDB.triplet_to_rrggbb(nearest_tuple) 129 red, green, blue = ColorDB.rrggbb_to_triplet(rrggbb)
|
D | TextViewer.py | 19 import ColorDB 156 red, green, blue = ColorDB.rrggbb_to_triplet(color) 157 except ColorDB.BadColor: 164 colorname = ColorDB.triplet_to_rrggbb((red, green, blue))
|
D | ColorDB.py | 38 class ColorDB: class 139 class RGBColorDB(ColorDB): 144 class HTML40DB(ColorDB): 156 class WebsafeDB(ColorDB):
|
D | StripViewer.py | 28 import ColorDB 248 red, green, blue = ColorDB.rrggbb_to_triplet(color) 283 brightness = ColorDB.triplet_to_brightness(rgbtuple) 299 rrggbb = ColorDB.triplet_to_rrggbb(t)
|
D | PyncheWidget.py | 12 import ColorDB 181 colordb = ColorDB.get_colordb(file)
|