[squeak-dev] Morphic, Balloon, Scrollbar

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

[squeak-dev] Morphic, Balloon, Scrollbar

Bergel, Alexandre
Dear All,

I know some of you are morphic expert :-)
I am still on the quest to make Mondrian usuable in Squeak. The
situation is the following: I have a window having scrollbar, and I am
trying to render (using Balloon) on a canvas bigger than what the window
can actually display. Balloon seems to not be aware of the part of the
canvas being actually displayed. It simply try to render everything.
Is my guess right? Can anyone confirm please?
Is there a way to turn this on?

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Morphic, Balloon, Scrollbar

Bert Freudenberg

On 22.02.2009, at 12:51, Bergel, Alexandre wrote:

> Dear All,
>
> I know some of you are morphic expert :-)
> I am still on the quest to make Mondrian usuable in Squeak. The
> situation is the following: I have a window having scrollbar, and I am
> trying to render (using Balloon) on a canvas bigger than what the  
> window
> can actually display. Balloon seems to not be aware of the part of the
> canvas being actually displayed. It simply try to render everything.
> Is my guess right? Can anyone confirm please?
> Is there a way to turn this on?


Set the canvas's clip rectangle to the visible portion of your window  
(clipBy:during:).

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Morphic, Balloon, Scrollbar

Bergel, Alexandre
Thanks,
In the meantime, I discovered isVisible:

Thanks Bert,
Alexandre


On 22 Feb 2009, at 15:47, Bert Freudenberg wrote:

>
> On 22.02.2009, at 12:51, Bergel, Alexandre wrote:
>
>> Dear All,
>>
>> I know some of you are morphic expert :-)
>> I am still on the quest to make Mondrian usuable in Squeak. The
>> situation is the following: I have a window having scrollbar, and I  
>> am
>> trying to render (using Balloon) on a canvas bigger than what the  
>> window
>> can actually display. Balloon seems to not be aware of the part of  
>> the
>> canvas being actually displayed. It simply try to render everything.
>> Is my guess right? Can anyone confirm please?
>> Is there a way to turn this on?
>
>
> Set the canvas's clip rectangle to the visible portion of your  
> window (clipBy:during:).
>
> - Bert -
>
>
>

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.