[UI] Re: Fwd: Workspace backgrounds - almost there

Gary Chambers gazzaguru2 at btinternet.com
Mon Oct 1 14:54:29 UTC 2007


And if you want Shout workspaces to do the same add this also to
PluggableShoutMorph instance methods:

initialColorInSystemWindow: aSystemWindow
	"Answer the default colour for shout morphs as a top-level
	pane in a system window."

	^self defaultColor

> -----Original Message-----
> From: ui-bounces at lists.squeakfoundation.org 
> [mailto:ui-bounces at lists.squeakfoundation.org] On Behalf Of 
> Gary Chambers
> Sent: 01 October 2007 11:21 am
> To: 'Squeak's User Interface'
> Subject: RE: [UI] Re: Fwd: Workspace backgrounds - almost there
> 
> 
> These things are tricky. I support, in Widgets, an overridable
> #initialColorInSystemWindow: method. Sadly the shout editor 
> is embedded in an alignment morph so it is hard to driectly 
> target the colour to the shout morph without having a blanket 
> colour for all alignments say.
> 
> Also, the initial colour gets overriden by the theme for lists...
> 
> I think the safest option for you, for the moment, is to 
> extend the instance side of PluggableShoutMorph with the following:
> 
> defaultColor
> 	"Answer the default colour for shout morphs."
> 
> 	^Color r: 255 g: 255 b: 230 range: 255
> 
> Hope this helps...
> 
> > -----Original Message-----
> > From: ui-bounces at lists.squeakfoundation.org
> > [mailto:ui-bounces at lists.squeakfoundation.org] On Behalf Of 
> > Bill Schwab
> > Sent: 30 September 2007 4:48 pm
> > To: ui at lists.squeakfoundation.org
> > Subject: Re: [UI] Re: Fwd: Workspace backgrounds - almost there
> > 
> > 
> > I really didn't do much, so the credit belongs to OA (for
> > doing it in Dolphin), Gary for the overall appearance, and 
> > Andy Tween's stunning work on Shout.  Maybe Andy can give us 
> > some advice on where to change background colors.  I could 
> > live with its being limited to Shout workspaces - especially 
> > if the alternative is not having anywhere ;)  
> > My only concern re Shout is that I typically do not use the 
> > workspace extension, because I often use workspaces (the 
> > system window variety) for notes more than code.
> > 
> > The ideal solution changes the background of workspaces in
> > inspectors, the debugger, browsers, and workspace system 
> > windows.  Basically, anywhere do-it and friends are 
> > available, the background color is appropriate.  If there is 
> > a good place to hack to get that effect, I can certainly do 
> > it, but it seems that Squeak should be able to do this w/o 
> > the need to edit code that is maintained by others.
> > 
> > It case you want to reproduce it, the color is
> > 
> >    Color r:1.0 g:1.0 b:230.0/255
> > 
> > 
> > Bill
> > 
> > 
> > 
> > 
> > Wilhelm K. Schwab, Ph.D.
> > University of Florida
> > Department of Anesthesiology
> > PO Box 100254
> > Gainesville, FL 32610-0254
> > 
> > Email: bschwab at anest.ufl.edu
> > Tel: (352) 846-1285
> > FAX: (352) 392-7029
> > 
> > >>> klaus.witzel at cobss.com 09/27/07 11:04 PM >>>
> > That looks great !
> > 
> > On Fri, 28 Sep 2007 01:21:55 +0200, Bill Schwab wrote:
> > 
> > > This should do it:
> > >
> > >  http://needle.anest.ufl.edu/users/wschwab/UI-almost.png
> > >
> > > Bill
> > >
> > >
> > > Wilhelm K. Schwab, Ph.D.
> > > University of Florida
> > > Department of Anesthesiology
> > > PO Box 100254
> > > Gainesville, FL 32610-0254
> > >
> > > Email: bschwab at anest.ufl.edu
> > > Tel: (352) 846-1285
> > > FAX: (352) 392-7029
> > >
> > >
> > >>>> Bill Schwab 9/25/2007 11:16:34 PM >>>
> > > I did some fiddling to try to reproduce the installation 
> problems I
> > > had, added a reminder about the Damien's dev image to the UI swiki
> > page,
> > > downloaded it, and did an installation of Gary's widgets using
> > > Monitcello.  Then I moved my BibTeX helper code into the 
> > new image.  I
> > > appear to have made a happy mistake in the latter,
> > capturing a change
> > > that I considered redundant, and ended up with more or less
> > the visual
> > > changes I was trying to create, and grabbed a screenshot
> > before I had
> > > time to break it :)
> > >
> > > I will probably send it to Gary as a start.  What is the
> > proper way to
> > > make it available?  I suppose the easiest thing is to put
> > it on my web
> > > page, but I have not yet learned how to use Linux to 
> remotely access
> > our
> > > servers, so I can't do that right now.
> > >
> > > When it becomes available, you will notice the background
> > color of the
> > > browser's and debugger's code pane.  I would hope for the
> > debugger's
> > > inspector panes to be so colored also, though they
> > currently show it
> > > only for the top line.  Ironically, the workspace in the
> > image is not
> > > correctly colored, though a newly-created instance has the correct
> > > color, though, as in the debugger's inspectors, it shows the color
> > only
> > > to a point, after which the default white takes over.
> > >
> > > Again, this is not a super big deal, but I find that
> > similar changes
> > > that OA made to Dolphin long ago grew on me.
> > >
> > > Bill
> > 
> > 
> > _______________________________________________
> > UI mailing list
> > UI at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/ui
> > 
> > _______________________________________________
> > UI mailing list
> > UI at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/mailman/listinfo/ui
> > 
> 
> _______________________________________________
> UI mailing list
> UI at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/ui
> 



More information about the UI mailing list