snakeware

Python-based Linux distro for x86-64 and RPi
git clone git://squid-tech.com/snakeware.git
Log | Files | Refs | README

commit de1d1506718ddff09d6e357b05c64cc718e6306c
parent b327f0860aa09ea7092330eb75ffefcc746cbbdd
Author: Josh Moore <jxm5210@g.rit.edu>
Date:   Wed, 10 Jun 2020 13:35:37 -0400

Merge pull request #104 from callmepavo/master

Calc, clock, & fps are no longer resizeable
Diffstat:
Msnakewm/apps/tools/clock/clock.py | 2+-
Msnakewm/apps/tools/fps/README.md | 6++++++
Msnakewm/apps/tools/fps/fps.py | 6+++---
Msnakewm/apps/tools/snakecalc/calc.py | 2+-
4 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/snakewm/apps/tools/clock/clock.py b/snakewm/apps/tools/clock/clock.py @@ -11,7 +11,7 @@ class SnakeClock(pygame_gui.elements.UIWindow): manager=manager, window_display_title="clock", object_id="#clockterm", - resizable=True, + resizable=False, ) self.textbox = pygame_gui.elements.UITextBox( diff --git a/snakewm/apps/tools/fps/README.md b/snakewm/apps/tools/fps/README.md @@ -16,3 +16,9 @@ Based on Clock by Abdur-Rahmaan Janhangeer + mail: arj.python@gmail.com + date: 30 May 2020 + +Slight edits made by pavo + ++ github: https://github.com/callmepavo + ++ date: 10 May 2020 diff --git a/snakewm/apps/tools/fps/fps.py b/snakewm/apps/tools/fps/fps.py @@ -11,16 +11,16 @@ MAXSAMP = 300 class SnakeFPS(pygame_gui.elements.UIWindow): def __init__(self, pos, manager): super().__init__( - pygame.Rect(pos, (395, 100)), + pygame.Rect(pos, (370, 100)), manager=manager, window_display_title="fps", object_id="#fps", - resizable=True, + resizable=False, ) self.textbox = pygame_gui.elements.UITextBox( "", - relative_rect=pygame.Rect(0, 1, 363, 40), + relative_rect=pygame.Rect(0, 1, 338, 40), manager=manager, container=self, anchors={ diff --git a/snakewm/apps/tools/snakecalc/calc.py b/snakewm/apps/tools/snakecalc/calc.py @@ -18,7 +18,7 @@ class SnakeCalc(pygame_gui.elements.UIWindow): manager=manager, window_display_title="snakecalc", object_id="#snaketerm", - resizable=True, + resizable=False, ) self.textbox = pygame_gui.elements.UITextBox(