Creating a part without an underlying form?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Creating a part without an underlying form?

Richard Sargent
Administrator
It seems to me this question has been asked before, but if it has, I couldn't find the answer.

I would like to create a composite part which doesn't have its own Form (as that blocks anything it overlays). Think of an empty picture frame: you can hold it front of anything and see through it. An acceptable alternative would be the ability to subclass a Form such that it is transparent not only to parts beneath it but to window events, mouse clicks, and so on.

For those who are wondering, I am trying to mimic something found in the VisualWorks version of our product. Rewriting that product's UI is not impossible, but definitely undesirable.


Thanks,
Richard

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Creating a part without an underlying form?

Instantiations mailing list
Hi Richard,

I know this issue. It seems as if every UI built with the editor tools has AbtForms "between" each part layer.
Whenever I work with openGL, DrawingAreas and such I need to use m own subclass of Abt/CwForm that won't redraw it's background on a refresh. Those default Forms are the reason why all the drawing code within VAST flicker.

I can't recall if a CwForm is actually really needed but the easiest way indeed is subclassing all FormClasses in all layers and remove the behavior you do not need/like.

Maybe you can also check for a pure Cw-Layer implementation. I think forms are not always used there.
But I might be wrong with this one.

Sebastian
 


Am 18.07.2014 14:38, schrieb Richard Sargent:
It seems to me this question has been asked before, but if it has, I couldn't find the answer.

I would like to create a composite part which doesn't have its own Form (as that blocks anything it overlays). Think of an empty picture frame: you can hold it front of anything and see through it. An acceptable alternative would be the ability to subclass a Form such that it is transparent not only to parts beneath it but to window events, mouse clicks, and so on.

For those who are wondering, I am trying to mimic something found in the VisualWorks version of our product. Rewriting that product's UI is not impossible, but definitely undesirable.


Thanks,
Richard

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Creating a part without an underlying form?

Richard Sargent
Administrator
On Friday, July 18, 2014 9:45:27 PM UTC-7, Sebastian Heidbrink wrote:
I know this issue. It seems as if every UI built with the editor tools has AbtForms "between" each part layer.
Whenever I work with openGL, DrawingAreas and such I need to use m own subclass of Abt/CwForm that won't redraw it's background on a refresh. Those default Forms are the reason why all the drawing code within VAST flicker. 


Hi Sebastian,

Do you have some example code you would be willing to share?


Thanks,
Richard
 

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.