snakeware

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

commit 438450a85a013815c521b4bd20b64212d649f0c0
parent 619314e130888d11d3ea42ba0c5f0b1d0e1697c0
Author: Josh Moore <jxm5210@g.rit.edu>
Date:   Fri,  5 Jun 2020 12:40:15 -0400

Merge pull request #76 from joshiemoore/revert-73-master

Revert "Added pie button to the snakecalc and updated the screenshot image"
Diffstat:
Mscreenshot.png | 0
Msnakewm/apps/tools/snakecalc/calc.py | 4+---
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/screenshot.png b/screenshot.png Binary files differ. diff --git a/snakewm/apps/tools/snakecalc/calc.py b/snakewm/apps/tools/snakecalc/calc.py @@ -4,7 +4,7 @@ import pygame_gui class SnakeCalc(pygame_gui.elements.UIWindow): # operations to be converted to buttons - OPS = "789+" "456-" "123*" "p0=/" "C<π" + OPS = "789+" "456-" "123*" "p0=/" "C<" # button dimensions BSIZE = (67, 75) @@ -94,7 +94,5 @@ class SnakeCalc(pygame_gui.elements.UIWindow): self.append_text(".") elif op == "<": self.set_text(self.textbox.html_text[:-1]) - elif op == "π": - self.set_text("3.14") else: self.append_text(op)