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/fwl/theme/cfwl_edittp.h" | 7 #include "xfa/fwl/theme/cfwl_edittp.h" |
8 | 8 |
9 #include "xfa/fwl/basewidget/ifwl_edit.h" | 9 #include "xfa/fwl/basewidget/ifwl_edit.h" |
10 #include "xfa/fwl/core/cfwl_themebackground.h" | 10 #include "xfa/fwl/core/cfwl_themebackground.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 CFX_Color crLine(cr); | 70 CFX_Color crLine(cr); |
71 pParams->m_pGraphics->SetStrokeColor(&crLine); | 71 pParams->m_pGraphics->SetStrokeColor(&crLine); |
72 pParams->m_pGraphics->SetLineWidth(fWidth); | 72 pParams->m_pGraphics->SetLineWidth(fWidth); |
73 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); | 73 pParams->m_pGraphics->StrokePath(pParams->m_pPath, &pParams->m_matrix); |
74 break; | 74 break; |
75 } | 75 } |
76 default: { break; } | 76 default: { break; } |
77 } | 77 } |
78 return TRUE; | 78 return TRUE; |
79 } | 79 } |
80 FWL_ERR CFWL_EditTP::Initialize() { | 80 FWL_Error CFWL_EditTP::Initialize() { |
81 InitTTO(); | 81 InitTTO(); |
82 return CFWL_WidgetTP::Initialize(); | 82 return CFWL_WidgetTP::Initialize(); |
83 } | 83 } |
84 FWL_ERR CFWL_EditTP::Finalize() { | 84 FWL_Error CFWL_EditTP::Finalize() { |
85 FinalizeTTO(); | 85 FinalizeTTO(); |
86 return CFWL_WidgetTP::Finalize(); | 86 return CFWL_WidgetTP::Finalize(); |
87 } | 87 } |
OLD | NEW |