#include "fpdfsdk/formfiller/cffl_button.h"
#include "core/fxcrt/check.h"
#include "fpdfsdk/cpdfsdk_widget.h"
CFFL_Button::CFFL_Button(CFFL_InteractiveFormFiller* pFormFiller,
CPDFSDK_Widget* pWidget)
: … { … }
CFFL_Button::~CFFL_Button() = default;
void CFFL_Button::OnMouseEnter(CPDFSDK_PageView* pPageView) { … }
void CFFL_Button::OnMouseExit(CPDFSDK_PageView* pPageView) { … }
bool CFFL_Button::OnLButtonDown(CPDFSDK_PageView* pPageView,
CPDFSDK_Widget* pWidget,
Mask<FWL_EVENTFLAG> nFlags,
const CFX_PointF& point) { … }
bool CFFL_Button::OnLButtonUp(CPDFSDK_PageView* pPageView,
CPDFSDK_Widget* pWidget,
Mask<FWL_EVENTFLAG> nFlags,
const CFX_PointF& point) { … }
bool CFFL_Button::OnMouseMove(CPDFSDK_PageView* pPageView,
Mask<FWL_EVENTFLAG> nFlags,
const CFX_PointF& point) { … }
void CFFL_Button::OnDraw(CPDFSDK_PageView* pPageView,
CPDFSDK_Widget* pWidget,
CFX_RenderDevice* pDevice,
const CFX_Matrix& mtUser2Device) { … }
void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView* pPageView,
CPDFSDK_Widget* pWidget,
CFX_RenderDevice* pDevice,
const CFX_Matrix& mtUser2Device) { … }