Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Mon, 31 Aug 1998 15:32:20 +1000

Re: New function in libggiMisc RFC.

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
      
>  	If you want "window modes", keep them separate from display/buffer
>  modes.  Have LibGWT handle them internally, IMHO.

I'm not talking "window modes", just a way for application to make
GGI apps look better in windowed environments (such as having something
other than "GGI on X" in the title bar :-).

Cheers,
_____________________________________________  ____
                                               \  /
  Andrew Apted   <andrew@ggi-project.org>       \/
  

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