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

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

Issue 2505703003: Cleaning up nits in fwl/core files. (Closed)
Patch Set: 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
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_DATETIMEPICKER_H_ 7 #ifndef XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_
8 #define XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ 8 #define XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_
9 9
10 #include "xfa/fwl/core/cfwl_event.h" 10 #include "xfa/fwl/core/cfwl_event.h"
(...skipping 23 matching lines...) Expand all
34 class IFWL_FormProxy; 34 class IFWL_FormProxy;
35 35
36 FWL_EVENT_DEF(CFWL_Event_DtpDropDown, CFWL_EventType::DropDown) 36 FWL_EVENT_DEF(CFWL_Event_DtpDropDown, CFWL_EventType::DropDown)
37 37
38 FWL_EVENT_DEF(CFWL_Event_DtpCloseUp, CFWL_EventType::CloseUp) 38 FWL_EVENT_DEF(CFWL_Event_DtpCloseUp, CFWL_EventType::CloseUp)
39 39
40 FWL_EVENT_DEF(CFWL_Event_DtpEditChanged, 40 FWL_EVENT_DEF(CFWL_Event_DtpEditChanged,
41 CFWL_EventType::EditChanged, 41 CFWL_EventType::EditChanged,
42 CFX_WideString m_wsText;) 42 CFX_WideString m_wsText;)
43 43
44 FWL_EVENT_DEF(CFWL_Event_DtpHoverChanged,
45 CFWL_EventType::HoverChanged,
46 int32_t hoverday;)
47
48 FWL_EVENT_DEF(CFWL_Event_DtpSelectChanged, 44 FWL_EVENT_DEF(CFWL_Event_DtpSelectChanged,
49 CFWL_EventType::SelectChanged, 45 CFWL_EventType::SelectChanged,
50 int32_t iYear; 46 int32_t iYear;
51 int32_t iMonth; 47 int32_t iMonth;
52 int32_t iDay;) 48 int32_t iDay;)
53 49
54 class IFWL_DateTimePickerDP : public IFWL_DataProvider { 50 class IFWL_DateTimePickerDP : public IFWL_DataProvider {
55 public: 51 public:
56 virtual void GetToday(IFWL_Widget* pWidget, 52 virtual void GetToday(IFWL_Widget* pWidget,
57 int32_t& iYear, 53 int32_t& iYear,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 int32_t m_iCurMonth; 140 int32_t m_iCurMonth;
145 int32_t m_iCurDay; 141 int32_t m_iCurDay;
146 bool m_bLBtnDown; 142 bool m_bLBtnDown;
147 std::unique_ptr<IFWL_DateTimeEdit> m_pEdit; 143 std::unique_ptr<IFWL_DateTimeEdit> m_pEdit;
148 std::unique_ptr<IFWL_MonthCalendar> m_pMonthCal; 144 std::unique_ptr<IFWL_MonthCalendar> m_pMonthCal;
149 std::unique_ptr<IFWL_FormProxy> m_pForm; 145 std::unique_ptr<IFWL_FormProxy> m_pForm;
150 FX_FLOAT m_fBtn; 146 FX_FLOAT m_fBtn;
151 }; 147 };
152 148
153 #endif // XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ 149 #endif // XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698