diff options
author | Denis Fomin <fominde@gmail.com> | 2010-09-28 17:23:56 +0400 |
---|---|---|
committer | Denis Fomin <fominde@gmail.com> | 2010-09-28 17:23:56 +0400 |
commit | 560afe70af6b984b388505a16f322365e3862427 (patch) | |
tree | 81517842db7427c3e945282196cf165f7a2de713 /set_location/layers.py | |
parent | 37f8da3a2242e754c86a6332d9ff669f260bdb24 (diff) |
set_location. ability to specify a location on the built-in card
Diffstat (limited to 'set_location/layers.py')
-rw-r--r-- | set_location/layers.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/set_location/layers.py b/set_location/layers.py new file mode 100644 index 0000000..876a3d1 --- /dev/null +++ b/set_location/layers.py @@ -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) |