| Index: xfa/fwl/core/fwl_formimp.h
|
| diff --git a/xfa/fwl/core/fwl_formimp.h b/xfa/fwl/core/fwl_formimp.h
|
| index dccdf7f2afdb492d503261c74197ec683220fd81..103551cc2732ceb487a7bfc3efdf614ae00756ea 100644
|
| --- a/xfa/fwl/core/fwl_formimp.h
|
| +++ b/xfa/fwl/core/fwl_formimp.h
|
| @@ -69,24 +69,24 @@ class CFWL_FormImp : public CFWL_WidgetImp {
|
| public:
|
| CFWL_FormImp(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter);
|
| virtual ~CFWL_FormImp();
|
| - virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
|
| + virtual FWL_Error GetClassName(CFX_WideString& wsClass) const;
|
| virtual uint32_t GetClassID() const;
|
| virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const;
|
| - virtual FWL_ERR Initialize();
|
| - virtual FWL_ERR Finalize();
|
| + virtual FWL_Error Initialize();
|
| + virtual FWL_Error Finalize();
|
|
|
| - virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
|
| - virtual FWL_ERR GetClientRect(CFX_RectF& rect);
|
| - virtual FWL_ERR Update();
|
| + virtual FWL_Error GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
|
| + virtual FWL_Error GetClientRect(CFX_RectF& rect);
|
| + virtual FWL_Error Update();
|
| virtual uint32_t HitTest(FX_FLOAT fx, FX_FLOAT fy);
|
| - virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics,
|
| - const CFX_Matrix* pMatrix = NULL);
|
| + virtual FWL_Error DrawWidget(CFX_Graphics* pGraphics,
|
| + const CFX_Matrix* pMatrix = NULL);
|
| virtual FWL_FORMSIZE GetFormSize();
|
| - virtual FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize);
|
| + virtual FWL_Error SetFormSize(FWL_FORMSIZE eFormSize);
|
| virtual IFWL_Widget* DoModal();
|
| virtual IFWL_Widget* DoModal(uint32_t& dwCommandID);
|
| - virtual FWL_ERR EndDoModal();
|
| - virtual FWL_ERR SetBorderRegion(CFX_Path* pPath);
|
| + virtual FWL_Error EndDoModal();
|
| + virtual FWL_Error SetBorderRegion(CFX_Path* pPath);
|
| virtual void DrawBackground(CFX_Graphics* pGraphics,
|
| IFWL_ThemeProvider* pTheme);
|
| CFWL_WidgetImp* GetSubFocus();
|
| @@ -169,9 +169,9 @@ class CFWL_FormImpDelegate : public CFWL_WidgetImpDelegate {
|
| public:
|
| CFWL_FormImpDelegate(CFWL_FormImp* pOwner);
|
| int32_t OnProcessMessage(CFWL_Message* pMessage) override;
|
| - FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override;
|
| - FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
|
| - const CFX_Matrix* pMatrix = NULL) override;
|
| + FWL_Error OnProcessEvent(CFWL_Event* pEvent) override;
|
| + FWL_Error OnDrawWidget(CFX_Graphics* pGraphics,
|
| + const CFX_Matrix* pMatrix = NULL) override;
|
|
|
| protected:
|
| void OnLButtonDown(CFWL_MsgMouse* pMsg);
|
|
|