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

Side by Side Diff: xfa/fxfa/app/xfa_fwltheme.cpp

Issue 1827923002: Move xfa/include/fwl/{core,basewidget} to xfa/fwl/{core,basewidget}. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/fxfa/app/xfa_fwltheme.h ('k') | xfa/include/fwl/adapter/fwl_adapternative.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 #include "xfa/fxfa/app/xfa_fwltheme.h" 7 #include "xfa/fxfa/app/xfa_fwltheme.h"
8 8
9 #include "xfa/fde/tto/fde_textout.h" 9 #include "xfa/fde/tto/fde_textout.h"
10 #include "xfa/fgas/crt/fgas_codepage.h" 10 #include "xfa/fgas/crt/fgas_codepage.h"
11 #include "xfa/fwl/basewidget/ifwl_barcode.h"
12 #include "xfa/fwl/basewidget/ifwl_caret.h"
13 #include "xfa/fwl/basewidget/ifwl_checkbox.h"
14 #include "xfa/fwl/basewidget/ifwl_combobox.h"
15 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h"
16 #include "xfa/fwl/basewidget/ifwl_edit.h"
17 #include "xfa/fwl/basewidget/ifwl_listbox.h"
18 #include "xfa/fwl/basewidget/ifwl_monthcalendar.h"
19 #include "xfa/fwl/basewidget/ifwl_picturebox.h"
20 #include "xfa/fwl/basewidget/ifwl_pushbutton.h"
21 #include "xfa/fwl/basewidget/ifwl_scrollbar.h"
22 #include "xfa/fwl/core/cfwl_themebackground.h"
23 #include "xfa/fwl/core/cfwl_themetext.h"
11 #include "xfa/fxfa/app/xfa_ffapp.h" 24 #include "xfa/fxfa/app/xfa_ffapp.h"
12 #include "xfa/fxfa/app/xfa_ffwidget.h" 25 #include "xfa/fxfa/app/xfa_ffwidget.h"
13 #include "xfa/fxgraphics/cfx_color.h" 26 #include "xfa/fxgraphics/cfx_color.h"
14 #include "xfa/include/fwl/basewidget/fwl_barcode.h"
15 #include "xfa/include/fwl/basewidget/fwl_caret.h"
16 #include "xfa/include/fwl/basewidget/fwl_checkbox.h"
17 #include "xfa/include/fwl/basewidget/fwl_combobox.h"
18 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h"
19 #include "xfa/include/fwl/basewidget/fwl_edit.h"
20 #include "xfa/include/fwl/basewidget/fwl_listbox.h"
21 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h"
22 #include "xfa/include/fwl/basewidget/fwl_picturebox.h"
23 #include "xfa/include/fwl/basewidget/fwl_pushbutton.h"
24 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h"
25 27
26 namespace { 28 namespace {
27 29
28 const FX_WCHAR* const g_FWLTheme_CalFonts[] = { 30 const FX_WCHAR* const g_FWLTheme_CalFonts[] = {
29 L"Arial", L"Courier New", L"DejaVu Sans", 31 L"Arial", L"Courier New", L"DejaVu Sans",
30 }; 32 };
31 33
32 } // namespace 34 } // namespace
33 35
34 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) { 36 CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget) {
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 } 423 }
422 } 424 }
423 CFX_Color crLine(cr); 425 CFX_Color crLine(cr);
424 pParams->m_pGraphics->SetStrokeColor(&crLine); 426 pParams->m_pGraphics->SetStrokeColor(&crLine);
425 pParams->m_pGraphics->SetLineWidth(fWidth); 427 pParams->m_pGraphics->SetLineWidth(fWidth);
426 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); 428 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix);
427 return TRUE; 429 return TRUE;
428 } 430 }
429 return CFWL_EditTP::DrawBackground(pParams); 431 return CFWL_EditTP::DrawBackground(pParams);
430 } 432 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fwltheme.h ('k') | xfa/include/fwl/adapter/fwl_adapternative.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698