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_FWL_CORE_IFWL_LISTBOX_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_LISTBOX_H_ |
8 #define XFA_FWL_CORE_IFWL_LISTBOX_H_ | 8 #define XFA_FWL_CORE_IFWL_LISTBOX_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool m_bLButtonDown; | 181 bool m_bLButtonDown; |
182 IFWL_ThemeProvider* m_pScrollBarTP; | 182 IFWL_ThemeProvider* m_pScrollBarTP; |
183 | 183 |
184 private: | 184 private: |
185 void OnFocusChanged(CFWL_Message* pMsg, bool bSet = true); | 185 void OnFocusChanged(CFWL_Message* pMsg, bool bSet = true); |
186 void OnLButtonDown(CFWL_MsgMouse* pMsg); | 186 void OnLButtonDown(CFWL_MsgMouse* pMsg); |
187 void OnLButtonUp(CFWL_MsgMouse* pMsg); | 187 void OnLButtonUp(CFWL_MsgMouse* pMsg); |
188 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg); | 188 void OnMouseWheel(CFWL_MsgMouseWheel* pMsg); |
189 void OnKeyDown(CFWL_MsgKey* pMsg); | 189 void OnKeyDown(CFWL_MsgKey* pMsg); |
190 void OnVK(CFWL_ListItem* hItem, bool bShift, bool bCtrl); | 190 void OnVK(CFWL_ListItem* hItem, bool bShift, bool bCtrl); |
191 bool OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); | 191 bool OnScroll(IFWL_ScrollBar* pScrollBar, FWL_SCBCODE dwCode, FX_FLOAT fPos); |
192 void DispatchSelChangedEv(); | 192 void DispatchSelChangedEv(); |
193 }; | 193 }; |
194 | 194 |
195 #endif // XFA_FWL_CORE_IFWL_LISTBOX_H_ | 195 #endif // XFA_FWL_CORE_IFWL_LISTBOX_H_ |
OLD | NEW |