7#ifndef XFA_FWL_CFWL_PUSHBUTTON_H_
8#define XFA_FWL_CFWL_PUSHBUTTON_H_
10#include "xfa/fwl/cfwl_widget.h"
19class CFWL_MessageMouse;
28 void SetStates(uint32_t dwStates)
override;
37 explicit CFWL_PushButton(CFWL_App* pApp);
41 void UpdateTextOutStyles();
44 void OnLButtonDown(CFWL_MessageMouse* pMsg);
45 void OnLButtonUp(CFWL_MessageMouse* pMsg);
46 void OnMouseMove(CFWL_MessageMouse* pMsg);
47 void OnMouseLeave(CFWL_MessageMouse* pMsg);
48 void OnKeyDown(CFWL_MessageKey* pMsg);
50 bool m_bBtnDown =
false;
58using pdfium::CFWL_PushButton;
CFX_Matrix & operator=(const CFX_Matrix &other)=default
CFX_RectF & operator=(const CFX_RectF &other)=default
CFWL_Widget * GetSrcTarget() const
const uint32_t m_dwKeyCodeOrChar
const MouseCommand m_dwCmd
CFWL_Widget * GetDstTarget() const
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED