Exemplo n.º 1
0
# bplate

""" This module facilitates art """

import wx
import os
import sys
from Tools import Tools

abspath = Tools.getAbsPath()

artpath = abspath + '/graphics/'
print artpath
app = wx.PySimpleApp()

DEFAULTPIC = "greensphere"

# a path and mask color key tuple is associated with each
# artname, if a mask color key is set, apply  it
artDict = {
           "question":("question.png", "w"),
           "underconstruction":("underconstruction.png","" ,),           
           "roadwarning":("roadwarning.png","" ,),
           "yellowsphere":("yellowsphere.png", "w",),
           "brownsphere":("brownsphere.png", "w",),
           "logbrownsphere":("brownsphere.png", "w",),
           "redsphere":("redsphere.png", "w",),
           "greensphere":("greensphere.png", "w",),
           "32x32editor":("32x32editor.png","" ,),
           "32x32error":("32x32error.png","" ,),
           "32x32warning":("32x32warning.png","" ,),