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

Side by Side Diff: xfa/src/fwl/src/theme/comboboxtp.cpp

Issue 1570743002: XFA: Remove many relative includes in xfa/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 4 years, 11 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
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 "../../../foxitlib.h" 7 #include "xfa/src/foxitlib.h"
8 #define FWLTHEME_CAPACITY_ComboFormHandler 8.0f 8 #define FWLTHEME_CAPACITY_ComboFormHandler 8.0f
9 CFWL_ComboBoxTP::CFWL_ComboBoxTP() { 9 CFWL_ComboBoxTP::CFWL_ComboBoxTP() {
10 m_dwThemeID = 0; 10 m_dwThemeID = 0;
11 } 11 }
12 CFWL_ComboBoxTP::~CFWL_ComboBoxTP() {} 12 CFWL_ComboBoxTP::~CFWL_ComboBoxTP() {}
13 FX_BOOL CFWL_ComboBoxTP::IsValidWidget(IFWL_Widget* pWidget) { 13 FX_BOOL CFWL_ComboBoxTP::IsValidWidget(IFWL_Widget* pWidget) {
14 if (!pWidget) 14 if (!pWidget)
15 return FALSE; 15 return FALSE;
16 return pWidget->GetClassID() == FWL_CLASSHASH_ComboBox; 16 return pWidget->GetClassID() == FWL_CLASSHASH_ComboBox;
17 } 17 }
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 case FWL_CMBPARTSTATE_Disabled: { 143 case FWL_CMBPARTSTATE_Disabled: {
144 argbFill = 0xFFF0F0F0; 144 argbFill = 0xFFF0F0F0;
145 break; 145 break;
146 } 146 }
147 } 147 }
148 DrawArrow(pParams->m_pGraphics, &pParams->m_rtPart, FWLTHEME_DIRECTION_Down, 148 DrawArrow(pParams->m_pGraphics, &pParams->m_rtPart, FWLTHEME_DIRECTION_Down,
149 argbFill, bPressed, &pParams->m_matrix); 149 argbFill, bPressed, &pParams->m_matrix);
150 } 150 }
151 #endif 151 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698