27 lines
466 B
Python
Executable File
27 lines
466 B
Python
Executable File
#!/usr/bin/python
|
|
# Bryan Schumaker (8/13/2010)
|
|
|
|
import datetime
|
|
now = datetime.datetime.now
|
|
before = now()
|
|
|
|
import libsaria
|
|
import ocarina
|
|
|
|
from ocarina import collection
|
|
|
|
libsaria.init()
|
|
libsaria.init_pref("window_size", (800,600))
|
|
|
|
prefs = libsaria.prefs
|
|
|
|
win = ocarina.get_window(prefs["window_size"])
|
|
ocarina.set_window_title("Ocarina 4.1")
|
|
|
|
ocarina.add_tab("Library", collection.Library())
|
|
|
|
after = now()
|
|
print "Startup took:", after-before
|
|
|
|
ocarina.startup()
|