OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |