| 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/fxfa/app/xfa_ffapp.h" | 11 #include "xfa/fxfa/app/xfa_ffapp.h" |
| 12 #include "xfa/fxfa/app/xfa_ffwidget.h" | 12 #include "xfa/fxfa/app/xfa_ffwidget.h" |
| 13 #include "xfa/fxgraphics/cfx_color.h" |
| 13 #include "xfa/include/fwl/basewidget/fwl_barcode.h" | 14 #include "xfa/include/fwl/basewidget/fwl_barcode.h" |
| 14 #include "xfa/include/fwl/basewidget/fwl_caret.h" | 15 #include "xfa/include/fwl/basewidget/fwl_caret.h" |
| 15 #include "xfa/include/fwl/basewidget/fwl_checkbox.h" | 16 #include "xfa/include/fwl/basewidget/fwl_checkbox.h" |
| 16 #include "xfa/include/fwl/basewidget/fwl_combobox.h" | 17 #include "xfa/include/fwl/basewidget/fwl_combobox.h" |
| 17 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h" | 18 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h" |
| 18 #include "xfa/include/fwl/basewidget/fwl_edit.h" | 19 #include "xfa/include/fwl/basewidget/fwl_edit.h" |
| 19 #include "xfa/include/fwl/basewidget/fwl_listbox.h" | 20 #include "xfa/include/fwl/basewidget/fwl_listbox.h" |
| 20 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h" | 21 #include "xfa/include/fwl/basewidget/fwl_monthcalendar.h" |
| 21 #include "xfa/include/fwl/basewidget/fwl_picturebox.h" | 22 #include "xfa/include/fwl/basewidget/fwl_picturebox.h" |
| 22 #include "xfa/include/fwl/basewidget/fwl_pushbutton.h" | 23 #include "xfa/include/fwl/basewidget/fwl_pushbutton.h" |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 } | 416 } |
| 416 } | 417 } |
| 417 CFX_Color crLine(cr); | 418 CFX_Color crLine(cr); |
| 418 pParams->m_pGraphics->SetStrokeColor(&crLine); | 419 pParams->m_pGraphics->SetStrokeColor(&crLine); |
| 419 pParams->m_pGraphics->SetLineWidth(fWidth); | 420 pParams->m_pGraphics->SetLineWidth(fWidth); |
| 420 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); | 421 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); |
| 421 return TRUE; | 422 return TRUE; |
| 422 } | 423 } |
| 423 return CFWL_EditTP::DrawBackground(pParams); | 424 return CFWL_EditTP::DrawBackground(pParams); |
| 424 } | 425 } |
| OLD | NEW |