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

Side by Side Diff: xfa/fwl/core/ifwl_picturebox.cpp

Issue 2430923006: Move fwl/lightwidget to fwl/core (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fwl/core/ifwl_edit.h ('k') | xfa/fwl/lightwidget/cfwl_barcode.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/fwl/core/ifwl_picturebox.h" 7 #include "xfa/fwl/core/ifwl_picturebox.h"
8 8
9 #include "xfa/fwl/core/cfwl_picturebox.h"
9 #include "xfa/fwl/core/fwl_noteimp.h" 10 #include "xfa/fwl/core/fwl_noteimp.h"
10 #include "xfa/fwl/lightwidget/cfwl_picturebox.h"
11 11
12 IFWL_PictureBox::IFWL_PictureBox(const CFWL_WidgetImpProperties& properties) 12 IFWL_PictureBox::IFWL_PictureBox(const CFWL_WidgetImpProperties& properties)
13 : IFWL_Widget(properties, nullptr), 13 : IFWL_Widget(properties, nullptr),
14 m_bTop(FALSE), 14 m_bTop(FALSE),
15 m_bVCenter(FALSE), 15 m_bVCenter(FALSE),
16 m_bButton(FALSE) { 16 m_bButton(FALSE) {
17 m_rtClient.Reset(); 17 m_rtClient.Reset();
18 m_rtImage.Reset(); 18 m_rtImage.Reset();
19 m_matrix.SetIdentity(); 19 m_matrix.SetIdentity();
20 } 20 }
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 return FALSE; 132 return FALSE;
133 } 133 }
134 134
135 CFWL_PictureBoxImpDelegate::CFWL_PictureBoxImpDelegate(IFWL_PictureBox* pOwner) 135 CFWL_PictureBoxImpDelegate::CFWL_PictureBoxImpDelegate(IFWL_PictureBox* pOwner)
136 : m_pOwner(pOwner) {} 136 : m_pOwner(pOwner) {}
137 137
138 void CFWL_PictureBoxImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, 138 void CFWL_PictureBoxImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics,
139 const CFX_Matrix* pMatrix) { 139 const CFX_Matrix* pMatrix) {
140 m_pOwner->DrawWidget(pGraphics, pMatrix); 140 m_pOwner->DrawWidget(pGraphics, pMatrix);
141 } 141 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_edit.h ('k') | xfa/fwl/lightwidget/cfwl_barcode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698