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

Side by Side Diff: xfa/fwl/core/ifwl_monthcalendar.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_listbox.cpp ('k') | xfa/fwl/core/ifwl_monthcalendar.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_MONTHCALENDAR_H_ 7 #ifndef XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_
8 #define XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_ 8 #define XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 17 matching lines...) Expand all
28 28
29 class IFWL_MonthCalendar : public IFWL_Widget { 29 class IFWL_MonthCalendar : public IFWL_Widget {
30 public: 30 public:
31 class DataProvider : public IFWL_Widget::DataProvider { 31 class DataProvider : public IFWL_Widget::DataProvider {
32 public: 32 public:
33 virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0; 33 virtual int32_t GetCurDay(IFWL_Widget* pWidget) = 0;
34 virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0; 34 virtual int32_t GetCurMonth(IFWL_Widget* pWidget) = 0;
35 virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0; 35 virtual int32_t GetCurYear(IFWL_Widget* pWidget) = 0;
36 }; 36 };
37 37
38 IFWL_MonthCalendar(const IFWL_App* app, 38 IFWL_MonthCalendar(const CFWL_App* app,
39 std::unique_ptr<CFWL_WidgetProperties> properties, 39 std::unique_ptr<CFWL_WidgetProperties> properties,
40 IFWL_Widget* pOuter); 40 IFWL_Widget* pOuter);
41 ~IFWL_MonthCalendar() override; 41 ~IFWL_MonthCalendar() override;
42 42
43 // FWL_WidgetImp 43 // FWL_WidgetImp
44 FWL_Type GetClassID() const override; 44 FWL_Type GetClassID() const override;
45 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override; 45 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
46 void Update() override; 46 void Update() override;
47 void DrawWidget(CFX_Graphics* pGraphics, 47 void DrawWidget(CFX_Graphics* pGraphics,
48 const CFX_Matrix* pMatrix = nullptr) override; 48 const CFX_Matrix* pMatrix = nullptr) override;
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 FX_FLOAT m_fDateCellHei; 226 FX_FLOAT m_fDateCellHei;
227 FX_FLOAT m_fTodayWid; 227 FX_FLOAT m_fTodayWid;
228 FX_FLOAT m_fTodayHei; 228 FX_FLOAT m_fTodayHei;
229 FX_FLOAT m_fTodayFlagWid; 229 FX_FLOAT m_fTodayFlagWid;
230 FX_FLOAT m_fMCWid; 230 FX_FLOAT m_fMCWid;
231 FX_FLOAT m_fMCHei; 231 FX_FLOAT m_fMCHei;
232 bool m_bFlag; 232 bool m_bFlag;
233 }; 233 };
234 234
235 #endif // XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_ 235 #endif // XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_listbox.cpp ('k') | xfa/fwl/core/ifwl_monthcalendar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698