「Change」
1、增加白天夜间模式切换 进入白天模式 CallerMoGoUiSettingManager.stepInDayMode() 退出白天模式 CallerMoGoUiSettingManager.stepOutDayMode() 监听换肤模式切换,需要实现IMoGoSkinModeChangeListener接口 CallerSkinModeListenerManager.INSTANCE.addListener(TAG, this); 移除换肤模式切换 2、增加切换白天、黑夜模式变换状态栏文字颜色 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.mogo.eagle.core.function.api.setting
|
||||
|
||||
import com.mogo.map.uicontroller.EnumMapUI
|
||||
|
||||
/**
|
||||
* MAP 模式改变监听
|
||||
* @author xiaoyuzhou
|
||||
* @date 2021/9/22 9:26 下午
|
||||
*/
|
||||
interface IMoGoMapModeChangeListener {
|
||||
/**
|
||||
* 当 地图 修改后的回调
|
||||
* @param styleMode
|
||||
* @see{EnumMapUI}
|
||||
*/
|
||||
fun onMapStyleModeChange(styleMode: EnumMapUI)
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.mogo.eagle.core.function.api.setting
|
||||
|
||||
/**
|
||||
* UI 皮肤模式改变监听
|
||||
* @author xiaoyuzhou
|
||||
* @date 2021/9/22 9:26 下午
|
||||
*/
|
||||
interface IMoGoSkinModeChangeListener {
|
||||
/**
|
||||
* 当皮肤颜色修改后的回调
|
||||
* @param skinMode 0--默认夜间模式,1-白天模式,2-节日模式(待开发,加载节日图片包)
|
||||
*/
|
||||
fun onSkinModeChange(skinMode: Int)
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.mogo.eagle.core.function.api.setting
|
||||
|
||||
/**
|
||||
* 设置UI相关的
|
||||
*
|
||||
* @author mogoauto
|
||||
*/
|
||||
interface MoGoUiSettingProvider {
|
||||
|
||||
/**
|
||||
* 进入 VR 模式
|
||||
*/
|
||||
fun stepInVrMode()
|
||||
|
||||
/**
|
||||
* 退出 VR 模式
|
||||
*/
|
||||
fun stepOutVrMode()
|
||||
|
||||
/**
|
||||
* 进入 皮肤 白天 模式
|
||||
*/
|
||||
fun stepInDayMode()
|
||||
|
||||
/**
|
||||
* 退出 皮肤 白天 模式
|
||||
*/
|
||||
fun stepOutDayMode()
|
||||
|
||||
/**
|
||||
* 获取 皮肤 模式
|
||||
*/
|
||||
fun getDayMode():Int
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user