[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Program Framework Title Panes and REDISPLAY-FUNCTION



    Date: Wed, 30 May 90 16:39 PDT
    From: Stephen L. Nicoud <snicoud@atc.boeing.com>

    I'm having problems getting output to the title pane of a program
    framework using :redisplay-function.  Perhaps someone can identify a way
    to modify my code to get the desired effect.

	[...]

    Any ideas, thoughts?  I guess the stream passed to ERASMUS-FRAME-TITLE
    should be a stream for the TITLE pane.  

Okay, I dug around just a little on this.  The problem was my code for
the DRAW-HORIZONTALLY-CENTERED-STRING method.  It was calling
EW::DRAW-STRING without passing the :STREAM argument.  Okay, that seems
to solve the stream problem.

Now, however, when I specify 0 as the Y position of the stream for the
string to be printed, it is off the window.  I wonder if the Y position
is the bottom of the string for EW, and the top for DW, because
specifying 0 in DW yields the intended result.

Steve
--
Stephen L. Nicoud  <snicoud@atc.boeing.com>  uw-beaver!bcsaic!snicoud
Boeing Advanced Technology Center for Computer Sciences