OSDN Git Service

colors.RGB.fromCOLORREF: support a standard python int, as well as a COLORREF ctypes...
authorMichael Curran <mick@kulgan.net>
Thu, 16 Sep 2010 05:57:57 +0000 (15:57 +1000)
committerMichael Curran <mick@kulgan.net>
Thu, 16 Sep 2010 05:57:57 +0000 (15:57 +1000)
commit3ce69f27b13295c9d4e82c9afa0e0a7f2be76304
tree41b5c2d8f67aefece74c5bc6397cf01999fe7f38
parent9e7c0cbc605b1e4469e9f54b613c192333f83b27
colors.RGB.fromCOLORREF: support a standard python int, as well as a COLORREF ctypes instance. Also fix an error where  the value was being shifted the wrong way.
source/colors.py