[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ gpsdrive ] feature request: fullscreen map
Hi David,
The changes stretch the map image whereas the maximise button does not.
I agree that it's not an ideal solution and was looking at moving the whole
section from about line 4752 where the window sizing is done to a separate
file and function which could be called if no geometry had been specified on
the command line.
Unfortunately it's been about 15years since I have done any C programming and
have never used automake/autoconf etc and I'm still coming to terms with using
svn so don't want to move it to another file just yet. This is the first
software that I've really been interested in doing some work on in that time
as I can see great potential for it.
I now have the geometry from the command line being read when the programme
starts but have not yet sorted the resizing using the gtk_ parse geometry
function.
Cheers
Ross
Quoting David <david.pollard@optusnet.com.au>:
> I hadn't tried pda mode before. That is probably going to suit what I
> need. Saving the window locations was proving a little tough for me
> anyway as the ideal solution looks like it would require changes all
> over the place :)
>
> The window resizing sugestions all look good but localised hard coded
> changes to the gpsdrive.c source are painfull as they get wiped out each
> time we refresh the source from svn. Isn't this what the maximise
> button does anyway or do the changes you are sugesting strech the map
> image itself?
>
> David
>
> On Fri, 2007-02-02 at 18:18 +1000, info@4x4falcon.com wrote:
> > Hi,
> >
> > If you recompile with the following changes then you will get a full screen
> window.
> >
> > In file gpsdrive.c
> >
> > at line 4912 change
> >
> > GTK_WIN_POS_CENTRE to GTK_WIN_POS_NONE
> >
> > arround line 4752 adjust the assigned values for real_screen_x and
> real_screen_y
> >
> >
> > I actually included a complete new elseif statement here as my laptop has
> a
> > screen resolution of 1280x800 which is reported as SCREEN_X = 1280 and
> SCREEN_Y
> > = 750
> >
> > This is due to the taskbar at the bottom of the screen.
> >
> > Don't make the real_screen_x and real_screen_y equal to the screen
> resolution as
> > it will be over sized.
> >
> > For the laptop I used
> >
> > real_screen_x = 1140
> > real_screen_y = 600
> >
> > This filled the screen and still left the panel at the bottom so I can
> access
> > other programs/workspaces easily.
> >
> > When you start gpsdrive make sure no other windows are open on your
> current
> > workspace and the window manager should open it with the top left at the
> top
> > left of the workspace.
> >
> > This worked using gpsdrive-2.10pre3 and running on Novell Suse Download
> 10.0
> >
> > Regards
> > Ross
> >
> >
> > Quoting s@wieseckel.de:
> >
> > > > Did you try PDA Mode?
> > > Yes, unfortunately there remains some grey space at the right and lower
> side
> > > of the map,
> > > so it's not really 'fullscreen' :-(
> > >
> > > bye...
> > > Stef'
> > >
> > > --
> > > 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
> > >
> >
> >
> >
> >
> > ----------------------------------------------------------------------
> > 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
>
> --
> 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
>
----------------------------------------------------------------------
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