>> One problem is in the toolbar buttons that used to show system colours,
>> so black on grey controls would show orange on black in my system.
>> (Works for me, especially given that another black, for statictext,
>> shows as white on black, so I get more immediate info from the display...)
>> In the new wxLua, the bitmaps are rendered exactly as I made them. A look
>> at the documentation suggests this maybe should not be so, and it certainly
>> worked ok in wxLua v2.54.

>I'm not sure I understand, the bitmaps are rendered exactly as you
>would see them in a image viewer? This is good, right?

Yes, if it's to be shown as such. :) But in MSW, a button with black on grey
(C0C0C0) is considered as using system colours. In my scheme those would
change to match the rest of the system, as happened with wxLua v2.54. If
the same bitmap were rendered as a static bitmap, then the colours would
be literal. I can always specify exact colours, but then they might look
wrong on a control in a standard scheme, or on another platform.

I'm not sure how Windows decides these things, but I guess it either breaks
if a nonstandard palette is used, or it detects the right 16 colour type.
For example, 16 colour icons can take any colour in the palette so long as
the black, white, and the transparent and inverse transparent colours are
as intended. Very odd stuff results if that's not done right.

Colour rules like those are very often broken. A vast number of web designers
and program designers specify foregrounds and not backgrounds at same time,
resulting in illegible dialogs and so forth. I have found this to be a good
guide to the rigour of coding, at times. wxLua has it well, apart from the
button bitmaps. They used to work, so they could work again. I mentioned
CreateTools() only because I wondered if that might have been used to make
it work, though it wasn't part of my original DX7-Edit code either.



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to