"basiliskll", "mame", "advmame", "dgen", "openmsx", "mupen64plus", "gngeo", "dosbox", "ppsspp", Procnames = ["retroarch", "ags", "uae4all2", "uae4arm", "capricerpi", "linapple", "hatari", "stella", NFCRead.cardImage = random.choice(Dictionary) Uid = pn532.read_passive_target(timeout=0.5)
# Configure PN532 to communicate with MiFare cards Halt = ('sudo shutdown -h now', 'halt', 'mario.bmp') ĭictionary = '.format(ver, rev)) Reboot = ('sudo reboot', 'zero', 'mario.bmp') Lifespan=(sh+'lifespan.sh &', 'LIFESPAN by John ONeill 83', ) Sonic=(sh+ 'sonic.sh &', 'Sonic Adventure', ) MetalGearSolid=(sh+ 'metalGearSolid.sh &', 'Metal Gear Solid', ) Mario_paint =(sh + 'marioPaint.sh &', 'Mario Paint', ) LsdDreamEmulator = (sh + 'lsd.sh &', 'LSD Dream Emulator', )ĬrazyTaxi = (sh + 'crazyTaxi.sh &', 'Crazy Taxi', ) RunSketch = '/home/pi/bin/random_person.sh'įrom PIL import Image,ImageDraw,ImageFont Rp_dir = '/home/pi/sketchbook/RandomPersonRetropie/RANDOM_DUDE.gif' Libdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(_file_))), 'lib')
NOTE: all these params are defined only for simplicity, you are free to redefine them in your cascade style files (we don't use importants and so on, so all props should be easily editable).Picdir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(_file_))), 'pic') You can add border to inputs, by default color is same as main so borders will not be seenīackground color of component area which left outside of image due to it size/ratioĬolor of bar when dropping file to painterroĬontrols background color when mouse hoveredĬolor of toolbar labels that prepend controls button background)Ĭolor for control when it active (e.g. show ( ) ParamĬolor of controls background (e.g.