Book morph UI question

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

Book morph UI question

vaidasd
Hello,
Why 'more controls' button in the Book morph has '3' as its title?
regards,
Vaidotas

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
jrm
Reply | Threaded
Open this post in threaded view
|

Re: Book morph UI question

jrm
Hello Vaidotas,

You will have to ask the developer (yo 1/14/2005 19:25). It is defined this way in the method #fullControlSpecs in the class #BooklikeMorph. It is the #ByteString value 179.I guess that it is an artifact of some changes that have been made over the years.

I am still learning Squeak. I discovered this by searching for the string in the control's help bubble, 'More Controls'.

Note: On Win 7 the behavior is different than it it on Mac OS! On Win the character changes when I mouse it, On Mac, it does not.

Hopes this helps!

jrm

On Fri, Aug 11, 2017 at 4:31 AM, Vaidotas Didžbalis <[hidden email]> wrote:
Hello,
Why 'more controls' button in the Book morph has '3' as its title?
regards,
Vaidotas

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Book morph UI question

Yoshiki Ohshima-3
On Mon, Sep 4, 2017 at 1:54 PM, John-Reed Maffeo <[hidden email]> wrote:
> Hello Vaidotas,
>
> You will have to ask the developer (yo 1/14/2005 19:25). It is defined this
> way in the method #fullControlSpecs in the class #BooklikeMorph. It is the
> #ByteString value 179.I guess that it is an artifact of some changes that
> have been made over the years.

Traditionally BookMorph title bar uses ◊, since when the internal
encoding of the system was MacRoman.  The character is called
"Lozenge".

When we changed the internal encoding to Unicode and I remember hand
editing some of the fonts.  I can't really remember what was going on.
It is a bit funky that the code point is 179 yet showing Lozenge (i.e.
the Accuny font has that glyphs at 179).  From 3.8 and later versions,
the code was carried over but now the default font uses Latin-1
encoding, and code point 179 is shown ad upper script three.

>
> I am still learning Squeak. I discovered this by searching for the string in
> the control's help bubble, 'More Controls'.
>
> Note: On Win 7 the behavior is different than it it on Mac OS! On Win the
> character changes when I mouse it, On Mac, it does not.
>
> Hopes this helps!
>
> jrm
>
> On Fri, Aug 11, 2017 at 4:31 AM, Vaidotas Didžbalis <[hidden email]>
> wrote:
>>
>> Hello,
>> Why 'more controls' button in the Book morph has '3' as its title?
>> regards,
>> Vaidotas
>>
>> _______________________________________________
>> Beginners mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


--
-- Yoshiki

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

lozenge.png (38K) Download Attachment
jrm
Reply | Threaded
Open this post in threaded view
|

Re: Book morph UI question

jrm
Yoshiki,

Thanks for your prompt reply! I don't understand the inner workings of fonts in Squeak but am happy to know that my guess was correct. 

- jrm

On Tue, Sep 5, 2017 at 10:17 AM, Yoshiki Ohshima <[hidden email]> wrote:
On Mon, Sep 4, 2017 at 1:54 PM, John-Reed Maffeo <[hidden email]> wrote:
> Hello Vaidotas,
>
> You will have to ask the developer (yo 1/14/2005 19:25). It is defined this
> way in the method #fullControlSpecs in the class #BooklikeMorph. It is the
> #ByteString value 179.I guess that it is an artifact of some changes that
> have been made over the years.

Traditionally BookMorph title bar uses ◊, since when the internal
encoding of the system was MacRoman.  The character is called
"Lozenge".

When we changed the internal encoding to Unicode and I remember hand
editing some of the fonts.  I can't really remember what was going on.
It is a bit funky that the code point is 179 yet showing Lozenge (i.e.
the Accuny font has that glyphs at 179).  From 3.8 and later versions,
the code was carried over but now the default font uses Latin-1
encoding, and code point 179 is shown ad upper script three.

>
> I am still learning Squeak. I discovered this by searching for the string in
> the control's help bubble, 'More Controls'.
>
> Note: On Win 7 the behavior is different than it it on Mac OS! On Win the
> character changes when I mouse it, On Mac, it does not.
>
> Hopes this helps!
>
> jrm
>
> On Fri, Aug 11, 2017 at 4:31 AM, Vaidotas Didžbalis <[hidden email]>
> wrote:
>>
>> Hello,
>> Why 'more controls' button in the Book morph has '3' as its title?
>> regards,
>> Vaidotas
>>
>> _______________________________________________
>> Beginners mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>>
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>



--
-- Yoshiki

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners



_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners