[squeak-dev] Seaside and/or SqueakSource question
David T. Lewis
lewis at mail.msen.com
Tue Dec 10 02:24:30 UTC 2013
On Mon, Dec 09, 2013 at 01:59:06PM +0100, Bal??zs K??si wrote:
> Hi Dave,
>
> The thing ultimately responsible for displaying "Squeak Development" at the
> top of the squeaksource page is the SSGenericFrame's class instance
> variable named Logo, and you can change it with SSGenericFrame >> makeLogo:
>
> I've discovered this via the following steps:
>
> Opened up squeaksource.com with chrome, right-clicked on "Squeak
> Development" and selected "Inspect Element" from the context menu.
>
> It shows that the responsible part for displaying "Squeak Development" in
> the html is the <div id="top">...</div> tag, and that
> it has a background css property associated via its id: #top { ...
> background: url("/@k9MDSLXvXkJLBWh5") ... }
>
> I've loaded SqueakSource-bf.1066 into an image, and looked for the string
> '#top'. This popped up the SSGenericFrame >> renderStyleTopOn: method. I've
> followed through the message sends, and finally arrived at the Logo class
> instance variable.
>
Hi Bal??zs,
Brilliant! Thank you. I feel like I'm debugging in a hall of mirrors, but
I think you have pointed me in the right direction.
I looks like the Logo class instance variable contains a cached MIMEDocument
that was created from a JPEG file that someone made with the "SqueakSource"
text and a nice blue graphic background. I do not have the original file, but
it looks like I can recreate it from the data stored in the MIMEDocument.
I will see if I can extract this graphic and use it to update the image on
the squeaksource.com server.
Much appreciated,
Dave
More information about the Squeak-dev
mailing list
|