World Graphics and Halos

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

Re: World Graphics and Halos

Gary Chambers-4
Bitter experience!

Regards, Gary
----- Original Message -----
Sent: Tuesday, March 17, 2009 11:49 AM
Subject: Re: [Pharo-project] World Graphics and Halos

How do you guys KNOW this stuff???!

Rob

2009/3/17 Gary Chambers <[hidden email]>
Try this one ;-)


Regards, Gary

----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, March 17, 2009 10:19 AM

Subject: Re: [Pharo-project] World Graphics and Halos


do you have a nice little cs :)

Stef

On Mar 17, 2009, at 11:09 AM, Gary Chambers wrote:

If we are going to use the optimised general case in Morph (a valid
thing to do given the default drawOn: implementation) then I guess
we need to check all implementors of drawOn: to do a proper
areasRemainingToFill: if they are not standard and have non-opaque
regions.

Changing HaloMorph>>defaultColor to answer Color transparent fixes
this one... In fact, for HaloMorph, #borderWidth should be overriden
with the showBoundsInHalo/World logic and #defaultBorderColor to
return Preferences menuSelectionColor. #drawOn: can then be removed.

Regards, Gary
----- Original Message -----
From: Rob Rothwell
To: [hidden email]
Sent: Monday, March 16, 2009 7:39 PM
Subject: Re: [Pharo-project] World Graphics and Halos

Yes...

Preferences resetHaloSpecifications "works," but notice that when
selecting a "plain old" Morph (like Morph new), it is overwritten by
the background color...

Rob

On Mon, Mar 16, 2009 at 3:20 PM, Stéphane Ducasse <[hidden email]
> wrote:
Ok I got it and I opened an issue.

Stef

On Mar 16, 2009, at 11:52 AM, Gary Chambers wrote:

> Not one of mine...
> The halo item in question is the addPaintBgdHandle which is still
> present in
> the images but removed.
> Preferences resetHaloSpecifications needs to be invoked.
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Monday, March 16, 2009 10:12 AM
> Subject: Re: [Pharo-project] World Graphics and Halos
>
>
>> Once you arrive to a fix point
>> let me know what I should integrate.
>> Stef
>>
>> On Mar 15, 2009, at 12:24 PM, Gary Chambers wrote:
>>
>>> I noticed the halo problem in the dev image too. Resetting the
halo

>>> specs is needed since one has been removed...
>>>
>>> Regards, Gary
>>> ----- Original Message -----
>>> From: Rob Rothwell
>>> To: [hidden email]
>>> Sent: Saturday, March 14, 2009 11:35 PM
>>> Subject: Re: [Pharo-project] World Graphics and Halos
>>>
>>> Yep...that seemed to fix it!
>>>
>>> Now if I could just figure out how to remove a Morph from the
World

>>> without Halos!
>>>
>>> If I do System->About it is so big now that it won't all fit on my
>>> screen, so I can't reach the ok button to close it and I am stuck
>>> with it!
>>>
>>> Rob
>>>
>>> On Sat, Mar 14, 2009 at 7:11 PM, Henrik Sperre Johansen
>>> <[hidden email]
>>>> wrote:
>>> Attached a .cs to the issue with a fix, also including the
solution

>>> Gary suggested for the taskbar-issue that was reported.
>>> (I don't know how to remove methods in .cs files, and haven't yet
>>> gotten around to learn how to make slices, so
>>> BorderedMorph>>areasRemainingToFill: would have to be removed by
>>> hand..)
>>>
>>> Cheers,
>>> Henry
>>>
>>> On 14.03.2009 22:04, Rob Rothwell wrote:
>>>>
>>>> Done.
>>>>
>>>> Issues 655
>>>>
>>>> On Mar 14, 2009, at 8:14 PM, Rob Rothwell wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Open up a 10250 dev image and click anywhere within the bounds
of

>>>>> the "Pharo" graphic.
>>>>>
>>>>> The world menu pops up and leaves part of itself behind when you
>>>>> click somewhere else on the screen.
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
project

>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
project

>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: World Graphics and Halos

Rob Rothwell
Well...it worked!

Steph...do you need any/all of the changes that have been put out packaged up? I am thinking of the SketchMorphRepainting, and the HaloMorphRefactoring...

There was also a PluggableTextMorph-scrollSelectionIntoView from a week or more ago that scrolls the editor when you try to highlight beyond the size of the window...

Take care,

Rob

2009/3/17 Gary Chambers <[hidden email]>
Bitter experience!

Regards, Gary
----- Original Message -----
Sent: Tuesday, March 17, 2009 11:49 AM
Subject: Re: [Pharo-project] World Graphics and Halos

How do you guys KNOW this stuff???!

Rob

2009/3/17 Gary Chambers <[hidden email]>
Try this one ;-)


