From 560afe70af6b984b388505a16f322365e3862427 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Tue, 28 Sep 2010 17:23:56 +0400 Subject: set_location. ability to specify a location on the built-in card --- set_location/layers.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 set_location/layers.py (limited to 'set_location/layers.py') 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) -- cgit v1.2.3