Home
last modified time | relevance | path

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

/MusicPlayer2/MusicPlayer2/
H A DMiniModeUserUi.cpp41 … std::shared_ptr<UiElement::Element> search_box = factory.CreateElement("searchBox", this); in InitUiPlaylist() local
42 search_box->height.FromString("26"); in InitUiPlaylist()
43 vertical_layout->AddChild(search_box); in InitUiPlaylist()
170 UiElement::SearchBox* search_box = dynamic_cast<UiElement::SearchBox*>(ele); in PointInControlArea() local
171 if (search_box != nullptr && search_box->GetRect().PtInRect(point)) in PointInControlArea()
H A DUserUi.h94 UiElement::SearchBox* search_box{ dynamic_cast<UiElement::SearchBox*>(element) }; in ClearSearchResult()
95 if (search_box != nullptr) in ClearSearchResult()
97 T* list_emelent = dynamic_cast<T*>(search_box->GetListElement()); in ClearSearchResult()
100 search_box->Clear(); in ClearSearchResult()
H A DUserUi.cpp138 UiElement::SearchBox* search_box{ dynamic_cast<UiElement::SearchBox*>(element) }; in InitSearchBox() local
139 if (search_box != nullptr) in InitSearchBox()
140 search_box->InitSearchBoxControl(pWnd); in InitSearchBox()
488 IterateAllElements<UiElement::SearchBox>([&](UiElement::SearchBox* search_box) ->bool { in SetCursor() argument
489 if (search_box->hover) in SetCursor()
H A DCPlayerUIBase.cpp3384 void CPlayerUIBase::DrawSearchBox(CRect rect, UiElement::SearchBox* search_box) in DrawSearchBox() argument
3388 if (search_box->hover) in DrawSearchBox()
3396 else if (theApp.m_app_setting_data.dark_mode || search_box->hover) in DrawSearchBox()
3408 std::wstring text = search_box->key_word; in DrawSearchBox()
3417 search_box->icon_rect = rect;; in DrawSearchBox()
3418 search_box->icon_rect.left = rect_text.right; in DrawSearchBox()
3419 if (search_box->key_word.empty()) in DrawSearchBox()
3421 DrawUiIcon(search_box->icon_rect, IconMgr::IT_Find); in DrawSearchBox()
3425 CRect btn_rect{ search_box->icon_rect }; in DrawSearchBox()
3427 DrawUIButton(btn_rect, search_box->clear_btn, IconMgr::IT_Close); in DrawSearchBox()
H A DCPlayerUIBase.h277 void DrawSearchBox(CRect rect, UiElement::SearchBox* search_box);
H A DUIElement.h340 void SetRelatedSearchBox(SearchBox* search_box) { related_search_box = search_box; } in SetRelatedSearchBox() argument
H A DMusicPlayerDlg.cpp2891 CWnd* search_box; in PreTranslateMessage() local
2893 search_box = &m_pFloatPlaylistDlg->GetSearchBox(); in PreTranslateMessage()
2895 search_box = &m_search_edit; in PreTranslateMessage()
2896 if (pMsg->hwnd != search_box->GetSafeHwnd()) //如果焦点在搜索框上,则不响应快捷键 in PreTranslateMessage()
2910 search_box->SetFocus(); in PreTranslateMessage()
2932 …if (pMsg->hwnd == search_box->GetSafeHwnd() && pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_E… in PreTranslateMessage()