| 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/formtp.h" | 7 #include "xfa/fwl/theme/cfwl_formtp.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_themebackground.h" | 10 #include "xfa/fwl/core/cfwl_themebackground.h" |
| 11 #include "xfa/fwl/core/cfwl_themepart.h" | 11 #include "xfa/fwl/core/cfwl_themepart.h" |
| 12 #include "xfa/fwl/core/cfwl_themetext.h" | 12 #include "xfa/fwl/core/cfwl_themetext.h" |
| 13 #include "xfa/fwl/core/ifwl_form.h" | 13 #include "xfa/fwl/core/ifwl_form.h" |
| 14 #include "xfa/fwl/core/ifwl_themeprovider.h" | 14 #include "xfa/fwl/core/ifwl_themeprovider.h" |
| 15 #include "xfa/fwl/core/ifwl_widget.h" | 15 #include "xfa/fwl/core/ifwl_widget.h" |
| 16 #include "xfa/fxgraphics/cfx_color.h" | 16 #include "xfa/fxgraphics/cfx_color.h" |
| 17 #include "xfa/fxgraphics/cfx_path.h" | 17 #include "xfa/fxgraphics/cfx_path.h" |
| (...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 path.AddRectangle(0, 5, 1, 15); | 890 path.AddRectangle(0, 5, 1, 15); |
| 891 DrawAxialShading(&gs, 0, 5, 0, 20, m_pThemeData->clrHeadBK[1][1], | 891 DrawAxialShading(&gs, 0, 5, 0, 20, m_pThemeData->clrHeadBK[1][1], |
| 892 m_pThemeData->clrHeadBK[1][2], &path); | 892 m_pThemeData->clrHeadBK[1][2], &path); |
| 893 path.Clear(); | 893 path.Clear(); |
| 894 path.AddRectangle(0, 20, 1, FWLTHEME_CAPACITY_CYCaption - 19); | 894 path.AddRectangle(0, 20, 1, FWLTHEME_CAPACITY_CYCaption - 19); |
| 895 DrawAxialShading(&gs, 0, 20, 0, FWLTHEME_CAPACITY_CYCaption, | 895 DrawAxialShading(&gs, 0, 20, 0, FWLTHEME_CAPACITY_CYCaption, |
| 896 m_pThemeData->clrHeadBK[1][2], | 896 m_pThemeData->clrHeadBK[1][2], |
| 897 m_pThemeData->clrHeadBK[1][3], &path); | 897 m_pThemeData->clrHeadBK[1][3], &path); |
| 898 } | 898 } |
| 899 } | 899 } |
| OLD | NEW |