aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/contracts/DynamicUiContract.kt
blob: 303c64b37316f4741ba9a1804287cf78d66c3e4b (plain)
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
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()

}