set_location. ability to specify a location on the built-in card

This commit is contained in:
Denis Fomin
2010-09-28 17:23:56 +04:00
parent 37f8da3a22
commit 560afe70af
4 changed files with 481 additions and 399 deletions

23
set_location/layers.py Normal file
View File

@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
##
import osmgpsmap
import gobject
class DummyLayer(gobject.GObject, osmgpsmap.GpsMapLayer):
def __init__(self):
gobject.GObject.__init__(self)
def do_draw(self, gpsmap, gdkdrawable):
pass
def do_render(self, gpsmap):
pass
def do_busy(self):
return False
def do_button_press(self, gpsmap, gdkeventbutton):
return False
gobject.type_register(DummyLayer)