Update display settings 2017 12 6 authored by Ali Can Demiralp's avatar Ali Can Demiralp
Consider 4 types of configurations that cascade upon each other, similar to CSS. Consider 4 types of configurations that cascade upon each other, similar to CSS.
1 Phoenix Library Settings 1 Library Default Settings
- Contains defaults for ALL settings, built into the library. - Contains defaults for ALL settings, built into the library.
- Is library code. - Is library code.
- Is necessary. - Is necessary.
...@@ -12,14 +12,20 @@ Consider 4 types of configurations that cascade upon each other, similar to CSS. ...@@ -12,14 +12,20 @@ Consider 4 types of configurations that cascade upon each other, similar to CSS.
- Is optional. - Is optional.
- Example use case: The CAVE machines require a specific resolution and aspect ratio. - Example use case: The CAVE machines require a specific resolution and aspect ratio.
3 Application Specific Settings 3 User Specific Settings
- Overrides 2, applies to a particular Phoenix application. - Overrides 2, applies to all Phoenix applications ran on the containing machine by the current user.
- Is a file residing in the current user's directory.
- Is optional.
- Example use case: I require RG color blind mode.
4 Application Default Settings
- Overrides 3, applies to a particular Phoenix application.
- Is application code. - Is application code.
- Is optional. - Is optional.
- Example use case: PLI viewer should only run on a Window, not an HMD. - Example use case: PLI viewer should only run on a Window, not an HMD.
4 User Specific Settings 5 Application User-Defined Settings
- Overrides 3, applies to a particular Phoenix application used by a particular user. - Overrides 4, applies to a particular instance of Phoenix application.
- Is a file residing in the application directory. - Is a file residing in the application directory.
- Is optional (but auto-generated on launch if requested by 1/2/3). - Is optional (but auto-generated on launch if requested by 1/2/3).
- Example use case: I really know what I'm doing and I want to test the PLI viewer with an HMD. - Example use case: I really know what I'm doing and I want to test the PLI viewer with an HMD.
... ...
......