diff --git a/athmos.py b/athmos.py new file mode 100755 index 0000000..107b0af --- /dev/null +++ b/athmos.py @@ -0,0 +1,12 @@ +from .fonts import * +from .colors import * + +class Athmos: + + def __init__(self, screen): + self.screen = screen + + def update(self): + name = font_helvetica16.render("kir", False, color_primary_light) + self.screen.blit(name, ((self.screen.get_width() - name.get_width())/2, + 20)) \ No newline at end of file diff --git a/main.py b/main.py index 5d46c08..62335af 100755 --- a/main.py +++ b/main.py @@ -5,6 +5,7 @@ from .knobs import Knobs from .lozenge_button import LozengeButton from .binary_button import BinaryButton from .circle_button import * +from .athmos import Athmos class GuiMain: @@ -65,6 +66,8 @@ class GuiMain: False ) + self.athmos = Athmos(self) + self.clock = pygame.time.Clock() self.running = True @@ -107,6 +110,8 @@ class GuiMain: self.rloop_button.display() self.rec_button.display() + self.athmos.update() + pygame.draw.polygon(self.screen, "white", [(0, self.screenH/2), (self.screenW*3 / 19, self.screenH), (0, self.screenH)]) # flip() the display to put your work on screen pygame.display.flip()