[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ gpsdrive ] feature request: fullscreen map
I now understood the above part. It's working, but it's not curing the
problem, it's working arround the symtoms. So we better start trying to get
the --geometry=... and gtk_resize_window events working right.
...
> Ok. I've now got the geometry being read in from the command line and
> adjusting the window size correctly. Hovever it does not yet correct the
> displayed map size and is the same as when you maximize the window and this
> is probably associated with the gtk-resize-window event.
You'll have to search for the size setting of the map-drawing window. It's
once a fixed calculation which has to be moved to a function and redone
everytime we get a resize request.
> If you create the files display.c and display.h that should do. No need
> for any functions etc in them as I'll need to work out what is needed in
> them as I go.
As d.s.e. already suggested, you might want to take gui.c for all the gui
related stuff.
> What I have so far worked out with the parse geometry changes is that it
> needs to be in gpsdrive.c anyway but other display setup and resizing parts
> should be in a separate file so easy to separate out from the functionality
> of the program. I guess this is part of the code clean up on the wish
> list, I am happy to work on the display/user interface section.
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,
SCREEN_Y);
...
>
> > That also my understanding. So the only commands which are probably
> > interesting for you are:
> > - svn co http://svn.gpsdrive.cc/gpsdrive/trunk gpsdrive-work-1
get a new copy from the gpsdrive-svn-repository and puts it under the
directory gpsdrive-work-1
> > - gpsdrive-work-1 ;svn up
Updates your local copy of gpsdrive with all the changes done in the
main-svn-repositor while you 're working locally. This merges all new stuff
into your local copy.
> > - gpsdrive-work-1 ;svn diff
This creates a diff of your changes. If you send this to us, we can use it to
update the gpsdrive-master-svn-repository.
--
Jörg (Germany, Munich)
http://www.ostertag.name/
TeamSpeak2: ts2.ostertag.name, user: tweety, Channel: "GPS Drive"
Tel.: +49 89 420950304
--
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