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/basewidget/ifwl_monthcalendar.h" | |
11 #include "xfa/fwl/core/cfwl_themebackground.h" | 10 #include "xfa/fwl/core/cfwl_themebackground.h" |
12 #include "xfa/fwl/core/cfwl_themetext.h" | 11 #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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 } else { | 556 } else { |
557 m_pThemeData->clrCaption = ArgbEncode(0xff, 128, 128, 0); | 557 m_pThemeData->clrCaption = ArgbEncode(0xff, 128, 128, 0); |
558 m_pThemeData->clrSeperator = ArgbEncode(0xff, 128, 128, 64); | 558 m_pThemeData->clrSeperator = ArgbEncode(0xff, 128, 128, 64); |
559 m_pThemeData->clrDatesHoverBK = ArgbEncode(0xff, 217, 220, 191); | 559 m_pThemeData->clrDatesHoverBK = ArgbEncode(0xff, 217, 220, 191); |
560 m_pThemeData->clrDatesSelectedBK = ArgbEncode(0xff, 204, 208, 183); | 560 m_pThemeData->clrDatesSelectedBK = ArgbEncode(0xff, 204, 208, 183); |
561 m_pThemeData->clrDatesCircle = ArgbEncode(0xff, 128, 128, 0); | 561 m_pThemeData->clrDatesCircle = ArgbEncode(0xff, 128, 128, 0); |
562 m_pThemeData->clrToday = ArgbEncode(0xff, 0, 0, 0); | 562 m_pThemeData->clrToday = ArgbEncode(0xff, 0, 0, 0); |
563 m_pThemeData->clrBK = ArgbEncode(0xff, 255, 255, 255); | 563 m_pThemeData->clrBK = ArgbEncode(0xff, 255, 255, 255); |
564 } | 564 } |
565 } | 565 } |
OLD | NEW |