Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: xfa/fwl/core/ifwl_listbox.h

Issue 2521303002: Rename IFWL_App to CFWL_App (Closed)
Patch Set: Rebase to master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/ifwl_formproxy.cpp ('k') | xfa/fwl/core/ifwl_listbox.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void SetItemCheckRect(IFWL_Widget* pWidget, 69 virtual void SetItemCheckRect(IFWL_Widget* pWidget,
70 CFWL_ListItem* pItem, 70 CFWL_ListItem* pItem,
71 const CFX_RectF& rtCheck) = 0; 71 const CFX_RectF& rtCheck) = 0;
72 virtual uint32_t GetItemCheckState(IFWL_Widget* pWidget, 72 virtual uint32_t GetItemCheckState(IFWL_Widget* pWidget,
73 CFWL_ListItem* pItem) = 0; 73 CFWL_ListItem* pItem) = 0;
74 virtual void SetItemCheckState(IFWL_Widget* pWidget, 74 virtual void SetItemCheckState(IFWL_Widget* pWidget,
75 CFWL_ListItem* pItem, 75 CFWL_ListItem* pItem,
76 uint32_t dwCheckState) = 0; 76 uint32_t dwCheckState) = 0;
77 }; 77 };
78 78
79 IFWL_ListBox(const IFWL_App* app, 79 IFWL_ListBox(const CFWL_App* app,
80 std::unique_ptr<CFWL_WidgetProperties> properties, 80 std::unique_ptr<CFWL_WidgetProperties> properties,
81 IFWL_Widget* pOuter); 81 IFWL_Widget* pOuter);
82 ~IFWL_ListBox() override; 82 ~IFWL_ListBox() override;
83 83
84 // IFWL_Widget 84 // IFWL_Widget
85 FWL_Type GetClassID() const override; 85 FWL_Type GetClassID() const override;
86 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override; 86 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
87 void Update() override; 87 void Update() override;
88 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy) override; 88 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy) override;
89 void DrawWidget(CFX_Graphics* pGraphics, 89 void DrawWidget(CFX_Graphics* pGraphics,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 uint32_t m_dwTTOStyles; 161 uint32_t m_dwTTOStyles;
162 int32_t m_iTTOAligns; 162 int32_t m_iTTOAligns;
163 CFWL_ListItem* m_hAnchor; 163 CFWL_ListItem* m_hAnchor;
164 FX_FLOAT m_fItemHeight; 164 FX_FLOAT m_fItemHeight;
165 FX_FLOAT m_fScorllBarWidth; 165 FX_FLOAT m_fScorllBarWidth;
166 bool m_bLButtonDown; 166 bool m_bLButtonDown;
167 IFWL_ThemeProvider* m_pScrollBarTP; 167 IFWL_ThemeProvider* m_pScrollBarTP;
168 }; 168 };
169 169
170 #endif // XFA_FWL_CORE_IFWL_LISTBOX_H_ 170 #endif // XFA_FWL_CORE_IFWL_LISTBOX_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_formproxy.cpp ('k') | xfa/fwl/core/ifwl_listbox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698