mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-08-26 12:26:31 -04:00
xxx
Signed-off-by: zhirong <215782872@qq.com> Change-Id: I57ae1a835f2344d886d09e225cdd2183cb6b3aeb Signed-off-by: zhirong <215782872@qq.com>
This commit is contained in:
@@ -236,6 +236,7 @@ NativeValue* CreateJsWindowPropertiesObject(NativeEngine& engine, sptr<Window>&
|
|||||||
object->SetProperty("brightness", CreateJsValue(engine, window->GetBrightness()));
|
object->SetProperty("brightness", CreateJsValue(engine, window->GetBrightness()));
|
||||||
object->SetProperty("isTransparent", CreateJsValue(engine, window->IsTransparent()));
|
object->SetProperty("isTransparent", CreateJsValue(engine, window->IsTransparent()));
|
||||||
object->SetProperty("isRoundCorner", CreateJsValue(engine, false)); // empty method
|
object->SetProperty("isRoundCorner", CreateJsValue(engine, false)); // empty method
|
||||||
|
object->SetProperty("dimBehindValue", CreateJsValue(engine, 0));
|
||||||
return objValue;
|
return objValue;
|
||||||
}
|
}
|
||||||
static std::string GetHexColor(uint32_t color)
|
static std::string GetHexColor(uint32_t color)
|
||||||
|
|||||||
Reference in New Issue
Block a user