diff options
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/contracts/DynamicUiContract.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/contracts/DynamicUiContract.kt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/contracts/DynamicUiContract.kt b/app/src/main/kotlin/com/pitchedapps/frost/contracts/DynamicUiContract.kt new file mode 100644 index 00000000..303c64b3 --- /dev/null +++ b/app/src/main/kotlin/com/pitchedapps/frost/contracts/DynamicUiContract.kt @@ -0,0 +1,30 @@ +package com.pitchedapps.frost.contracts + +/** + * Functions that will modify the current ui + */ +interface DynamicUiContract { + + /** + * Change all necessary view components to the new theme + * Also propagate where applicable + */ + fun reloadTheme() + + /** + * Change theme without propagation + */ + fun reloadThemeSelf() + + /** + * Change text size & propagate + */ + fun reloadTextSize() + + + /** + * Change text size without propagation + */ + fun reloadTextSizeSelf() + +}
\ No newline at end of file |