OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_SRC_FXFA_APP_XFA_FFCHOICELIST_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFCHOICELIST_H_ |
8 #define XFA_SRC_FXFA_APP_XFA_FFCHOICELIST_H_ | 8 #define XFA_FXFA_APP_XFA_FFCHOICELIST_H_ |
9 | 9 |
10 #include "xfa/src/fxfa/app/xfa_fffield.h" | 10 #include "xfa/fxfa/app/xfa_fffield.h" |
11 #include "xfa/src/fxfa/app/xfa_ffpageview.h" | 11 #include "xfa/fxfa/app/xfa_ffpageview.h" |
12 | 12 |
13 class CXFA_FFListBox : public CXFA_FFField { | 13 class CXFA_FFListBox : public CXFA_FFField { |
14 public: | 14 public: |
15 CXFA_FFListBox(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 15 CXFA_FFListBox(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
16 virtual ~CXFA_FFListBox(); | 16 virtual ~CXFA_FFListBox(); |
17 virtual FX_BOOL LoadWidget(); | 17 virtual FX_BOOL LoadWidget(); |
18 virtual FX_BOOL OnKillFocus(CXFA_FFWidget* pNewWidget); | 18 virtual FX_BOOL OnKillFocus(CXFA_FFWidget* pNewWidget); |
19 | 19 |
20 protected: | 20 protected: |
21 virtual FX_BOOL CommitData(); | 21 virtual FX_BOOL CommitData(); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 void DeleteItem(int32_t nIndex); | 86 void DeleteItem(int32_t nIndex); |
87 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); | 87 virtual int32_t OnProcessMessage(CFWL_Message* pMessage); |
88 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); | 88 virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent); |
89 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 89 virtual FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, |
90 const CFX_Matrix* pMatrix = NULL); | 90 const CFX_Matrix* pMatrix = NULL); |
91 | 91 |
92 protected: | 92 protected: |
93 IFWL_WidgetDelegate* m_pOldDelegate; | 93 IFWL_WidgetDelegate* m_pOldDelegate; |
94 }; | 94 }; |
95 | 95 |
96 #endif // XFA_SRC_FXFA_APP_XFA_FFCHOICELIST_H_ | 96 #endif // XFA_FXFA_APP_XFA_FFCHOICELIST_H_ |
OLD | NEW |