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

Re: [ gpsdrive ] feature request: fullscreen map



Quoting Hamish <hamish_nospam@yahoo.com>:

> info@4x4falcon.com wrote:
> > > I think the size of the drawing-area for the map is in a variable.
> > > The only  thing I think which then has to be done is to calculate
> > > the values, set this variable appropriate and resize the
> > > drawing_area
> > >     gtk_drawing_area_size (GTK_DRAWING_AREA (drawing_area),
> > >     SCREEN_X,
> > 
> > I've had this worked out for a while just need to convert the geometry
> > string  to appropriate width and height and all should be ok.  Have
> > been working on it  today, looks like may need to include one of the
> > Xorg libraries to do it as in  X.
> 
> 
> if it is at all possible to do without an X11 dep, please do so. The
> more we can abstract to GTK the more portable the software will be (e.g.
> native MacOSX), which will attract more devels and users.



Done without using an X library as the function is not there anyway.  It uses
GPL code from freedesktop.org for the function to extract the geometry.

Regards
Ross


----------------------------------------------------------------------
This mail sent through Horde-Toaster (http://qmailtoaster.clikka.com/)
-- 
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo@warbase.selwerd.nl