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 "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/fgas/font/cfgas_gefont.h" | 11 #include "xfa/fgas/font/cfgas_gefont.h" |
12 #include "xfa/fwl/core/cfwl_barcode.h" | 12 #include "xfa/fwl/cfwl_barcode.h" |
13 #include "xfa/fwl/core/cfwl_caret.h" | 13 #include "xfa/fwl/cfwl_caret.h" |
14 #include "xfa/fwl/core/cfwl_checkbox.h" | 14 #include "xfa/fwl/cfwl_checkbox.h" |
15 #include "xfa/fwl/core/cfwl_combobox.h" | 15 #include "xfa/fwl/cfwl_combobox.h" |
16 #include "xfa/fwl/core/cfwl_datetimepicker.h" | 16 #include "xfa/fwl/cfwl_datetimepicker.h" |
17 #include "xfa/fwl/core/cfwl_edit.h" | 17 #include "xfa/fwl/cfwl_edit.h" |
18 #include "xfa/fwl/core/cfwl_listbox.h" | 18 #include "xfa/fwl/cfwl_listbox.h" |
19 #include "xfa/fwl/core/cfwl_monthcalendar.h" | 19 #include "xfa/fwl/cfwl_monthcalendar.h" |
20 #include "xfa/fwl/core/cfwl_picturebox.h" | 20 #include "xfa/fwl/cfwl_picturebox.h" |
21 #include "xfa/fwl/core/cfwl_pushbutton.h" | 21 #include "xfa/fwl/cfwl_pushbutton.h" |
22 #include "xfa/fwl/core/cfwl_scrollbar.h" | 22 #include "xfa/fwl/cfwl_scrollbar.h" |
23 #include "xfa/fwl/core/cfwl_themebackground.h" | 23 #include "xfa/fwl/cfwl_themebackground.h" |
24 #include "xfa/fwl/core/cfwl_themetext.h" | 24 #include "xfa/fwl/cfwl_themetext.h" |
25 #include "xfa/fxfa/xfa_ffapp.h" | 25 #include "xfa/fxfa/xfa_ffapp.h" |
26 #include "xfa/fxfa/xfa_ffwidget.h" | 26 #include "xfa/fxfa/xfa_ffwidget.h" |
27 #include "xfa/fxgraphics/cfx_color.h" | 27 #include "xfa/fxgraphics/cfx_color.h" |
28 | 28 |
29 namespace { | 29 namespace { |
30 | 30 |
31 const FX_WCHAR* const g_FWLTheme_CalFonts[] = { | 31 const FX_WCHAR* const g_FWLTheme_CalFonts[] = { |
32 L"Arial", L"Courier New", L"DejaVu Sans", | 32 L"Arial", L"Courier New", L"DejaVu Sans", |
33 }; | 33 }; |
34 | 34 |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 case FWL_Type::PushButton: | 363 case FWL_Type::PushButton: |
364 return m_pPushButtonTP.get(); | 364 return m_pPushButtonTP.get(); |
365 case FWL_Type::Caret: | 365 case FWL_Type::Caret: |
366 return m_pCaretTP.get(); | 366 return m_pCaretTP.get(); |
367 case FWL_Type::Barcode: | 367 case FWL_Type::Barcode: |
368 return m_pBarcodeTP.get(); | 368 return m_pBarcodeTP.get(); |
369 default: | 369 default: |
370 return nullptr; | 370 return nullptr; |
371 } | 371 } |
372 } | 372 } |
OLD | NEW |