Changeset 2394 in Sophya for trunk/SophyaPI/PI/pigraphx.cc
- Timestamp:
- May 30, 2003, 5:55:03 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/pigraphx.cc
r2258 r2394 863 863 if ( XAllocNamedColor (mdsp, cmap, "DarkViolet", &mycol, &exact) ) 864 864 colpix[PI_DarkViolet] = mycol.pixel; 865 866 mycol.red = 0; 867 mycol.blue = 65000; 868 mycol.green = 45000; 865 if ( XAllocNamedColor (mdsp, cmap, "SkyBlue", &mycol, &exact) ) 866 colpix[PI_SkyBlue] = mycol.pixel; 867 if ( XAllocNamedColor (mdsp, cmap, "RoyalBlue", &mycol, &exact) ) 868 colpix[PI_RoyalBlue] = mycol.pixel; 869 if ( XAllocNamedColor (mdsp, cmap, "ForestGreen", &mycol, &exact) ) 870 colpix[PI_ForestGreen] = mycol.pixel; 871 if ( XAllocNamedColor (mdsp, cmap, "OrangeRed", &mycol, &exact) ) 872 colpix[PI_OrangeRed] = mycol.pixel; 873 if ( XAllocNamedColor (mdsp, cmap, "brown", &mycol, &exact) ) 874 colpix[PI_Brown] = mycol.pixel; 875 876 mycol.red = 39000; 877 mycol.blue = 65535; 878 mycol.green = 49000; 869 879 if ( XAllocColor (mdsp, cmap, &mycol) ) colpix[PI_HighlightBlue] = mycol.pixel; 870 880
Note:
See TracChangeset
for help on using the changeset viewer.