#include "fpdfsdk/formfiller/cffl_radiobutton.h"
#include <utility>
#include "constants/ascii.h"
#include "core/fpdfdoc/cpdf_formcontrol.h"
#include "core/fxcrt/check.h"
#include "fpdfsdk/cpdfsdk_widget.h"
#include "fpdfsdk/formfiller/cffl_formfield.h"
#include "fpdfsdk/pwl/cpwl_special_button.h"
#include "public/fpdf_fwlevent.h"
CFFL_RadioButton::CFFL_RadioButton(CFFL_InteractiveFormFiller* pFormFiller,
CPDFSDK_Widget* pWidget)
: … { … }
CFFL_RadioButton::~CFFL_RadioButton() = default;
std::unique_ptr<CPWL_Wnd> CFFL_RadioButton::NewPWLWindow(
const CPWL_Wnd::CreateParams& cp,
std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData) { … }
bool CFFL_RadioButton::OnKeyDown(FWL_VKEYCODE nKeyCode,
Mask<FWL_EVENTFLAG> nFlags) { … }
bool CFFL_RadioButton::OnChar(CPDFSDK_Widget* pWidget,
uint32_t nChar,
Mask<FWL_EVENTFLAG> nFlags) { … }
bool CFFL_RadioButton::OnLButtonUp(CPDFSDK_PageView* pPageView,
CPDFSDK_Widget* pWidget,
Mask<FWL_EVENTFLAG> nFlags,
const CFX_PointF& point) { … }
bool CFFL_RadioButton::IsDataChanged(const CPDFSDK_PageView* pPageView) { … }
void CFFL_RadioButton::SaveData(const CPDFSDK_PageView* pPageView) { … }
CPWL_RadioButton* CFFL_RadioButton::GetPWLRadioButton(
const CPDFSDK_PageView* pPageView) const { … }
CPWL_RadioButton* CFFL_RadioButton::CreateOrUpdatePWLRadioButton(
const CPDFSDK_PageView* pPageView) { … }