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

Side by Side Diff: xfa/include/fxfa/fxfa_widget.h

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/include/fxfa/fxfa_objectacc.h ('k') | no next file » | 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 #ifndef XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ 7 #ifndef XFA_INCLUDE_FXFA_FXFA_WIDGET_H_
8 #define XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ 8 #define XFA_INCLUDE_FXFA_FXFA_WIDGET_H_
9 9
10 #include "xfa/include/fxfa/fxfa_objectacc.h" 10 #include "xfa/include/fxfa/fxfa_objectacc.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 FX_BOOL LoadImageEditImage(); 58 FX_BOOL LoadImageEditImage();
59 void GetImageDpi(int32_t& iImageXDpi, int32_t& iImageYDpi); 59 void GetImageDpi(int32_t& iImageXDpi, int32_t& iImageYDpi);
60 void GetImageEditDpi(int32_t& iImageXDpi, int32_t& iImageYDpi); 60 void GetImageEditDpi(int32_t& iImageXDpi, int32_t& iImageYDpi);
61 CXFA_TextLayout* GetCaptionTextLayout(); 61 CXFA_TextLayout* GetCaptionTextLayout();
62 CXFA_TextLayout* GetTextLayout(); 62 CXFA_TextLayout* GetTextLayout();
63 CFX_DIBitmap* GetImageImage(); 63 CFX_DIBitmap* GetImageImage();
64 CFX_DIBitmap* GetImageEditImage(); 64 CFX_DIBitmap* GetImageEditImage();
65 void SetImageImage(CFX_DIBitmap* newImage); 65 void SetImageImage(CFX_DIBitmap* newImage);
66 void SetImageEditImage(CFX_DIBitmap* newImage); 66 void SetImageEditImage(CFX_DIBitmap* newImage);
67 void UpdateUIDisplay(CXFA_FFWidget* pExcept = NULL); 67 void UpdateUIDisplay(CXFA_FFWidget* pExcept = NULL);
68 void NotifyEvent(FX_DWORD dwEvent, 68 void NotifyEvent(uint32_t dwEvent,
69 CXFA_FFWidget* pWidget = NULL, 69 CXFA_FFWidget* pWidget = NULL,
70 void* pParam = NULL, 70 void* pParam = NULL,
71 void* pAdditional = NULL); 71 void* pAdditional = NULL);
72 72
73 CXFA_Node* GetDatasets(); 73 CXFA_Node* GetDatasets();
74 IFX_Font* GetFDEFont(); 74 IFX_Font* GetFDEFont();
75 FX_FLOAT GetFontSize(); 75 FX_FLOAT GetFontSize();
76 FX_ARGB GetTextColor(); 76 FX_ARGB GetTextColor();
77 FX_FLOAT GetLineHeight(); 77 FX_FLOAT GetLineHeight();
78 CXFA_WidgetLayoutData* GetWidgetLayoutData(); 78 CXFA_WidgetLayoutData* GetWidgetLayoutData();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 FX_FLOAT& fWidth, 111 FX_FLOAT& fWidth,
112 FX_FLOAT& fCalcHeight); 112 FX_FLOAT& fCalcHeight);
113 void InitLayoutData(); 113 void InitLayoutData();
114 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight); 114 void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight);
115 CXFA_FFDocView* m_pDocView; 115 CXFA_FFDocView* m_pDocView;
116 CXFA_WidgetLayoutData* m_pLayoutData; 116 CXFA_WidgetLayoutData* m_pLayoutData;
117 uint32_t m_nRecursionDepth; 117 uint32_t m_nRecursionDepth;
118 }; 118 };
119 119
120 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_ 120 #endif // XFA_INCLUDE_FXFA_FXFA_WIDGET_H_
OLDNEW
« no previous file with comments | « xfa/include/fxfa/fxfa_objectacc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698