| 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/include/fwl/theme/formtp.h" |
| 8 | 8 |
| 9 #include "xfa/include/fwl/core/fwl_form.h" | 9 #include "xfa/include/fwl/core/fwl_form.h" |
| 10 #include "xfa/include/fwl/core/fwl_widget.h" | 10 #include "xfa/include/fwl/core/fwl_widget.h" |
| (...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 path.AddRectangle(0, 5, 1, 15); | 884 path.AddRectangle(0, 5, 1, 15); |
| 885 DrawAxialShading(&gs, 0, 5, 0, 20, m_pThemeData->clrHeadBK[1][1], | 885 DrawAxialShading(&gs, 0, 5, 0, 20, m_pThemeData->clrHeadBK[1][1], |
| 886 m_pThemeData->clrHeadBK[1][2], &path); | 886 m_pThemeData->clrHeadBK[1][2], &path); |
| 887 path.Clear(); | 887 path.Clear(); |
| 888 path.AddRectangle(0, 20, 1, FWLTHEME_CAPACITY_CYCaption - 19); | 888 path.AddRectangle(0, 20, 1, FWLTHEME_CAPACITY_CYCaption - 19); |
| 889 DrawAxialShading(&gs, 0, 20, 0, FWLTHEME_CAPACITY_CYCaption, | 889 DrawAxialShading(&gs, 0, 20, 0, FWLTHEME_CAPACITY_CYCaption, |
| 890 m_pThemeData->clrHeadBK[1][2], | 890 m_pThemeData->clrHeadBK[1][2], |
| 891 m_pThemeData->clrHeadBK[1][3], &path); | 891 m_pThemeData->clrHeadBK[1][3], &path); |
| 892 } | 892 } |
| 893 } | 893 } |
| OLD | NEW |