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

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

Issue 2491443003: Fold IFWL_DateTimeCalendar into IFWL_MonthCalendar (Closed)
Patch Set: Rebase to master 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_datetimepicker.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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 FX_FLOAT m_fWeekNumHeigh; 231 FX_FLOAT m_fWeekNumHeigh;
232 FX_FLOAT m_fWeekWid; 232 FX_FLOAT m_fWeekWid;
233 FX_FLOAT m_fWeekHei; 233 FX_FLOAT m_fWeekHei;
234 FX_FLOAT m_fDateCellWid; 234 FX_FLOAT m_fDateCellWid;
235 FX_FLOAT m_fDateCellHei; 235 FX_FLOAT m_fDateCellHei;
236 FX_FLOAT m_fTodayWid; 236 FX_FLOAT m_fTodayWid;
237 FX_FLOAT m_fTodayHei; 237 FX_FLOAT m_fTodayHei;
238 FX_FLOAT m_fTodayFlagWid; 238 FX_FLOAT m_fTodayFlagWid;
239 FX_FLOAT m_fMCWid; 239 FX_FLOAT m_fMCWid;
240 FX_FLOAT m_fMCHei; 240 FX_FLOAT m_fMCHei;
241 bool m_bFlag;
241 242
242 private: 243 private:
243 void OnFocusChanged(CFWL_Message* pMsg, bool bSet);
244 void OnLButtonDown(CFWL_MsgMouse* pMsg); 244 void OnLButtonDown(CFWL_MsgMouse* pMsg);
245 void OnLButtonUp(CFWL_MsgMouse* pMsg); 245 void OnLButtonUp(CFWL_MsgMouse* pMsg);
246 void DisForm_OnLButtonUp(CFWL_MsgMouse* pMsg);
246 void OnMouseMove(CFWL_MsgMouse* pMsg); 247 void OnMouseMove(CFWL_MsgMouse* pMsg);
247 void OnMouseLeave(CFWL_MsgMouse* pMsg); 248 void OnMouseLeave(CFWL_MsgMouse* pMsg);
248 }; 249 };
249 250
250 struct FWL_DATEINFO { 251 struct FWL_DATEINFO {
251 FWL_DATEINFO(int32_t day, 252 FWL_DATEINFO(int32_t day,
252 int32_t dayofweek, 253 int32_t dayofweek,
253 uint32_t dwSt, 254 uint32_t dwSt,
254 CFX_RectF rc, 255 CFX_RectF rc,
255 CFX_WideString& wsday); 256 CFX_WideString& wsday);
256 ~FWL_DATEINFO(); 257 ~FWL_DATEINFO();
257 258
258 int32_t iDay; 259 int32_t iDay;
259 int32_t iDayOfWeek; 260 int32_t iDayOfWeek;
260 uint32_t dwStates; 261 uint32_t dwStates;
261 CFX_RectF rect; 262 CFX_RectF rect;
262 CFX_WideString wsDay; 263 CFX_WideString wsDay;
263 }; 264 };
264 265
265 #endif // XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_ 266 #endif // XFA_FWL_CORE_IFWL_MONTHCALENDAR_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_datetimepicker.cpp ('k') | xfa/fwl/core/ifwl_monthcalendar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698