move logo to defs

This commit is contained in:
gen2brain 2013-06-03 22:20:42 +02:00
parent d84815c4a7
commit 323b5f3c7c
2 changed files with 8 additions and 8 deletions

9
m64py
View file

@ -36,7 +36,7 @@ except ImportError, err:
sys.exit(1)
try:
from m64py.core.defs import FRONTEND_VERSION
from m64py.core.defs import FRONTEND_VERSION, LOGO
from m64py.frontend.mainwindow import MainWindow
from m64py.loader import load_library
except ImportError, err:
@ -44,13 +44,6 @@ except ImportError, err:
os.linesep, str(err), os.linesep))
sys.exit(1)
LOGO = " __ __ __ _ _ ____ _ \n"
LOGO += "| \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___ \n"
LOGO += "| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __| \n"
LOGO += "| | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \ \n"
LOGO += "|_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/ \n"
LOGO += " |_| \n"
def main():
try:
QApplication.setAttribute(Qt.AA_X11InitThreads)

View file

@ -210,3 +210,10 @@ class m64p_video_extension_functions(C.Structure):
('VidExtFuncToggleFS', FuncToggleFS),
('VidExtFuncResizeWindow', FuncResizeWindow)
]
LOGO = " __ __ __ _ _ ____ _ \n"
LOGO += "| \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___ \n"
LOGO += "| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __| \n"
LOGO += "| | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \ \n"
LOGO += "|_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/ \n"
LOGO += " |_| \n"