Ethan-Rasmussen / AudioVisualization

0 stars 0 forks source link

KeyPad #4

Open morsbenj1 opened 1 year ago

morsbenj1 commented 1 year ago

As a solution to the text boxes, and so that you can use the app without having a keyboard, I made a DisplayNumberPad function in fonttest2.py, in ourFont folder that displays a number pad, and then can at least print one number using the pad and then backspace it, but then I am having trouble at the moment with getting the number to expand longer than one digit.

But this way, whenever there is a number input, (the only kind of input except naming files, which we can do with the file-dialog call for os or sys.) ... we can just continue building the number pad code so that you can have the number pad appear wherever you want on the screen, and then make sure we can connect the output of the keypad to a variable, like it does in the example. ... which is then easily printable.

baileyr673 commented 1 year ago

I uploaded a new file called fonttest3.py that has a new definition for the shownumberpad() method which I think will fix the issues with only displaying one digit. It is in the ourFont folder.