Changeset 2394 in Sophya for trunk/SophyaPI/PI/pigraphx.cc


Ignore:
Timestamp:
May 30, 2003, 5:55:03 PM (22 years ago)
Author:
ansari
Message:

Ameliorations diverses dans le decodage des options graphiques - Ajout nouvelles couleurs et HighLight en bleu - Reza 30/05/03

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pigraphx.cc

    r2258 r2394  
    863863if ( XAllocNamedColor (mdsp, cmap, "DarkViolet", &mycol, &exact) )
    864864  colpix[PI_DarkViolet] = mycol.pixel;
    865 
    866 mycol.red = 0;
    867 mycol.blue = 65000;
    868 mycol.green = 45000;
     865if ( XAllocNamedColor (mdsp, cmap, "SkyBlue", &mycol, &exact) )
     866  colpix[PI_SkyBlue] = mycol.pixel;
     867if ( XAllocNamedColor (mdsp, cmap, "RoyalBlue", &mycol, &exact) )
     868  colpix[PI_RoyalBlue] = mycol.pixel;
     869if ( XAllocNamedColor (mdsp, cmap, "ForestGreen", &mycol, &exact) )
     870  colpix[PI_ForestGreen] = mycol.pixel;
     871if ( XAllocNamedColor (mdsp, cmap, "OrangeRed", &mycol, &exact) )
     872  colpix[PI_OrangeRed] = mycol.pixel;
     873if ( XAllocNamedColor (mdsp, cmap, "brown", &mycol, &exact) )
     874  colpix[PI_Brown] = mycol.pixel;
     875
     876mycol.red = 39000;
     877mycol.blue = 65535;
     878mycol.green = 49000;
    869879if ( XAllocColor (mdsp, cmap, &mycol) )  colpix[PI_HighlightBlue] = mycol.pixel;
    870880
Note: See TracChangeset for help on using the changeset viewer.