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/include/fwl/theme/monthcalendartp.h" | 7 #include "xfa/include/fwl/theme/monthcalendartp.h" |
8 | 8 |
| 9 #include "xfa/fde/tto/fde_textout.h" |
9 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h" | 10 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h" |
10 #include "xfa/include/fwl/core/fwl_widget.h" | 11 #include "xfa/include/fwl/core/fwl_widget.h" |
11 #include "xfa/src/fde/tto/fde_textout.h" | |
12 | 12 |
13 #define FWL_THEMECAPACITY_MC_HEADER_WIDTH 200 | 13 #define FWL_THEMECAPACITY_MC_HEADER_WIDTH 200 |
14 #define FWL_THEMECAPACITY_MC_HEADER_HEIGHT 30 | 14 #define FWL_THEMECAPACITY_MC_HEADER_HEIGHT 30 |
15 #define FWL_THEMECAPACITY_MC_HEADER_BTN_WIDTH 18 | 15 #define FWL_THEMECAPACITY_MC_HEADER_BTN_WIDTH 18 |
16 #define FWL_THEMECAPACITY_MC_HEADER_BTN_HEIGHT 16 | 16 #define FWL_THEMECAPACITY_MC_HEADER_BTN_HEIGHT 16 |
17 #define FWL_THEMECAPACITY_MC_HEADER_BTN_HMARGIN 5 | 17 #define FWL_THEMECAPACITY_MC_HEADER_BTN_HMARGIN 5 |
18 #define FWL_THEMECAPACITY_MC_HEADER_BTN_VMARGIN \ | 18 #define FWL_THEMECAPACITY_MC_HEADER_BTN_VMARGIN \ |
19 (FWL_THEMECAPACITY_MC_HEADER_HEIGHT - \ | 19 (FWL_THEMECAPACITY_MC_HEADER_HEIGHT - \ |
20 FWL_THEMECAPACITY_MC_HEADER_BTN_HEIGHT) / \ | 20 FWL_THEMECAPACITY_MC_HEADER_BTN_HEIGHT) / \ |
21 2 | 21 2 |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 } else { | 573 } else { |
574 m_pThemeData->clrCaption = ArgbEncode(0xff, 128, 128, 0); | 574 m_pThemeData->clrCaption = ArgbEncode(0xff, 128, 128, 0); |
575 m_pThemeData->clrSeperator = ArgbEncode(0xff, 128, 128, 64); | 575 m_pThemeData->clrSeperator = ArgbEncode(0xff, 128, 128, 64); |
576 m_pThemeData->clrDatesHoverBK = ArgbEncode(0xff, 217, 220, 191); | 576 m_pThemeData->clrDatesHoverBK = ArgbEncode(0xff, 217, 220, 191); |
577 m_pThemeData->clrDatesSelectedBK = ArgbEncode(0xff, 204, 208, 183); | 577 m_pThemeData->clrDatesSelectedBK = ArgbEncode(0xff, 204, 208, 183); |
578 m_pThemeData->clrDatesCircle = ArgbEncode(0xff, 128, 128, 0); | 578 m_pThemeData->clrDatesCircle = ArgbEncode(0xff, 128, 128, 0); |
579 m_pThemeData->clrToday = ArgbEncode(0xff, 0, 0, 0); | 579 m_pThemeData->clrToday = ArgbEncode(0xff, 0, 0, 0); |
580 m_pThemeData->clrBK = ArgbEncode(0xff, 255, 255, 255); | 580 m_pThemeData->clrBK = ArgbEncode(0xff, 255, 255, 255); |
581 } | 581 } |
582 } | 582 } |
OLD | NEW |