Tracker und MQTT code

This commit is contained in:
2025-09-10 20:04:31 +02:00
parent 14108b1165
commit e738438a94
3 changed files with 102 additions and 2 deletions

15
pages/tracker.py Normal file
View File

@@ -0,0 +1,15 @@
import cairo
from .page import Page
class Tracker(Page):
def __init__(self, pageno, cfg, boatdata):
super().__init__(pageno, cfg, boatdata)
def draw(self, ctx):
# Name
ctx.select_font_face("Ubuntu", cairo.FontSlant.NORMAL, cairo.FontWeight.BOLD)
ctx.set_font_size(60)
ctx.move_to(20, 100)
ctx.show_text("Tracker")