summaryrefslogtreecommitdiff
path: root/src/table/window_settings.ini
AgeCommit message (Collapse)Author
2021-05-29Codechange: move all settings.ini files to table/settingsPatric Stout
2021-05-29Cleanup: set the base in the setting templates, instead of defining the base ↵rubidium42
for every setting This has the added benefit of not getting mistaken that multiple bases can be used for the same SettingTable
2021-05-29Codechange: use separate pre and post callbacks for int settingsrubidium42
2021-05-27Codechange: use initializer_lists for the settings tablesrubidium42
Not using vectors as those require copying from the initializer list and that makes unique_ptrs to the actual SettingDesc objects later impossible.
2021-03-01Codechange: validate that "max" value of settings fit in their storagePatric Stout
This is an easy mistake to make, so protect us against making such mistakes, by validating it doesn't happen.
2021-02-17Codechange: Allow early-load settings that are not misc settings.Michael Lutz
2021-02-13Codechange: Don't use cpp_offsetof in the save/load code.Michael Lutz
Many of the member variables that are used in save/load are inside types that are not standard layout types. Using pointer arithmetics to determine addresses of members inside types that are not standard layout is generally undefined behaviour. If we'd use C++17, it is conditionally supported, which means each compiler may or may not support it. And even then using it for individual array elements is syntactically not supported the the standard offsetof function. Unfortunately, the trickery employed for saving linkgraph settings causes quite some clutter in the settings ini files.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-29Codechange: Set size of SettingGuiFlag & SettingDescType enums, and use them ↵Charles Pigott
properly
2019-04-11Codechange: NULL -> nullptr in settings files.peter1138
2019-02-02Codechange: Convert saveload numbers to enum values.Peter Nelson
(This was mostly achieved with a few in-place regexes)
2013-05-26(svn r25295) -Feature: Allow saving window sizes as default sizes.frosch
2013-05-26(svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the ↵frosch
sticky button.
2013-05-26(svn r25291) -Add: WindowDesc ability to load and store information in a ↵frosch
config file.