<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2014-09-19 21:02 GMT+08:00 GOUJON Alexandre <span dir="ltr"><<a href="mailto:ale.goujon@gmail.com" target="_blank">ale.goujon@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <div>On 09/19/2014 02:14 PM, Shuai Meng
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr"><span>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">+ 
                total = color[0] + 256 * color[1] + 256 * 256 *
              color[2];<br>
            </blockquote>
            <br>
            RGB() macro does the same thing.<br>
            <br>
          </blockquote>
        </span>
        <div>I don't quite understand this line..will you explain it in
          detail please? </div>
      </div>
    </blockquote></span>
    See <a href="http://source.winehq.org/source/include/wingdi.h#0434" target="_blank">http://source.winehq.org/source/include/wingdi.h#0434</a><br>
    So total = color[0] + 256 * color[1] + 256*256*color[2] is the same
    as total = RGB(color[0], color[1], color[2])<br></div></blockquote><div>Thank you, I have found  that. </div></div><br></div></div>