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

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

Issue 2488953003: Cleanup IFWL_Widget visibility and virtual parameters (Closed)
Patch Set: fixes Created 4 years, 1 month 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 "xfa/fgas/localization/fgas_datetime.h" 10 #include "xfa/fgas/localization/fgas_datetime.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 class IFWL_MonthCalendar : public IFWL_Widget { 51 class IFWL_MonthCalendar : public IFWL_Widget {
52 public: 52 public:
53 IFWL_MonthCalendar(const IFWL_App* app, 53 IFWL_MonthCalendar(const IFWL_App* app,
54 std::unique_ptr<CFWL_WidgetProperties> properties, 54 std::unique_ptr<CFWL_WidgetProperties> properties,
55 IFWL_Widget* pOuter); 55 IFWL_Widget* pOuter);
56 ~IFWL_MonthCalendar() override; 56 ~IFWL_MonthCalendar() override;
57 57
58 // FWL_WidgetImp 58 // FWL_WidgetImp
59 FWL_Type GetClassID() const override; 59 FWL_Type GetClassID() const override;
60 FWL_Error GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override; 60 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override;
61 FWL_Error Update() override; 61 void Update() override;
62 FWL_Error DrawWidget(CFX_Graphics* pGraphics, 62 void DrawWidget(CFX_Graphics* pGraphics,
63 const CFX_Matrix* pMatrix = nullptr) override; 63 const CFX_Matrix* pMatrix = nullptr) override;
64 void OnProcessMessage(CFWL_Message* pMessage) override; 64 void OnProcessMessage(CFWL_Message* pMessage) override;
65 void OnDrawWidget(CFX_Graphics* pGraphics, 65 void OnDrawWidget(CFX_Graphics* pGraphics,
66 const CFX_Matrix* pMatrix) override; 66 const CFX_Matrix* pMatrix) override;
67 67
68 int32_t CountSelect(); 68 int32_t CountSelect();
69 bool GetSelect(int32_t& iYear, 69 bool GetSelect(int32_t& iYear,
70 int32_t& iMonth, 70 int32_t& iMonth,
71 int32_t& iDay, 71 int32_t& iDay,
72 int32_t nIndex = 0); 72 int32_t nIndex = 0);
73 bool SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); 73 bool SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay);
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 ~FWL_DATEINFO(); 256 ~FWL_DATEINFO();
257 257
258 int32_t iDay; 258 int32_t iDay;
259 int32_t iDayOfWeek; 259 int32_t iDayOfWeek;
260 uint32_t dwStates; 260 uint32_t dwStates;
261 CFX_RectF rect; 261 CFX_RectF rect;
262 CFX_WideString wsDay; 262 CFX_WideString wsDay;
263 }; 263 };
264 264
265 #endif // XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_ 265 #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