mirror of
https://github.com/quantum5/punyverse.git
synced 2025-04-24 13:11:57 -04:00
Fixup: window captions.
This commit is contained in:
parent
aa225c70fa
commit
351eaaac8d
|
@ -7,7 +7,6 @@ from punyverse.ui import Punyverse
|
||||||
|
|
||||||
INITIAL_WIN_HEIGHT = 540
|
INITIAL_WIN_HEIGHT = 540
|
||||||
INITIAL_WIN_WIDTH = 700
|
INITIAL_WIN_WIDTH = 700
|
||||||
WIN_TITLE = 'Punyverse'
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -25,7 +24,8 @@ def main():
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
pyglet.options['shadow_window'] = False
|
pyglet.options['shadow_window'] = False
|
||||||
loader = LoaderWindow(width=INITIAL_WIN_WIDTH, height=INITIAL_WIN_HEIGHT)
|
loader = LoaderWindow(width=INITIAL_WIN_WIDTH, height=INITIAL_WIN_HEIGHT,
|
||||||
|
caption='Punyverse is loading...')
|
||||||
|
|
||||||
template = pyglet.gl.Config(depth_size=args.depth, double_buffer=True,
|
template = pyglet.gl.Config(depth_size=args.depth, double_buffer=True,
|
||||||
sample_buffers=args.multisample > 1,
|
sample_buffers=args.multisample > 1,
|
||||||
|
@ -46,7 +46,7 @@ def main():
|
||||||
print(' %-22s %s' % (key + ':', getattr(config, key)))
|
print(' %-22s %s' % (key + ':', getattr(config, key)))
|
||||||
|
|
||||||
punyverse = Punyverse(width=INITIAL_WIN_WIDTH, height=INITIAL_WIN_HEIGHT,
|
punyverse = Punyverse(width=INITIAL_WIN_WIDTH, height=INITIAL_WIN_HEIGHT,
|
||||||
caption=WIN_TITLE, resizable=True, vsync=args.vsync,
|
caption='Punyverse', resizable=True, vsync=args.vsync,
|
||||||
config=config, visible=False)
|
config=config, visible=False)
|
||||||
|
|
||||||
loader.set_main_context(punyverse.context)
|
loader.set_main_context(punyverse.context)
|
||||||
|
|
Loading…
Reference in a new issue