Home
last modified time | relevance | path

Searched refs:isCloseBtn (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/
H A Dcontainer_modal_theme.h98 Color GetControlBtnColor(bool isCloseBtn, ControlBtnColorType type) in GetControlBtnColor() argument
103 btnColor = !isCloseBtn ? normalBtnBackgroundColor_.ChangeOpacity(1.0f) in GetControlBtnColor()
107 btnColor = !isCloseBtn ? normalBtnImageFillColor_.ChangeOpacity(1.0f) in GetControlBtnColor()
111 btnColor = !isCloseBtn ? normalBtnHoverBackgroundColor_.ChangeOpacity(0.05f) in GetControlBtnColor()
115 btnColor = !isCloseBtn ? normalBtnImageHoverFillColor_.ChangeOpacity(1.0f) in GetControlBtnColor()
119 btnColor = !isCloseBtn ? normalBtnPressedBackgroundColor_.ChangeOpacity(1.0f) in GetControlBtnColor()
123 btnColor = !isCloseBtn ? normalBtnImageFillColor_.ChangeOpacity(1.0f) in GetControlBtnColor()
127 btnColor = !isCloseBtn ? normalBtnUnfocusBackGroundColor_.ChangeOpacity(0.6f) in GetControlBtnColor()
131 btnColor = !isCloseBtn ? normalBtnImageFillColor_.ChangeOpacity(0.4f) in GetControlBtnColor()
H A Dcontainer_modal_view.cpp360 RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn) in AddButtonStyleMouseEvent() argument
364 AddButtonHoverEvent(inputHub, buttonNode, imageNode, isCloseBtn); in AddButtonStyleMouseEvent()
365 AddButtonOnEvent(inputHub, buttonNode, imageNode, isCloseBtn); in AddButtonStyleMouseEvent()
369 …tEventHub>& inputHub, RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn) in AddButtonHoverEvent() argument
389 sourceInfo->SetFillColor(theme->GetControlBtnColor(isCloseBtn, isHoverFillType)); in AddButtonHoverEvent()
390 if (isCloseBtn) { in AddButtonHoverEvent()
392 … renderContext->UpdateBackgroundColor(theme->GetControlBtnColor(isCloseBtn, isHoverType)); in AddButtonHoverEvent()
403 …tEventHub>& inputHub, RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn) in AddButtonOnEvent() argument
405 …k = [buttonWk = WeakClaim(RawPtr(buttonNode)), imageWk = WeakClaim(RawPtr(imageNode)), isCloseBtn]( in AddButtonOnEvent()
419 sourceInfo->SetFillColor(theme->GetControlBtnColor(isCloseBtn, isHoverFillType)); in AddButtonOnEvent()
[all …]
H A Dcontainer_modal_view.h38 …uttonStyleMouseEvent(RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn);
44 …EventHub>& inputHub, RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn);
46 …EventHub>& inputHub, RefPtr<FrameNode>& buttonNode, RefPtr<FrameNode>& imageNode, bool isCloseBtn);
H A Dcontainer_modal_pattern.h220 …t RefPtr<FrameNode>& buttonNode, InternalResource::ResourceId icon, bool isFocus, bool isCloseBtn);
H A Dcontainer_modal_pattern.cpp416 …st RefPtr<FrameNode>& buttonNode, InternalResource::ResourceId icon, bool isFocus, bool isCloseBtn) in ChangeTitleButtonIcon() argument
422 auto color = theme->GetControlBtnColor(isCloseBtn, colorType); in ChangeTitleButtonIcon()
429 color = theme->GetControlBtnColor(isCloseBtn, colorType); in ChangeTitleButtonIcon()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/
H A Dcontainer_modal_pattern_enhance.h62 …FrameNode>& buttonNode, InternalResource::ResourceId icon, bool isFocus, bool isCloseBtn) override;
H A Dcontainer_modal_pattern_enhance.cpp238 …st RefPtr<FrameNode>& buttonNode, InternalResource::ResourceId icon, bool isFocus, bool isCloseBtn) in ChangeTitleButtonIcon() argument
240 ContainerModalPattern::ChangeTitleButtonIcon(buttonNode, icon, isFocus, isCloseBtn); in ChangeTitleButtonIcon()