1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
|
<?xml version="1.0"?>
<!-- Pychan is designed to overwrite style definitions like font="" by the style
assigned to the settings in horizons.engine._setup_settings. -->
<Container name="settings_window" size="1000,580">
<Icon image="content/gui/images/background/book.png" position="100,0" />
<!-- Pickbelts to the left -->
<Container name="left_pickbelts" size="170,580" position="30,0" />
<!-- Graphics section -->
<HBox name="graphics_settings" position="185,45">
<!-- Left pane -->
<VBox name="graphics_left" max_size="320,500" min_size="320,0">
<VBox name="graphics">
<Label text="Graphics" name="headline_graphics" font="headline" />
<hr />
<HBox max_size="280,445">
<VBox>
<Label text="Screen resolution:" name="screen_resolution_label" wrap_text="1" />
<ScrollArea min_size="100,175">
<ListBox name="screen_resolution" is_focusable="0" />
</ScrollArea>
<Spacer fixed_size="15,0" />
<Label name="screen_fullscreen_text" text="Full screen:" />
<CheckBox min_size="24,24" name="enable_fullscreen" />
</VBox>
<Spacer fixed_size="35,0" />
<VBox>
<Label name="fps_label" text="Frame rate limit:"
wrap_text="1" helptext="Set the maximum frame rate used. Default: 60 fps." />
<ScrollArea max_size="100,115">
<ListBox name="fps_rate" is_focusable="0" />
</ScrollArea>
</VBox>
</HBox>
</VBox>
</VBox>
<!-- Right pane -->
<VBox name="graphics_right" max_size="320,500" min_size="320,0">
<VBox name="sound_settings" position="185,45">
<Label name="headline_sound" text="Sound" font="headline" />
<hr />
<VBox>
<HBox>
<Label name="music_volume_label" text="Music volume:" wrap_text="1"
min_size="250,20" max_size="250,40" />
<Label name="volume_music_value" text="" />
</HBox>
<Slider size="300,20" name="volume_music" is_focusable="0"
orientation="0" scale_start="0.0" scale_end="0.20" />
</VBox>
<VBox>
<HBox>
<Label text="Effects volume:" name="effect_volume_label"
wrap_text="1" min_size="250,20" max_size="250,40" />
<Label name="volume_effects_value" text="" />
</HBox>
<Slider size="300,20" name="volume_effects" is_focusable="0"
orientation="0" scale_start="0.0" scale_end="0.5" />
</VBox>
<HBox>
<Label name="sound_enable_opt_text" text="Enable sound:" min_size="256,0"/>
<CheckBox min_size="24,24" name="enable_sound" />
</HBox>
</VBox>
<VBox name="mouse_settings">
<Label name="headline_mouse" text="Mouse" font="headline" position_technique="center:center" />
<hr />
<HBox>
<Label name="edge_scrolling_label" text="Scroll at map edge:" min_size="256,0"
helptext="Whether to move the viewport when the mouse pointer is close to map edges" />
<CheckBox min_size="24,24" name="edgescrolling" />
</HBox>
<HBox>
<Label name="cursor_centered_zoom_label" text="Cursor centered zoom:" min_size="256,0"
helptext="When enabled, mouse wheel zoom will use the cursor position as new viewport center. When disabled, always zoom to current viewport center." />
<CheckBox min_size="24,24" name="cursor_centered_zoom" />
</HBox>
<HBox>
<Label name="middle_mouse_pan_lbl" text="Middle mouse button pan:" min_size="256,0"
helptext="When enabled, dragging the middle mouse button will pan the camera" />
<CheckBox min_size="24,24" name="middle_mouse_pan" />
</HBox>
<Spacer fixed_size="5,0" />
<HBox>
<Label name="mouse_sensitivity_label" text="Mouse sensitivity:"
wrap_text="1" max_size="250,40" min_size="250,20"
helptext="0 is default system settings" />
<Label name="mousesensitivity_value" text="" />
</HBox>
<Slider size="300,20" name="mousesensitivity" is_focusable="0"
orientation="0" scale_start="-0.2" scale_end="0.5" step_length="1.0" />
</VBox>
</VBox>
</HBox>
<!-- Game section -->
<HBox name="game_settings" position="185,45">
<!-- Left pane -->
<VBox name="game_left" max_size="320,500" min_size="320,0">
<VBox name="saving_settings">
<Label name="headline_saving" text="Saving" font="headline" position_technique="center:center" />
<hr />
<HBox>
<Label name="autosave_interval_label" text="Autosave interval in minutes:"
wrap_text="1" max_size="275,40" min_size="275,20" />
<Label name="autosaveinterval_value" text="" />
</HBox>
<Slider size="300,20" name="autosaveinterval" is_focusable="0"
orientation="0" scale_start="0.0" scale_end="60.0" step_length="2.0" />
<HBox>
<Label name="number_of_autosaves_label" text="Number of autosaves:"
wrap_text="1" max_size="275,40" min_size="275,20" />
<Label name="autosavemaxcount_value" text="" />
</HBox>
<Slider size="300,20" name="autosavemaxcount" is_focusable="0"
orientation="0" scale_start="1.0" scale_end="30.0" step_length="1.0" />
<HBox>
<Label name="number_of_quicksaves_label" text="Number of quicksaves:"
wrap_text="1" max_size="275,40" min_size="275,20" />
<Label name="quicksavemaxcount_value" text="" />
</HBox>
<Slider size="300,20" name="quicksavemaxcount" is_focusable="0"
orientation="0" scale_start="1.0" scale_end="30.0" step_length="1.0" />
</VBox>
<VBox name="language_settings">
<Label text="Language" position_technique="center:center" name="headline_language" font="headline" />
<hr />
<ScrollArea min_size="165,206">
<ListBox name="uni_language" is_focusable="0" />
</ScrollArea>
<Spacer fixed_size="0,5" />
<Label text="translation" name="language_translation_status" min_size="165, 20" />
</VBox>
</VBox>
<!-- Right pane -->
<VBox name="game_right" max_size="320,500" min_size="320,0">
<VBox name="misc_settings">
<Label name="headline_misc" text="General" font="headline" position_technique="center:center" />
<hr />
<HBox>
<Label name="uninterrupted_building_label" text="Uninterrupted building:" min_size="256,0"
helptext="When enabled, do not exit the build mode after successful construction" />
<CheckBox min_size="24,24" name="uninterrupted_building" />
</HBox>
<HBox>
<Label name="auto_unload_label" text="Auto-unload ship:" min_size="256,0"
helptext="Whether to unload the ship after founding a settlement" />
<CheckBox min_size="24,24" name="auto_unload" />
</HBox>
<HBox>
<Label name="debug_log_lbl" text="Enable logging:" min_size="256,0"
helptext="Don't use in normal game session. Decides whether to write debug information in the logging directory of your user directory. Slows the game down." />
<CheckBox min_size="24,24" name="debug_log" />
</HBox>
<HBox>
<Label name="show_resource_icons_lbl" text="Production indicators:" min_size="256,0"
helptext="Whether to show resource icons over buildings whenever they finish production" />
<CheckBox min_size="24,24" name="show_resource_icons" />
</HBox>
<Spacer fixed_size="10,0" />
<HBox>
<Label name="scroll_speed_label" text="Scroll delay:"
wrap_text="1" max_size="250,40" min_size="250,20"
helptext="Higher values slow down scrolling." />
<Label name="scrollspeed_value" text="" />
</HBox>
<Slider size="300,20" name="scrollspeed" is_focusable="0"
orientation="0" scale_start="0.1" scale_end="2.0" step_length="0.05" />
<Spacer fixed_size="15,0" />
<HBox>
<Label name="quote_type_label" text="Choose a quote type:" min_size="160,0"
helptext="What kind of quote to display while loading a game" />
<ScrollArea min_size="120,55">
<ListBox name="quotestype" is_focusable="0" min_size="120,55" />
</ScrollArea>
</HBox>
</VBox>
<VBox name="network_settings">
<Label name="headline_network" text="Network" font="headline" position_technique="center:center" />
<hr />
<HBox max_size="320,60">
<Label text="Network port:" name="network_port_lbl"
helptext="If set to 0, use the router default" />
<TextField name="network_port" min_size="50,20" />
</HBox>
</VBox>
</VBox>
</HBox>
<!-- Hotkeys section -->
<HBox name="hotkeys_settings" position="185,45"/>
<!-- General section -->
<HBox position="180,500">
<Spacer fixed_size="60,0" />
</HBox>
<!-- This dropdown is invisible, but required by fife to be here -->
<DropDown name="lighting_model" min_size="20,0" position="10000,0" />
<!-- Pickbelts to the right -->
<Container name="right_pickbelts" position="835,0" size="170,580" />
<CancelButton helptext="Discard current changes" position="170,500"/>
<DeleteButton name="defaultButton" helptext="Reset to default settings" position="520,500"/>
<OkButton position="790, 500" helptext="Save changes"/>
</Container>
|