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

Side by Side Diff: xfa/src/fwl/src/theme/widgettp.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 static void FWL_SetChildThemeID(IFWL_Widget* pParent, FX_DWORD dwThemeID) { 8 static void FWL_SetChildThemeID(IFWL_Widget* pParent, FX_DWORD dwThemeID) {
9 IFWL_WidgetMgr* pWidgetMgr = FWL_GetWidgetMgr(); 9 IFWL_WidgetMgr* pWidgetMgr = FWL_GetWidgetMgr();
10 IFWL_Widget* pChild = 10 IFWL_Widget* pChild =
11 pWidgetMgr->GetWidget(pParent, FWL_WGTRELATION_FirstChild); 11 pWidgetMgr->GetWidget(pParent, FWL_WGTRELATION_FirstChild);
12 while (pChild) { 12 while (pChild) {
13 IFWL_ThemeProvider* pTheme = pChild->GetThemeProvider(); 13 IFWL_ThemeProvider* pTheme = pChild->GetThemeProvider();
14 if (pTheme) { 14 if (pTheme) {
15 pTheme->SetThemeID(pChild, dwThemeID, FALSE); 15 pTheme->SetThemeID(pChild, dwThemeID, FALSE);
16 } 16 }
17 FWL_SetChildThemeID(pChild, dwThemeID); 17 FWL_SetChildThemeID(pChild, dwThemeID);
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 m_pColorData->clrEnd[0] = ArgbEncode(255, 175, 204, 251); 835 m_pColorData->clrEnd[0] = ArgbEncode(255, 175, 204, 251);
836 m_pColorData->clrEnd[1] = ArgbEncode(255, 185, 218, 251); 836 m_pColorData->clrEnd[1] = ArgbEncode(255, 185, 218, 251);
837 m_pColorData->clrEnd[2] = ArgbEncode(255, 210, 222, 235); 837 m_pColorData->clrEnd[2] = ArgbEncode(255, 210, 222, 235);
838 m_pColorData->clrEnd[3] = ArgbEncode(255, 243, 241, 236); 838 m_pColorData->clrEnd[3] = ArgbEncode(255, 243, 241, 236);
839 m_pColorData->clrSign[0] = ArgbEncode(255, 77, 97, 133); 839 m_pColorData->clrSign[0] = ArgbEncode(255, 77, 97, 133);
840 m_pColorData->clrSign[1] = ArgbEncode(255, 77, 97, 133); 840 m_pColorData->clrSign[1] = ArgbEncode(255, 77, 97, 133);
841 m_pColorData->clrSign[2] = ArgbEncode(255, 77, 97, 133); 841 m_pColorData->clrSign[2] = ArgbEncode(255, 77, 97, 133);
842 m_pColorData->clrSign[3] = ArgbEncode(255, 128, 128, 128); 842 m_pColorData->clrSign[3] = ArgbEncode(255, 128, 128, 128);
843 } 843 }
844 } 844 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698