2016-07-08 16:24 GMT+02:00 Martin Schreiber <[email protected]>:
> On Friday 08 July 2016 14:43:08 Krzysztof wrote:
>>
>> Sorry for delay. Attached demo. Just click on button. In dialog, OK
>> and CANCEL have cut bottom frame
>
> Please tray again with git master 72669b711dd2dff7a5b428b3ed69bd37f56cd651.

Fixed. Thanks.

How to get real color from for example cl_background? This code:

  writeln(hexStr(cl_background,6));
  setcolormapvalue(cl_background, $2E2E2E);
  writeln(hexStr(cl_background,6));

return map index:

  000005
  000005

Is there something like getcolormapvalue? So far I solved this by:

  r := colortorgb(cl_background);
  writeln(hexStr(rgbtocolor(r.red,r.green,r.blue),6));
  setcolormapvalue(cl_background, $2E2E2E);
  r := colortorgb(cl_background);
  writeln(hexStr(rgbtocolor(r.red,r.green,r.blue),6));

...but is there shorter wrapper?

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to