Package fife :: Package extensions :: Module fife_settings
[hide private]
[frames] | no frames]

Module fife_settings

source code

Settings ==================================

This module provides a nice framework for loading and saving game settings. It is by no means complete but it does provide a good starting point.

Classes [hide private]
  Setting
This class manages loading and saving of game settings.
  SettingEntry
Variables [hide private]
  SETTINGS_GUI_XML = "...
  CHANGES_REQUIRE_RESTART = "...
  FIFE_MODULE = "FIFE"
Variables Details [hide private]

SETTINGS_GUI_XML

Value:
"""\
<Window name="Settings" title="Settings">
	<Label text="Settings menu!" />
	<HBox>
		<VBox>
			<Label text="Resolution:" />
			<Label text="Renderer:" />
			<Label text="Light Model:" />
...

CHANGES_REQUIRE_RESTART

Value:
"""\
<Window title="Changes require restart">
	<Label text="Some of your changes require you to restart." />
	<HBox>
		<Spacer />
		<Button name="closeButton" text="Ok" />
	</HBox>
</Window>
...