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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_EditCtrl.h

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 years, 6 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 | « fpdfsdk/include/pdfwindow/PWL_Edit.h ('k') | fpdfsdk/include/pdfwindow/PWL_FontMap.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 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_
9 9
10 #include "../../../core/include/fxcrt/fx_string.h" 10 #include "../../../core/include/fxcrt/fx_string.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual FX_BOOL OnLButtonUp(const CPDF_P oint & point, FX_DWORD nFlag); 74 virtual FX_BOOL OnLButtonUp(const CPDF_P oint & point, FX_DWORD nFlag);
75 virtual FX_BOOL OnMouseMove(const CPDF_P oint & point, FX_DWORD nFlag); 75 virtual FX_BOOL OnMouseMove(const CPDF_P oint & point, FX_DWORD nFlag);
76 virtual void OnNotify(CPWL_Wnd* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0); 76 virtual void OnNotify(CPWL_Wnd* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0);
77 77
78 virtual void CreateChildWnd(const PWL _CREATEPARAM & cp); 78 virtual void CreateChildWnd(const PWL _CREATEPARAM & cp);
79 virtual void RePosChildWnd(); 79 virtual void RePosChildWnd();
80 virtual void SetFontSize(FX_FLOAT fFo ntSize); 80 virtual void SetFontSize(FX_FLOAT fFo ntSize);
81 virtual FX_FLOAT GetFontSize() const; 81 virtual FX_FLOAT GetFontSize() const;
82 82
83 public: 83 public:
84 » virtual void» » » » » SetText(FX_LPCWSTR csTex t); 84 » virtual void» » » » » SetText(const FX_WCHAR* csText);
85 85
86 virtual void CopyText(); 86 virtual void CopyText();
87 virtual void PasteText(); 87 virtual void PasteText();
88 virtual void CutText(); 88 virtual void CutText();
89 89
90 CPDF_Rect GetContentRect() const; 90 CPDF_Rect GetContentRect() const;
91 void GetCaretPos(int3 2_t& x, int32_t& y) const; 91 void GetCaretPos(int3 2_t& x, int32_t& y) const;
92 FX_BOOL IsModified() con st; 92 FX_BOOL IsModified() con st;
93 93
94 CFX_WideString GetText() const; 94 CFX_WideString GetText() const;
(...skipping 29 matching lines...) Expand all
124 FX_BOOL CanRedo() const; 124 FX_BOOL CanRedo() const;
125 void Redo(); 125 void Redo();
126 void Undo(); 126 void Undo();
127 127
128 void SetReadyToInput( ); 128 void SetReadyToInput( );
129 protected: 129 protected:
130 virtual void ShowVScrollBar(FX_BOOL b Show); 130 virtual void ShowVScrollBar(FX_BOOL b Show);
131 131
132 virtual void InsertWord(FX_WORD word, int32_t nCharset); 132 virtual void InsertWord(FX_WORD word, int32_t nCharset);
133 virtual void InsertReturn(); 133 virtual void InsertReturn();
134 » virtual void» » » » » InsertText(FX_LPCWSTR cs Text); 134 » virtual void» » » » » InsertText(const FX_WCHA R* csText);
135 135
136 virtual void SetCursor(); 136 virtual void SetCursor();
137 FX_BOOL IsWndHorV(); 137 FX_BOOL IsWndHorV();
138 138
139 void Delete(); 139 void Delete();
140 void Backspace(); 140 void Backspace();
141 141
142 protected: 142 protected:
143 void GetCaretInfo(CPD F_Point & ptHead, CPDF_Point & ptFoot) const; 143 void GetCaretInfo(CPD F_Point & ptHead, CPDF_Point & ptFoot) const;
144 void SetCaret(FX_BOOL bVisible, const CPDF_Point & ptHead, const CPDF_Point & ptFoot); 144 void SetCaret(FX_BOOL bVisible, const CPDF_Point & ptHead, const CPDF_Point & ptFoot);
(...skipping 22 matching lines...) Expand all
167 CPWL_Caret* m_pEditCaret; 167 CPWL_Caret* m_pEditCaret;
168 FX_BOOL m_bMouseDown; 168 FX_BOOL m_bMouseDown;
169 IPWL_Edit_Notify* m_pEditNotify; 169 IPWL_Edit_Notify* m_pEditNotify;
170 170
171 private: 171 private:
172 int32_t m_nCharSet; 172 int32_t m_nCharSet;
173 int32_t m_nCodePage; 173 int32_t m_nCodePage;
174 }; 174 };
175 175
176 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_ 176 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDITCTRL_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Edit.h ('k') | fpdfsdk/include/pdfwindow/PWL_FontMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698