| Index: fpdfsdk/src/formfiller/FFL_PushButton.cpp
|
| diff --git a/fpdfsdk/src/formfiller/FFL_PushButton.cpp b/fpdfsdk/src/formfiller/FFL_PushButton.cpp
|
| index a5df48840cf17a11acf8d3d16b1174d9fec40eb9..533d7861772ef7ddcda8693d111a2e6ec2917ac4 100644
|
| --- a/fpdfsdk/src/formfiller/FFL_PushButton.cpp
|
| +++ b/fpdfsdk/src/formfiller/FFL_PushButton.cpp
|
| @@ -8,36 +8,33 @@
|
| #include "../../include/formfiller/FFL_FormFiller.h"
|
| #include "../../include/formfiller/FFL_PushButton.h"
|
|
|
| -/* ------------------------------- CFFL_PushButton ------------------------------- */
|
| +/* ------------------------------- CFFL_PushButton
|
| + * ------------------------------- */
|
|
|
| -CFFL_PushButton::CFFL_PushButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot):
|
| - CFFL_Button( pApp, pAnnot)
|
| -{
|
| -}
|
| +CFFL_PushButton::CFFL_PushButton(CPDFDoc_Environment* pApp,
|
| + CPDFSDK_Annot* pAnnot)
|
| + : CFFL_Button(pApp, pAnnot) {}
|
|
|
| -CFFL_PushButton::~CFFL_PushButton()
|
| -{
|
| -}
|
| +CFFL_PushButton::~CFFL_PushButton() {}
|
|
|
| -CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const PWL_CREATEPARAM& cp, CPDFSDK_PageView* pPageView)
|
| -{
|
| - CPWL_PushButton* pWnd = new CPWL_PushButton();
|
| - pWnd->Create(cp);
|
| +CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const PWL_CREATEPARAM& cp,
|
| + CPDFSDK_PageView* pPageView) {
|
| + CPWL_PushButton* pWnd = new CPWL_PushButton();
|
| + pWnd->Create(cp);
|
|
|
| - return pWnd;
|
| + return pWnd;
|
| }
|
|
|
| -
|
| -FX_BOOL CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags)
|
| -{
|
| - return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags);
|
| +FX_BOOL CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot,
|
| + FX_UINT nChar,
|
| + FX_UINT nFlags) {
|
| + return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags);
|
| }
|
|
|
| -void CFFL_PushButton::OnDraw(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot,
|
| - CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device,
|
| - FX_DWORD dwFlags)
|
| -{
|
| - CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
|
| +void CFFL_PushButton::OnDraw(CPDFSDK_PageView* pPageView,
|
| + CPDFSDK_Annot* pAnnot,
|
| + CFX_RenderDevice* pDevice,
|
| + CPDF_Matrix* pUser2Device,
|
| + FX_DWORD dwFlags) {
|
| + CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
|
| }
|
| -
|
| -
|
|
|