commit | 5b5c1aa6385a5788bd84de9bca489dc8f36498a0 | [log] [tgz] |
---|---|---|
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Mar 12 11:13:38 2009 |
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Mar 12 11:13:38 2009 |
tree | 9e9a9bd6749d48c169704a99255c4feb0c9d08d0 | |
parent | a529c4a1c154cba3bcd6cd990cee9797f6922eb9 [diff] |
Add a GDK_COLOR_RGB macro for constructing GdkColors. This does the simple math of * 257 to map from a 1 byte component to the gint16 GdkColor values, and initializes the pixel field to 0. Review URL: http://codereview.chromium.org/43077 git-svn-id: svn://svn.chromium.org/chrome/trunk@11526 0039d316-1c4b-4281-b951-d872f2087c98