Created
November 29, 2018 18:36
-
-
Save CalvinLogan/88f898f3c27c9f56dd23725039be1be2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import gui | |
from gui import * | |
#input: none | |
#return: the width of the screen | |
def getScreenWidth(): | |
return Toolkit.getDefaultToolkit().getScreenSize().width | |
#input: none | |
#return: the height of the screen | |
def getScreenHeight(): | |
return Toolkit.getDefaultToolkit().getScreenSize().height | |
#input: none | |
#return: none | |
#sets up the display | |
def setup(): | |
window = Display("Synesthetic Sound", getScreenWidth(), getScreenHeight()) | |
setup() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment