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 _PWL_IconList_H_ | 7 #ifndef _PWL_IconList_H_ |
8 #define _PWL_IconList_H_ | 8 #define _PWL_IconList_H_ |
9 | 9 |
10 class IPWL_IconList_Notify; | 10 class IPWL_IconList_Notify; |
11 class CPWL_IconList_Item; | 11 class CPWL_IconList_Item; |
12 class CPWL_IconList_Content; | 12 class CPWL_IconList_Content; |
13 class CPWL_IconList; | 13 class CPWL_IconList; |
14 class CPWL_Label; | 14 class CPWL_Label; |
15 | 15 |
16 class IPWL_IconList_Notify | 16 class IPWL_IconList_Notify |
17 { | 17 { |
18 public: | 18 public: |
| 19 virtual ~IPWL_IconList_Notify() { } |
19 virtual void OnNoteListSelCha
nged(FX_INT32 nItemIndex) = 0; | 20 virtual void OnNoteListSelCha
nged(FX_INT32 nItemIndex) = 0; |
20 }; | 21 }; |
21 | 22 |
22 class CPWL_IconList_Item : public CPWL_Wnd | 23 class CPWL_IconList_Item : public CPWL_Wnd |
23 { | 24 { |
24 public: | 25 public: |
25 CPWL_IconList_Item(); | 26 CPWL_IconList_Item(); |
26 virtual ~CPWL_IconList_Item(); | 27 virtual ~CPWL_IconList_Item(); |
27 | 28 |
28 virtual CFX_ByteString GetClassName() const; | 29 virtual CFX_ByteString GetClassName() const; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 virtual void OnNotify(CPWL_Wn
d* pWnd, FX_DWORD msg, FX_INTPTR wParam = 0, FX_INTPTR lParam = 0); | 117 virtual void OnNotify(CPWL_Wn
d* pWnd, FX_DWORD msg, FX_INTPTR wParam = 0, FX_INTPTR lParam = 0); |
117 | 118 |
118 private: | 119 private: |
119 CPWL_IconList_Content* m_pListContent; | 120 CPWL_IconList_Content* m_pListContent; |
120 FX_INT32 m_nListC
ount; | 121 FX_INT32 m_nListC
ount; |
121 }; | 122 }; |
122 | 123 |
123 #endif //_PWL_IconList_H_ | 124 #endif //_PWL_IconList_H_ |
124 | 125 |
125 | 126 |
OLD | NEW |