#Pane enabling
20-Jul-93 21:57:29
Sb: #7032-#Pane enabling
Fm: David Jokinen 70713,1603
To: Baiss E. Magnusson 73230,3225
>>>Anybody have a generalized piece of code for drawing dis-abled panes in
gray?"<<<
I've worked on the "greyed-out" (Canadian spelling) problem a great deal. I
find the TCL very short on colour features. For example:
– CPaneBorder would be a great way to draw grey and coloured borders,
if only it supported PixPats instead of Pats.
– CStdPopupPane should use the 'grayishTextOr' transfer mode to
display a deactivated, un-popped-up menu. It would benefit
automatically from the change to CPaneBorder.
– There should be a CIcnPane class to handle the drawing of the whole
ICN# familly.
– CWindow should support 'wctb' resources
– CDLOGDialog should support 'dctb' resources
I've implemented changes to these and many other areas under TCL 1.1.2, but it
cost me a great deal of grief when converting to TCL 1.1.3. There's really no
easy and portable way to make changes like this yourself. They really should be
implemented by Symantec.
It would be no big deal to handle non-color-quickdraw Macs. The TCL would just
check Gestalt to choose the correct technique where necessary. When you
consider the thousands of programs built on the TCL, it makes much more sense
for Symantec to add simple features like this than each of us to add them a
thousand times.