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

Side by Side Diff: xfa/include/fwl/theme/utils.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 6 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/include/fwl/theme/pushbuttontp.h ('k') | xfa/include/fwl/theme/widgettp.h » ('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 #ifndef _FWL_THEME_UTILS_H 7 #ifndef _FWL_THEME_UTILS_H
8 #define _FWL_THEME_UTILS_H 8 #define _FWL_THEME_UTILS_H
9 #define THEME_XPSimilar 9 #define THEME_XPSimilar
10 enum FWLTHEME_EDGE { 10 enum FWLTHEME_EDGE {
(...skipping 10 matching lines...) Expand all
21 enum FWLTHEME_DIRECTION { 21 enum FWLTHEME_DIRECTION {
22 FWLTHEME_DIRECTION_Up = 0, 22 FWLTHEME_DIRECTION_Up = 0,
23 FWLTHEME_DIRECTION_Down, 23 FWLTHEME_DIRECTION_Down,
24 FWLTHEME_DIRECTION_Left, 24 FWLTHEME_DIRECTION_Left,
25 FWLTHEME_DIRECTION_Right 25 FWLTHEME_DIRECTION_Right
26 }; 26 };
27 typedef struct _FWLCOLOR { 27 typedef struct _FWLCOLOR {
28 union { 28 union {
29 FX_DWORD color; 29 FX_DWORD color;
30 struct { 30 struct {
31 FX_BYTE b; 31 uint8_t b;
32 FX_BYTE g; 32 uint8_t g;
33 FX_BYTE r; 33 uint8_t r;
34 FX_BYTE a; 34 uint8_t a;
35 }; 35 };
36 }; 36 };
37 37
38 _FWLCOLOR() 38 _FWLCOLOR()
39 { 39 {
40 color = 0; 40 color = 0;
41 } 41 }
42 _FWLCOLOR(FX_DWORD c) 42 _FWLCOLOR(FX_DWORD c)
43 { 43 {
44 color = c; 44 color = c;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 #define FWLTHEME_CAPACITY_EdgeSunken 2.0f 78 #define FWLTHEME_CAPACITY_EdgeSunken 2.0f
79 #define FWLTHEME_CAPACITY_FontSize 12.0f 79 #define FWLTHEME_CAPACITY_FontSize 12.0f
80 #define FWLTHEME_CAPACITY_LineHeight 12.0f 80 #define FWLTHEME_CAPACITY_LineHeight 12.0f
81 #define FWLTHEME_CAPACITY_TextColor (ArgbEncode(255, 0, 0, 0)) 81 #define FWLTHEME_CAPACITY_TextColor (ArgbEncode(255, 0, 0, 0))
82 #define FWLTHEME_CAPACITY_TextSelColor (ArgbEncode(255, 153, 193, 218)) 82 #define FWLTHEME_CAPACITY_TextSelColor (ArgbEncode(255, 153, 193, 218))
83 #define FWLTHEME_CAPACITY_TextDisColor (ArgbEncode(255, 172, 168, 153)) 83 #define FWLTHEME_CAPACITY_TextDisColor (ArgbEncode(255, 172, 168, 153))
84 #define FWLTHEME_CAPACITY_ScrollBarWidth 17.0f 84 #define FWLTHEME_CAPACITY_ScrollBarWidth 17.0f
85 #define FWLTHEME_CAPACITY_CXBorder 1.0f 85 #define FWLTHEME_CAPACITY_CXBorder 1.0f
86 #define FWLTHEME_CAPACITY_CYBorder 1.0f 86 #define FWLTHEME_CAPACITY_CYBorder 1.0f
87 #endif 87 #endif
OLDNEW
« no previous file with comments | « xfa/include/fwl/theme/pushbuttontp.h ('k') | xfa/include/fwl/theme/widgettp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698