Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Mon, 31 Aug 1998 17:24:14 +0200

Re: New function in libggiMisc RFC.

Andrew Apted wrote:
> 
> Jon writes:
> 
> >  > What I had in mind was extending ggi_mode to support the basics, as in:
> >                                     ^^^^^^^^
> >
> >       Wouldn't extending ggi_visual be more appropriate?
> 
> The application wants to specify this stuff when it opens a window,
> which is done by the ggiSetMode() function, so we either
> 
>    a) change the ggiSetMode() function to have an extra parameter (e.g.
>    ggi_wininfo*),
>
>    b) have a new function (e.g. ggiSetWindowInfo) which has to be called
>    before ggiSetMode().
> 
>    c) extend ggi_mode.  The position info can be parsed by ggiParseMode
>    (and like I said, the code is already there to do it), such as :
> 
>       libggi/demos/demo 320x200[8]+160+100

IMO, definitely b. And I do think it should go into the misc
(or another) extension. libggi should not be bloated with 
functions that doesn't even make sense om most targets.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]