7#ifndef FPDFSDK_PWL_CPWL_SPECIAL_BUTTON_H_
8#define FPDFSDK_PWL_CPWL_SPECIAL_BUTTON_H_
12#include "fpdfsdk/pwl/cpwl_button.h"
18 std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData);
29 std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData);
33 bool OnLButtonUp(
Mask<FWL_EVENTFLAG> nFlag,
const CFX_PointF& point)
override;
34 bool OnChar(uint16_t nChar,
Mask<FWL_EVENTFLAG> nFlag)
override;
37 void SetCheck(
bool bCheck) { m_bChecked = bCheck; }
40 bool m_bChecked =
false;
47 std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData);
51 bool OnLButtonUp(
Mask<FWL_EVENTFLAG> nFlag,
const CFX_PointF& point)
override;
52 bool OnChar(uint16_t nChar,
Mask<FWL_EVENTFLAG> nFlag)
override;
55 void SetCheck(
bool bCheck) { m_bChecked = bCheck; }
58 bool m_bChecked =
false;
~CFFL_CheckBox() override
bool IsDataChanged(const CPDFSDK_PageView *pPageView) override
bool OnKeyDown(FWL_VKEYCODE nKeyCode, Mask< FWL_EVENTFLAG > nFlags) override
std::unique_ptr< CPWL_Wnd > NewPWLWindow(const CPWL_Wnd::CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData) override
bool OnChar(CPDFSDK_Widget *pWidget, uint32_t nChar, Mask< FWL_EVENTFLAG > nFlags) override
bool OnLButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Widget *pWidget, Mask< FWL_EVENTFLAG > nFlags, const CFX_PointF &point) override
void SaveData(const CPDFSDK_PageView *pPageView) override
CFFL_CheckBox(CFFL_InteractiveFormFiller *pFormFiller, CPDFSDK_Widget *pWidget)
CPDFSDK_PageView * GetPageView() const
bool OnChar(uint16_t nChar, Mask< FWL_EVENTFLAG > nFlag) override
~CPWL_CheckBox() override
CPWL_CheckBox(const CreateParams &cp, std::unique_ptr< IPWL_FillerNotify::PerWindowData > pAttachedData)
void SetCheck(bool bCheck)
bool OnLButtonUp(Mask< FWL_EVENTFLAG > nFlag, const CFX_PointF &point) override
constexpr uint8_t kEscape
constexpr uint8_t kReturn
constexpr uint8_t kControlC
constexpr uint8_t kControlZ
constexpr uint8_t kBackspace
constexpr uint8_t kControlX
constexpr uint8_t kControlB
constexpr uint8_t kNewline
constexpr uint8_t kControlV
constexpr uint8_t kControlA