Commit graph

17 commits

Author SHA1 Message Date
John Lewin
be5f881935 Migrate string constants to UserSettingKey 2017-06-08 18:41:59 -07:00
Lars Brubaker
4b88969c4e Put in a first pass at a text size control. 2017-06-06 15:04:07 -07:00
John Lewin
78c04a0e37 Consolidate DisplayMode logic into IsTouchscreen setting 2017-02-16 15:02:49 -08:00
Lars Brubaker
0ffb3a5b41 Make more touch screen settings be about touch not android. 2017-01-23 14:58:29 -08:00
John Lewin
836dcee8b8 Improve startup state initialization
- Use single instance for .EmptyProfile
- Remove ActiveSliceSettings static constructor, rely on ProfileManager
- Remove SettingsKey.active_theme_name and db usage
- Revise LoadUITheme to only load oem or default color theme
- Only assign ActiveSliceSettings.Instance during ProfileManager assign
2016-12-14 16:18:54 -08:00
John Lewin
1c7c1f20ad Revise ChangeCloudSyncStatus
- Add UserSettingKeys for CredentialsInvalid, CredentialsInvalidReason
- Move CredentialsInvalid, CredentialsInvalidReason setters into ChangeCloudSyncStatus
- Update method to take string parameter for invalid reason
- Toggle state when Connected value changes
- Clear invalid flag if connected, set invalid flag and reason if not
- Issue MatterHackers/MCCentral#354
2016-09-06 18:15:06 -07:00
Lars Brubaker
d0ea36c269 default to render thumbnails in perspective 3D
Made only a default constructor for ray tracer
Put back in the code the guarantees we always have an item in the queue, even before we select a printer.
Added thumbnail render mode to the user settings key
2016-09-01 13:50:11 -07:00
Lars Brubaker
22bca53d69 Changed the theme colors to save by name
fixed linux run bug MatterHackers/MCCentral#344

ActiveTheme does not recreate its data all the time
2016-08-31 11:42:02 -07:00
Lars Brubaker
698426858e Made the default theme blue - light.
Moved setting to UserrSettingsKey
2016-08-30 17:30:31 -07:00
Lars Brubaker
cd7406d82b Created a UserSettingsKey and SystemSettingsKey
Moved some settings into this, lots more to do
2016-08-30 10:30:55 -07:00
John Lewin
e5a63b052e Migrate Theme support to Agg.UI 2016-06-03 17:22:19 -07:00
John Lewin
da0abfc976 Use instance method in constructor 2016-01-06 10:41:18 -08:00
John Lewin
1d466f2862 Allow/workaround duplicate db entries 2016-01-05 18:55:34 -08:00
John Lewin
8600a35576 Revise TranslationMap, UserSettings
- Move Master.txt translation file to Translations/en/Translation.txt
 - Threadsafe MatterControlTranslationMap initialization
 - Refactor UserSettings:
     - Threadsafe initialization
     - Concise initialization
     - UseTryGetValue for dictionary lookups
     - Use backing fields
     - Cache frequently accessed Language value as local property
2016-01-05 13:31:45 -08:00
Lars Brubaker
591528ee91 Ran code maid against this code. 2015-04-08 15:20:10 -07:00
Lars Brubaker
cce96f03ff Trying to clean up the interface for setting the interface mode. 2014-12-12 16:07:48 -08:00
larsbrubaker
f4c1b0b85c Commit of the code 2014-01-29 19:09:30 -08:00