U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Look and Chameleon Technology » Manual for custom Chameleonized Ctrls
Re: Manual for custom Chameleonized Ctrls [message #27100 is a reply to message #27093] Fri, 25 June 2010 13:57 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
kohait00 wrote on Fri, 25 June 2010 06:38


i mean the ChPaint functions expect a value, what is part of it (its 4 images or so, what do they mean..



The beauty and cornerstone of ChPaint and Chameleon is that ChPaint expects Value... and can be extended w.r.t. Value types it is able to render.

There are two basic types supported directly in Draw: Color and Image. Image has "hotspots" logic to define inteligent scaling.

You can extend recognized types using ChLookFn. This way, e.g. XP chameleon registers its internal Value type "XpElement" and is able to use XP style rendering system to render Values from Styles...

Mirek

[Updated on: Fri, 25 June 2010 13:58]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: RichEdit crashes with BlueBar
Next Topic: FIX: proper use of Style in Ctrls from CtrlLib
Goto Forum:
  


Current Time: Wed Sep 16 22:57:11 GMT+2 2026

Total time taken to generate the page: 0.01439 seconds