Configuration

-cache
-fulscreen
This commit is contained in:
9and3r
2014-07-28 00:44:03 +02:00
parent 39eaeaec25
commit a0f33e28d3
6 changed files with 117 additions and 136 deletions

View File

@@ -26,9 +26,11 @@ class Extension(ext.Extension):
def get_config_schema(self):
schema = super(Extension, self).get_config_schema()
schema['screen_width'] = config.Integer()
schema['screen_height'] = config.Integer()
schema['screen_width'] = config.Integer(minimum=1)
schema['screen_height'] = config.Integer(minimum=1)
schema['cursor'] = config.Boolean()
schema['fullscreen'] = config.Boolean()
schema['cache_dir'] = config.Path()
return schema
def setup(self, registry):