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

Side by Side Diff: xfa/fwl/cfwl_themepart.h

Issue 2573133002: Remove unused widget state flags (Closed)
Patch Set: Rebase to master Created 4 years 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/cfwl_form.cpp ('k') | xfa/fwl/cfwl_widget.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 XFA_FWL_CFWL_THEMEPART_H_ 7 #ifndef XFA_FWL_CFWL_THEMEPART_H_
8 #define XFA_FWL_CFWL_THEMEPART_H_ 8 #define XFA_FWL_CFWL_THEMEPART_H_
9 9
10 #include "core/fxcrt/fx_coordinates.h" 10 #include "core/fxcrt/fx_coordinates.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 enum CFWL_PartState { 61 enum CFWL_PartState {
62 CFWL_PartState_Normal = 0, 62 CFWL_PartState_Normal = 0,
63 63
64 CFWL_PartState_Checked = 1 << 1, 64 CFWL_PartState_Checked = 1 << 1,
65 CFWL_PartState_Default = 1 << 2, 65 CFWL_PartState_Default = 1 << 2,
66 CFWL_PartState_Disabled = 1 << 3, 66 CFWL_PartState_Disabled = 1 << 3,
67 CFWL_PartState_Flagged = 1 << 4, 67 CFWL_PartState_Flagged = 1 << 4,
68 CFWL_PartState_Focused = 1 << 5, 68 CFWL_PartState_Focused = 1 << 5,
69 CFWL_PartState_HightLight = 1 << 6, 69 CFWL_PartState_HightLight = 1 << 6,
70 CFWL_PartState_Hovered = 1 << 7, 70 CFWL_PartState_Hovered = 1 << 7,
71 CFWL_PartState_Inactive = 1 << 8,
72 CFWL_PartState_Neutral = 1 << 9, 71 CFWL_PartState_Neutral = 1 << 9,
73 CFWL_PartState_Pressed = 1 << 10, 72 CFWL_PartState_Pressed = 1 << 10,
74 CFWL_PartState_ReadOnly = 1 << 11, 73 CFWL_PartState_ReadOnly = 1 << 11,
75 CFWL_PartState_LSelected = 1 << 12, 74 CFWL_PartState_LSelected = 1 << 12,
76 CFWL_PartState_RSelected = 1 << 13, 75 CFWL_PartState_RSelected = 1 << 13,
77 CFWL_PartState_Selected = 1 << 14 76 CFWL_PartState_Selected = 1 << 14
78 }; 77 };
79 78
80 class CFWL_Widget; 79 class CFWL_Widget;
81 80
82 class CFWL_ThemePart { 81 class CFWL_ThemePart {
83 public: 82 public:
84 CFWL_ThemePart(); 83 CFWL_ThemePart();
85 84
86 CFX_Matrix m_matrix; 85 CFX_Matrix m_matrix;
87 CFX_RectF m_rtPart; 86 CFX_RectF m_rtPart;
88 CFWL_Widget* m_pWidget; 87 CFWL_Widget* m_pWidget;
89 CFWL_Part m_iPart; 88 CFWL_Part m_iPart;
90 uint32_t m_dwStates; 89 uint32_t m_dwStates;
91 bool m_bMaximize; 90 bool m_bMaximize;
92 bool m_bStaticBackground; 91 bool m_bStaticBackground;
93 void* m_pData; 92 void* m_pData;
94 }; 93 };
95 94
96 #endif // XFA_FWL_CFWL_THEMEPART_H_ 95 #endif // XFA_FWL_CFWL_THEMEPART_H_
OLDNEW
« no previous file with comments | « xfa/fwl/cfwl_form.cpp ('k') | xfa/fwl/cfwl_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698