| OLD | NEW |
| 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 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" | 7 #include "xfa/fwl/theme/cfwl_monthcalendartp.h" |
| 8 | 8 |
| 9 #include "xfa/fde/tto/fde_textout.h" | 9 #include "xfa/fde/tto/fde_textout.h" |
| 10 #include "xfa/fwl/core/cfwl_monthcalendar.h" |
| 10 #include "xfa/fwl/core/cfwl_themebackground.h" | 11 #include "xfa/fwl/core/cfwl_themebackground.h" |
| 11 #include "xfa/fwl/core/cfwl_themetext.h" | 12 #include "xfa/fwl/core/cfwl_themetext.h" |
| 12 #include "xfa/fwl/core/ifwl_monthcalendar.h" | |
| 13 #include "xfa/fwl/core/ifwl_themeprovider.h" | 13 #include "xfa/fwl/core/ifwl_themeprovider.h" |
| 14 #include "xfa/fwl/core/ifwl_widget.h" | 14 #include "xfa/fwl/core/ifwl_widget.h" |
| 15 #include "xfa/fxgraphics/cfx_color.h" | 15 #include "xfa/fxgraphics/cfx_color.h" |
| 16 #include "xfa/fxgraphics/cfx_path.h" | 16 #include "xfa/fxgraphics/cfx_path.h" |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 const int kWidth = 200; | 20 const int kWidth = 200; |
| 21 const int kHeight = 160; | 21 const int kHeight = 160; |
| 22 | 22 |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 | 542 |
| 543 void CFWL_MonthCalendarTP::SetThemeData() { | 543 void CFWL_MonthCalendarTP::SetThemeData() { |
| 544 m_pThemeData->clrCaption = ArgbEncode(0xff, 0, 153, 255); | 544 m_pThemeData->clrCaption = ArgbEncode(0xff, 0, 153, 255); |
| 545 m_pThemeData->clrSeperator = ArgbEncode(0xff, 141, 161, 239); | 545 m_pThemeData->clrSeperator = ArgbEncode(0xff, 141, 161, 239); |
| 546 m_pThemeData->clrDatesHoverBK = ArgbEncode(0xff, 193, 211, 251); | 546 m_pThemeData->clrDatesHoverBK = ArgbEncode(0xff, 193, 211, 251); |
| 547 m_pThemeData->clrDatesSelectedBK = ArgbEncode(0xff, 173, 188, 239); | 547 m_pThemeData->clrDatesSelectedBK = ArgbEncode(0xff, 173, 188, 239); |
| 548 m_pThemeData->clrDatesCircle = ArgbEncode(0xff, 103, 144, 209); | 548 m_pThemeData->clrDatesCircle = ArgbEncode(0xff, 103, 144, 209); |
| 549 m_pThemeData->clrToday = ArgbEncode(0xff, 0, 0, 0); | 549 m_pThemeData->clrToday = ArgbEncode(0xff, 0, 0, 0); |
| 550 m_pThemeData->clrBK = ArgbEncode(0xff, 255, 255, 255); | 550 m_pThemeData->clrBK = ArgbEncode(0xff, 255, 255, 255); |
| 551 } | 551 } |
| OLD | NEW |