Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: xfa/fwl/theme/formtp.cpp

Issue 1810563002: Move xfa/include/fxgraphics/fx_graphics.h to xfa/fxgraphics. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/theme/edittp.cpp ('k') | xfa/fwl/theme/listboxtp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/fde/tto/fde_textout.h" 9 #include "xfa/fde/tto/fde_textout.h"
10 #include "xfa/fxgraphics/cfx_color.h"
11 #include "xfa/fxgraphics/cfx_path.h"
10 #include "xfa/include/fwl/core/fwl_form.h" 12 #include "xfa/include/fwl/core/fwl_form.h"
11 #include "xfa/include/fwl/core/fwl_widget.h" 13 #include "xfa/include/fwl/core/fwl_widget.h"
12 14
13 #define FWLTHEME_CAPACITY_CXFormBorder 3 15 #define FWLTHEME_CAPACITY_CXFormBorder 3
14 #define FWLTHEME_CAPACITY_CYFormBorder 3 16 #define FWLTHEME_CAPACITY_CYFormBorder 3
15 #define FWLTHEME_CAPACITY_CYNarrowCaption 18 17 #define FWLTHEME_CAPACITY_CYNarrowCaption 18
16 #define FWLTHEME_CAPACITY_CYCaption 29 18 #define FWLTHEME_CAPACITY_CYCaption 29
17 #define FWLTHEME_CAPACITY_BigIconSize 32 19 #define FWLTHEME_CAPACITY_BigIconSize 32
18 #define FWLTHEME_CAPACITY_SmallIconSize 16 20 #define FWLTHEME_CAPACITY_SmallIconSize 16
19 #define FWLTHEME_CAPACITY_FormTextColor 0xFFFFFFFF 21 #define FWLTHEME_CAPACITY_FormTextColor 0xFFFFFFFF
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 path.AddRectangle(0, 5, 1, 15); 886 path.AddRectangle(0, 5, 1, 15);
885 DrawAxialShading(&gs, 0, 5, 0, 20, m_pThemeData->clrHeadBK[1][1], 887 DrawAxialShading(&gs, 0, 5, 0, 20, m_pThemeData->clrHeadBK[1][1],
886 m_pThemeData->clrHeadBK[1][2], &path); 888 m_pThemeData->clrHeadBK[1][2], &path);
887 path.Clear(); 889 path.Clear();
888 path.AddRectangle(0, 20, 1, FWLTHEME_CAPACITY_CYCaption - 19); 890 path.AddRectangle(0, 20, 1, FWLTHEME_CAPACITY_CYCaption - 19);
889 DrawAxialShading(&gs, 0, 20, 0, FWLTHEME_CAPACITY_CYCaption, 891 DrawAxialShading(&gs, 0, 20, 0, FWLTHEME_CAPACITY_CYCaption,
890 m_pThemeData->clrHeadBK[1][2], 892 m_pThemeData->clrHeadBK[1][2],
891 m_pThemeData->clrHeadBK[1][3], &path); 893 m_pThemeData->clrHeadBK[1][3], &path);
892 } 894 }
893 } 895 }
OLDNEW
« no previous file with comments | « xfa/fwl/theme/edittp.cpp ('k') | xfa/fwl/theme/listboxtp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698