Regards, Gary

----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, March 17, 2009 10:19 AM

Subject: Re: [Pharo-project] World Graphics and Halos


do you have a nice little cs :)

Stef

On Mar 17, 2009, at 11:09 AM, Gary Chambers wrote:

If we are going to use the optimised general case in Morph (a valid
thing to do given the default drawOn: implementation) then I guess
we need to check all implementors of drawOn: to do a proper
areasRemainingToFill: if they are not standard and have non-opaque
regions.

Changing HaloMorph>>defaultColor to answer Color transparent fixes
this one... In fact, for HaloMorph, #borderWidth should be overriden
with the showBoundsInHalo/World logic and #defaultBorderColor to
return Preferences menuSelectionColor. #drawOn: can then be removed.

Regards, Gary
----- Original Message -----
From: Rob Rothwell
To: [hidden email]
Sent: Monday, March 16, 2009 7:39 PM
Subject: Re: [Pharo-project] World Graphics and Halos

Yes...

Preferences resetHaloSpecifications "works," but notice that when
selecting a "plain old" Morph (like Morph new), it is overwritten by
the background color...

Rob

On Mon, Mar 16, 2009 at 3:20 PM, Stéphane Ducasse <[hidden email]
> wrote:
Ok I got it and I opened an issue.

Stef

On Mar 16, 2009, at 11:52 AM, Gary Chambers wrote:

> Not one of mine...
> The halo item in question is the addPaintBgdHandle which is still
> present in
> the images but removed.
> Preferences resetHaloSpecifications needs to be invoked.
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Stéphane Ducasse" <[hidden email]>
> To: <[hidden email]>
> Sent: Monday, March 16, 2009 10:12 AM

> Subject: Re: [Pharo-project] World Graphics and Halos
>
>
>> Once you arrive to a fix point
>> let me know what I should integrate.
>> Stef
>>
>> On Mar 15, 2009, at 12:24 PM, Gary Chambers wrote:
>>
>>> I noticed the halo problem in the dev image too. Resetting the
halo

>>> specs is needed since one has been removed...
>>>
>>> Regards, Gary
>>> ----- Original Message -----
>>> From: Rob Rothwell
>>> To: [hidden email]
>>> Sent: Saturday, March 14, 2009 11:35 PM
>>> Subject: Re: [Pharo-project] World Graphics and Halos
>>>
>>> Yep...that seemed to fix it!
>>>
>>> Now if I could just figure out how to remove a Morph from the
World

>>> without Halos!
>>>
>>> If I do System->About it is so big now that it won't all fit on my
>>> screen, so I can't reach the ok button to close it and I am stuck
>>> with it!
>>>
>>> Rob
>>>
>>> On Sat, Mar 14, 2009 at 7:11 PM, Henrik Sperre Johansen
>>> <[hidden email]
>>>> wrote:
>>> Attached a .cs to the issue with a fix, also including the
solution

>>> Gary suggested for the taskbar-issue that was reported.
>>> (I don't know how to remove methods in .cs files, and haven't yet
>>> gotten around to learn how to make slices, so
>>> BorderedMorph>>areasRemainingToFill: would have to be removed by
>>> hand..)
>>>
>>> Cheers,
>>> Henry
>>>
>>> On 14.03.2009 22:04, Rob Rothwell wrote:
>>>>
>>>> Done.
>>>>
>>>> Issues 655
>>>>
>>>> On Mar 14, 2009, at 8:14 PM, Rob Rothwell wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Open up a 10250 dev image and click anywhere within the bounds
of

>>>>> the "Pharo" graphic.
>>>>>
>>>>> The world menu pops up and leaves part of itself behind when you
>>>>> click somewhere else on the screen.
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
project
>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: World Graphics and Halos

Stéphane Ducasse
I need anything that improves the system.
I was planning to integrate the changes gary just sent and after try  
to do a closure release.

Stef

On Mar 17, 2009, at 3:26 PM, Rob Rothwell wrote:

