7#ifndef XFA_FWL_CFWL_COMBOLIST_H_
8#define XFA_FWL_CFWL_COMBOLIST_H_
10#include "xfa/fwl/cfwl_listbox.h"
11#include "xfa/fwl/cfwl_widget.h"
21 int32_t
MatchItem(WideStringView wsMatch);
25 CFWL_ComboList(CFWL_App* app,
29 CFX_PointF ClientToOuter(
const CFX_PointF& point);
30 void OnDropListFocusChanged(
CFWL_Message* pMsg,
bool bSet);
31 void OnDropListMouseMove(CFWL_MessageMouse* pMsg);
32 void OnDropListLButtonDown(CFWL_MessageMouse* pMsg);
33 void OnDropListLButtonUp(CFWL_MessageMouse* pMsg);
34 bool OnDropListKey(CFWL_MessageKey* pKey);
35 void OnDropListKeyDown(CFWL_MessageKey* pKey);
37 bool m_bNotifyOwner =
true;
#define FWL_STYLEEXT_CMB_ListItemAlignMask
#define FWL_STYLEEXT_CMB_EditHAlignMask
#define FWL_STYLEEXT_CMB_EditVCenter
#define FWL_STYLEEXT_CMB_EditVFar
#define FWL_STYLEEXT_CMB_DropDown
#define FWL_STYLEEXT_CMB_ListItemCenterAlign
#define FWL_STYLEEXT_CMB_EditHCenter
#define FWL_STYLEEXT_CMB_EditVAlignMask
#define FWL_STYLEEXT_CMB_ReadOnly
#define FWL_STYLEEXT_CMB_EditJustified
#define FWL_STYLEEXT_EDT_VAlignMask
#define FWL_STYLEEXT_EDT_HAlignModeMask
#define FWL_STYLEEXT_EDT_HAlignMask
#define FWL_STYLEEXT_EDT_VNear
#define FWL_STYLEEXT_EDT_VCenter
#define FWL_STYLEEXT_EDT_ReadOnly
#define FWL_STYLEEXT_EDT_VFar
#define FWL_STYLEEXT_EDT_HNear
#define FWL_STYLEEXT_EDT_Justified
#define FWL_STYLEEXT_EDT_HCenter
#define FWL_STYLEEXT_LTB_CenterAlign
#define FWL_STYLEEXT_LTB_LeftAlign
StateRestorer(CFGAS_GEGraphics *graphics)
void ConcatMatrix(const CFX_Matrix &matrix)
void ProcessSelChanged(bool bLButtonUp)
void OnProcessMessage(CFWL_Message *pMessage) override
void DrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
WideString GetTextByIndex(int32_t iIndex) const
~CFWL_ComboBox() override
void EditModifyStyleExts(uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved)
FWL_Type GetClassID() const override
CFWL_ComboEdit * GetComboEdit() const
void AddString(const WideString &wsText)
FWL_WidgetHit HitTest(const CFX_PointF &point) override
void SetStates(uint32_t dwStates) override
absl::optional< WideString > EditCut()
bool EditCanSelectAll() const
void SetCurSel(int32_t iSel)
void RemoveStates(uint32_t dwStates) override
void OnProcessEvent(CFWL_Event *pEvent) override
CFX_RectF GetBBox() const
WideString GetEditText() const
int32_t GetCurrentSelection() const
absl::optional< WideString > EditCopy() const
void RemoveAt(int32_t iIndex)
void Trace(cppgc::Visitor *visitor) const override
bool EditPaste(const WideString &wsPaste)
int32_t GetCurSel() const
void SetEditText(const WideString &wsText)
void OnDrawWidget(CFGAS_GEGraphics *pGraphics, const CFX_Matrix &matrix) override
void ModifyStyleExts(uint32_t dwStyleExtsAdded, uint32_t dwStyleExtsRemoved) override
void OnProcessMessage(CFWL_Message *pMessage) override
~CFWL_ComboEdit() override
~CFWL_ComboList() override
void ChangeSelected(int32_t iSel)
void OnProcessMessage(CFWL_Message *pMessage) override
int32_t MatchItem(WideStringView wsMatch)
CFWL_Widget * GetSrcTarget() const
WideString GetText() const
int32_t CountItems(const CFWL_Widget *pWidget) const
const uint32_t m_dwKeyCodeOrChar
CFWL_MessageKillFocus(CFWL_Widget *pDstTarget)
const MouseCommand m_dwCmd
CFWL_Widget * GetDstTarget() const
CFX_Matrix(float a1, float b1, float c1, float d1, float e1, float f1)
void Concat(const CFX_Matrix &right)
void Offset(float dx, float dy)
bool IsEmpty(float fEpsilon) const
void Deflate(float off_left, float off_top, float off_right, float off_bottom)
void Inflate(float x, float y)
CFX_RectF & operator=(const CFX_RectF &other)=default
bool Contains(const PointType &p) const
constexpr CFX_RectF(float dst_left, float dst_top, float dst_width, float dst_height)
void Union(const CFX_RectF &rt)
virtual CFX_RectF GetUIMargin(const CFWL_ThemePart &pThemePart) const =0
virtual float GetScrollBarWidth() const =0
bool operator==(const WideString &other) const
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED