| 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 FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ |
| 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ |
| 9 | 9 |
| 10 #include "../../../core/include/fxcrt/fx_string.h" | 10 #include "../../../core/include/fxcrt/fx_string.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 void SelectIt
em(int32_t nItemIndex, FX_BOOL bSelect); | 87 void SelectIt
em(int32_t nItemIndex, FX_BOOL bSelect); |
| 88 int32_t FindItemIndex(co
nst CPDF_Point& point); | 88 int32_t FindItemIndex(co
nst CPDF_Point& point); |
| 89 | 89 |
| 90 FX_BOOL m_nSelec
tIndex; | 90 FX_BOOL m_nSelec
tIndex; |
| 91 IPWL_IconList_Notify* m_pNotify; | 91 IPWL_IconList_Notify* m_pNotify; |
| 92 FX_BOOL m_bEnabl
eNotify; | 92 FX_BOOL m_bEnabl
eNotify; |
| 93 FX_BOOL m_bMouse
Down; | 93 FX_BOOL m_bMouse
Down; |
| 94 int32_t m_nListCount; | 94 int32_t m_nListCount; |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 class PWL_CLASS CPWL_IconList : public CPWL_Wnd | 97 class CPWL_IconList : public CPWL_Wnd |
| 98 { | 98 { |
| 99 public: | 99 public: |
| 100 CPWL_IconList(int32_t nListCount); | 100 CPWL_IconList(int32_t nListCount); |
| 101 virtual ~CPWL_IconList(); | 101 virtual ~CPWL_IconList(); |
| 102 | 102 |
| 103 virtual FX_BOOL OnMouseWheel(sho
rt zDelta, const CPDF_Point & point, FX_DWORD nFlag); | 103 virtual FX_BOOL OnMouseWheel(sho
rt zDelta, const CPDF_Point & point, FX_DWORD nFlag); |
| 104 | 104 |
| 105 void SetSelec
t(int32_t nIndex); | 105 void SetSelec
t(int32_t nIndex); |
| 106 void SetTopIt
em(int32_t nIndex); | 106 void SetTopIt
em(int32_t nIndex); |
| 107 int32_t GetSelect() cons
t; | 107 int32_t GetSelect() cons
t; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 119 virtual void CreateChildWnd(c
onst PWL_CREATEPARAM & cp); | 119 virtual void CreateChildWnd(c
onst PWL_CREATEPARAM & cp); |
| 120 | 120 |
| 121 virtual void OnNotify(CPWL_Wn
d* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0); | 121 virtual void OnNotify(CPWL_Wn
d* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0); |
| 122 | 122 |
| 123 private: | 123 private: |
| 124 CPWL_IconList_Content* m_pListContent; | 124 CPWL_IconList_Content* m_pListContent; |
| 125 int32_t m_nListCount; | 125 int32_t m_nListCount; |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ | 128 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_ICONLIST_H_ |
| OLD | NEW |