> Well...it worked!
>
> Steph...do you need any/all of the changes that have been put out  
> packaged up? I am thinking of the SketchMorphRepainting, and the  
> HaloMorphRefactoring...
>
> There was also a PluggableTextMorph-scrollSelectionIntoView from a  
> week or more ago that scrolls the editor when you try to highlight  
> beyond the size of the window...
>
> Take care,
>
> Rob
>
> 2009/3/17 Gary Chambers <[hidden email]>
> Bitter experience!
>
> Regards, Gary
> ----- Original Message -----
> From: Rob Rothwell
> To: [hidden email]
> Sent: Tuesday, March 17, 2009 11:49 AM
> Subject: Re: [Pharo-project] World Graphics and Halos
>
> How do you guys KNOW this stuff???!
>
> Rob
>
> 2009/3/17 Gary Chambers <[hidden email]>
> Try this one ;-)
>
>
> Regards, Gary
>
> ----- Original Message ----- From: "Stéphane Ducasse" <[hidden email]
> >
> To: <[hidden email]>
> Sent: Tuesday, March 17, 2009 10:19 AM
>
> Subject: Re: [Pharo-project] World Graphics and Halos
>
>
> do you have a nice little cs :)
>
> Stef
>
> On Mar 17, 2009, at 11:09 AM, Gary Chambers wrote:
>
> If we are going to use the optimised general case in Morph (a valid
> thing to do given the default drawOn: implementation) then I guess
> we need to check all implementors of drawOn: to do a proper
> areasRemainingToFill: if they are not standard and have non-opaque
> regions.
>
> Changing HaloMorph>>defaultColor to answer Color transparent fixes
> this one... In fact, for HaloMorph, #borderWidth should be overriden
> with the showBoundsInHalo/World logic and #defaultBorderColor to
> return Preferences menuSelectionColor. #drawOn: can then be removed.
>
> Regards, Gary
> ----- Original Message -----
> From: Rob Rothwell
> To: [hidden email]
> Sent: Monday, March 16, 2009 7:39 PM
> Subject: Re: [Pharo-project] World Graphics and Halos
>
> Yes...
>
> Preferences resetHaloSpecifications "works," but notice that when
> selecting a "plain old" Morph (like Morph new), it is overwritten by
> the background color...
>
> Rob
>
> On Mon, Mar 16, 2009 at 3:20 PM, Stéphane Ducasse <[hidden email]
> > wrote:
> Ok I got it and I opened an issue.
>
> Stef
>
> On Mar 16, 2009, at 11:52 AM, Gary Chambers wrote:
>
> > Not one of mine...
> > The halo item in question is the addPaintBgdHandle which is still
> > present in
> > the images but removed.
> > Preferences resetHaloSpecifications needs to be invoked.
> >
> > Regards, Gary
> >
> > ----- Original Message -----
> > From: "Stéphane Ducasse" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Monday, March 16, 2009 10:12 AM
> > Subject: Re: [Pharo-project] World Graphics and Halos
> >
> >
> >> Once you arrive to a fix point
> >> let me know what I should integrate.
> >> Stef
> >>
> >> On Mar 15, 2009, at 12:24 PM, Gary Chambers wrote:
> >>
> >>> I noticed the halo problem in the dev image too. Resetting the
> halo
> >>> specs is needed since one has been removed...
> >>>
> >>> Regards, Gary
> >>> ----- Original Message -----
> >>> From: Rob Rothwell
> >>> To: [hidden email]
> >>> Sent: Saturday, March 14, 2009 11:35 PM
> >>> Subject: Re: [Pharo-project] World Graphics and Halos
> >>>
> >>> Yep...that seemed to fix it!
> >>>
> >>> Now if I could just figure out how to remove a Morph from the
> World
> >>> without Halos!
> >>>
> >>> If I do System->About it is so big now that it won't all fit on my
> >>> screen, so I can't reach the ok button to close it and I am stuck
> >>> with it!
> >>>
> >>> Rob
> >>>
> >>> On Sat, Mar 14, 2009 at 7:11 PM, Henrik Sperre Johansen
> >>> <[hidden email]
> >>>> wrote:
> >>> Attached a .cs to the issue with a fix, also including the
> solution
> >>> Gary suggested for the taskbar-issue that was reported.
> >>> (I don't know how to remove methods in .cs files, and haven't yet
> >>> gotten around to learn how to make slices, so
> >>> BorderedMorph>>areasRemainingToFill: would have to be removed by
> >>> hand..)
> >>>
> >>> Cheers,
> >>> Henry
> >>>
> >>> On 14.03.2009 22:04, Rob Rothwell wrote:
> >>>>
> >>>> Done.
> >>>>
> >>>> Issues 655
> >>>>
> >>>> On Mar 14, 2009, at 8:14 PM, Rob Rothwell wrote:
> >>>>
> >>>>> Hi all,
> >>>>>
> >>>>> Open up a 10250 dev image and click anywhere within the bounds
> of
> >>>>> the "Pharo" graphic.
> >>>>>
> >>>>> The world menu pops up and leaves part of itself behind when you
> >>>>> click somewhere else on the screen.
> >>>
> >>>
> >>> _______________________________________________
> >>> Pharo-project mailing list
> >>> [hidden email]
> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> project
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Pharo-project mailing list
> >>> [hidden email]
> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
> >>> Pharo-project mailing list
> >>> [hidden email]
> >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
> project
> >>
> >>
> >> _______________________________________________
> >> Pharo-project mailing list
> >> [hidden email]
> >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [hidden email]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
12