Home
last modified time | relevance | path

Searched refs:colorMode (Results 1 – 4 of 4) sorted by relevance

/ide/tools/previewer/jsapp/
DJsApp.cpp37 colorMode(""), in JsApp()
145 colorMode = value; in SetArgsColorMode()
155 colorMode = commandColorMode; in ColorModeChanged()
160 return colorMode; in GetColorMode()
DJsApp.h72 std::string colorMode; variable
/ide/tools/previewer/jsapp/rich/
DJsAppImpl.cpp107 aceRunArgs.deviceConfig.colorMode = ColorMode::LIGHT; in ColorModeChanged()
109 aceRunArgs.deviceConfig.colorMode = ColorMode::DARK; in ColorModeChanged()
133 SetColorMode(args, colorMode); in SetJsAppArgs()
260 void JsAppImpl::SetColorMode(Platform::AceRunArgs& args, const std::string colorMode) const in SetColorMode()
262 ILOG("JsAppImpl::RunJsApp SetColorMode: %s", colorMode.c_str()); in SetColorMode()
263 if (colorMode == "dark") { in SetColorMode()
264 args.deviceConfig.colorMode = ColorMode::DARK; in SetColorMode()
266 args.deviceConfig.colorMode = ColorMode::LIGHT; in SetColorMode()
399 colorMode = value; in SetArgsColorMode()
419 return colorMode; in GetColorMode()
[all …]
/ide/tools/previewer/util/
DCommandParser.cpp568 string colorMode = Value("cm"); in IsColorModeValid() local
569 if (colorMode != "dark" && colorMode != "light") { in IsColorModeValid()