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

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

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: 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_Utils.h ('k') | fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp » ('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_WND_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
9 9
10 #include "../../../core/include/fxcrt/fx_basic.h" 10 #include "../../../core/include/fxcrt/fx_basic.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 #define PNM_MOUSEMOVE 0x00000007L 100 #define PNM_MOUSEMOVE 0x00000007L
101 #define PNM_NOTERESET 0x00000008L 101 #define PNM_NOTERESET 0x00000008L
102 #define PNM_SETCARETINFO 0x00000009L 102 #define PNM_SETCARETINFO 0x00000009L
103 #define PNM_SELCHANGED 0x0000000AL 103 #define PNM_SELCHANGED 0x0000000AL
104 #define PNM_NOTEEDITCHANGED 0x0000000BL 104 #define PNM_NOTEEDITCHANGED 0x0000000BL
105 105
106 #define PWL_CLASSNAME_EDIT "CPWL_Edit" 106 #define PWL_CLASSNAME_EDIT "CPWL_Edit"
107 107
108 struct CPWL_Dash 108 struct CPWL_Dash
109 { 109 {
110 » CPWL_Dash(FX_INT32 dash, FX_INT32 gap, FX_INT32 phase) : nDash(dash), nG ap(gap), nPhase(phase) 110 » CPWL_Dash(int32_t dash, int32_t gap, int32_t phase) : nDash(dash), nGap( gap), nPhase(phase)
111 {} 111 {}
112 112
113 » FX_INT32» » » nDash; 113 » int32_t»» » nDash;
114 » FX_INT32» » » nGap; 114 » int32_t»» » nGap;
115 » FX_INT32» » » nPhase; 115 » int32_t»» » nPhase;
116 }; 116 };
117 117
118 struct PWL_CLASS CPWL_Color 118 struct PWL_CLASS CPWL_Color
119 { 119 {
120 » CPWL_Color(FX_INT32 type = COLORTYPE_TRANSPARENT, FX_FLOAT color1 = 0.0f , FX_FLOAT color2 = 0.0f, FX_FLOAT color3 = 0.0f, FX_FLOAT color4 = 0.0f) 120 » CPWL_Color(int32_t type = COLORTYPE_TRANSPARENT, FX_FLOAT color1 = 0.0f, FX_FLOAT color2 = 0.0f, FX_FLOAT color3 = 0.0f, FX_FLOAT color4 = 0.0f)
121 : nColorType(type), fColor1(color1), fColor2(color2), fColor3(co lor3), fColor4(color4) 121 : nColorType(type), fColor1(color1), fColor2(color2), fColor3(co lor3), fColor4(color4)
122 {} 122 {}
123 123
124 » CPWL_Color(FX_INT32 r, FX_INT32 g, FX_INT32 b) : 124 » CPWL_Color(int32_t r, int32_t g, int32_t b) :
125 nColorType(COLORTYPE_RGB), fColor1(r/255.0f), fColor2(g/255.0f), fColor3(b/255.0f), fColor4(0) 125 nColorType(COLORTYPE_RGB), fColor1(r/255.0f), fColor2(g/255.0f), fColor3(b/255.0f), fColor4(0)
126 {} 126 {}
127 127
128 » void ConvertColorType(FX_INT32 nColorType); 128 » void ConvertColorType(int32_t nColorType);
129 129
130 /* 130 /*
131 COLORTYPE_TRANSPARENT 131 COLORTYPE_TRANSPARENT
132 COLORTYPE_RGB 132 COLORTYPE_RGB
133 COLORTYPE_CMYK 133 COLORTYPE_CMYK
134 COLORTYPE_GRAY 134 COLORTYPE_GRAY
135 */ 135 */
136 » FX_INT32» » » » » nColorType; 136 » int32_t»» » » » nColorType;
137 FX_FLOAT fColor1,fColor2,fColor3, fColor4; 137 FX_FLOAT fColor1,fColor2,fColor3, fColor4;
138 }; 138 };
139 139
140 inline FX_BOOL operator == (const CPWL_Color &c1, const CPWL_Color &c2) 140 inline FX_BOOL operator == (const CPWL_Color &c1, const CPWL_Color &c2)
141 { 141 {
142 return c1.nColorType == c2.nColorType && 142 return c1.nColorType == c2.nColorType &&
143 c1.fColor1 - c2.fColor1 < 0.0001 && c1.fColor1 - c2.fColor1 > -0 .0001 && 143 c1.fColor1 - c2.fColor1 < 0.0001 && c1.fColor1 - c2.fColor1 > -0 .0001 &&
144 c1.fColor2 - c2.fColor2 < 0.0001 && c1.fColor2 - c2.fColor2 > -0 .0001 && 144 c1.fColor2 - c2.fColor2 < 0.0001 && c1.fColor2 - c2.fColor2 > -0 .0001 &&
145 c1.fColor3 - c2.fColor3 < 0.0001 && c1.fColor3 - c2.fColor3 > -0 .0001 && 145 c1.fColor3 - c2.fColor3 < 0.0001 && c1.fColor3 - c2.fColor3 > -0 .0001 &&
146 c1.fColor4 - c2.fColor4 < 0.0001 && c1.fColor4 - c2.fColor4 > -0 .0001; 146 c1.fColor4 - c2.fColor4 < 0.0001 && c1.fColor4 - c2.fColor4 > -0 .0001;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 /* 188 /*
189 0 L"&Undo\tCtrl+Z" 189 0 L"&Undo\tCtrl+Z"
190 1 L"&Redo\tCtrl+Shift+Z" 190 1 L"&Redo\tCtrl+Shift+Z"
191 2 L"Cu&t\tCtrl+X" 191 2 L"Cu&t\tCtrl+X"
192 3 L"&Copy\tCtrl+C" 192 3 L"&Copy\tCtrl+C"
193 4 L"&Paste\tCtrl+V" 193 4 L"&Paste\tCtrl+V"
194 5 L"&Delete" 194 5 L"&Delete"
195 6 L"&Select All\tCtrl+A" 195 6 L"&Select All\tCtrl+A"
196 */ 196 */
197 » virtual CFX_WideString» » » » » LoadPopupMenuStr ing(FX_INT32 nIndex) = 0; 197 » virtual CFX_WideString» » » » » LoadPopupMenuStr ing(int32_t nIndex) = 0;
198 }; 198 };
199 199
200 class IPWL_FocusHandler 200 class IPWL_FocusHandler
201 { 201 {
202 public: 202 public:
203 virtual ~IPWL_FocusHandler() { } 203 virtual ~IPWL_FocusHandler() { }
204 virtual void OnSetFoc us(CPWL_Wnd* pWnd) = 0; 204 virtual void OnSetFoc us(CPWL_Wnd* pWnd) = 0;
205 virtual void OnKillFo cus(CPWL_Wnd* pWnd) = 0; 205 virtual void OnKillFo cus(CPWL_Wnd* pWnd) = 0;
206 }; 206 };
207 207
(...skipping 27 matching lines...) Expand all
235 235
236 CPDF_Rect rcRectWnd; //required 236 CPDF_Rect rcRectWnd; //required
237 IFX_SystemHandler* pSystemHandler; //requir ed 237 IFX_SystemHandler* pSystemHandler; //requir ed
238 IFX_Edit_FontMap* pFontMap; //required for text window 238 IFX_Edit_FontMap* pFontMap; //required for text window
239 IPWL_Provider* pProvider; //required for self coordinate 239 IPWL_Provider* pProvider; //required for self coordinate
240 IPWL_FocusHandler* pFocusHandler; //option al 240 IPWL_FocusHandler* pFocusHandler; //option al
241 FX_DWORD dwFlags; //optional 241 FX_DWORD dwFlags; //optional
242 CPWL_Color sBackgroundColor; //optional 242 CPWL_Color sBackgroundColor; //optional
243 FX_HWND hAttachedWnd; //required for no-reader framework 243 FX_HWND hAttachedWnd; //required for no-reader framework
244 IPWL_SpellCheck* pSpellCheck; //requir ed for spellchecking 244 IPWL_SpellCheck* pSpellCheck; //requir ed for spellchecking
245 » FX_INT32» » » » nBorderStyle;» » » //optional 245 » int32_t»» » » nBorderStyle;» » » //option al
246 » FX_INT32» » » » dwBorderWidth;» » » //optional 246 » int32_t»» » » dwBorderWidth;» » » //option al
247 CPWL_Color sBorderColor; //optional 247 CPWL_Color sBorderColor; //optional
248 CPWL_Color sTextColor; //optional 248 CPWL_Color sTextColor; //optional
249 CPWL_Color sTextStrokeColor; //optional 249 CPWL_Color sTextStrokeColor; //optional
250 » FX_INT32» » » » nTransparency;» » » //optional 250 » int32_t»» » » nTransparency;» » » //option al
251 FX_FLOAT fFontSize; //optional 251 FX_FLOAT fFontSize; //optional
252 CPWL_Dash sDash; //optional 252 CPWL_Dash sDash; //optional
253 void* pAttachedData; //optional 253 void* pAttachedData; //optional
254 CPWL_Wnd* pParentWnd; //ignore 254 CPWL_Wnd* pParentWnd; //ignore
255 CPWL_MsgControl* pMsgControl; //ignore 255 CPWL_MsgControl* pMsgControl; //ignore
256 » FX_INT32» » » » eCursorType;» » » //ignore 256 » int32_t»» » » eCursorType;» » » //ignore
257 CPDF_Matrix mtChild; //ignore 257 CPDF_Matrix mtChild; //ignore
258 }; 258 };
259 259
260 class CPWL_Timer 260 class CPWL_Timer
261 { 261 {
262 public: 262 public:
263 CPWL_Timer(CPWL_TimerHandler* pAttached, IFX_SystemHandler* pSystemHandl er); 263 CPWL_Timer(CPWL_TimerHandler* pAttached, IFX_SystemHandler* pSystemHandl er);
264 virtual ~CPWL_Timer(); 264 virtual ~CPWL_Timer();
265 265
266 » FX_INT32» » » » » » » SetPWLTi mer(FX_INT32 nElapse); 266 » int32_t»» » » » » » SetPWLTimer(int3 2_t nElapse);
267 void KillPWLT imer(); 267 void KillPWLT imer();
268 » static void » » » » » » TimerProc(FX_INT 32 idEvent); 268 » static void » » » » » » TimerProc(int32_ t idEvent);
269 269
270 private: 270 private:
271 » FX_INT32» » » » » » » m_nTimer ID;» 271 » int32_t»» » » » » » m_nTimerID;»
272 CPWL_TimerHandler* m_pAttached; 272 CPWL_TimerHandler* m_pAttached;
273 IFX_SystemHandler* m_pSystemHandler ; 273 IFX_SystemHandler* m_pSystemHandler ;
274 }; 274 };
275 275
276 class PWL_CLASS CPWL_TimerHandler 276 class PWL_CLASS CPWL_TimerHandler
277 { 277 {
278 public: 278 public:
279 CPWL_TimerHandler(); 279 CPWL_TimerHandler();
280 virtual ~CPWL_TimerHandler(); 280 virtual ~CPWL_TimerHandler();
281 281
282 » void» » » » » » » » BeginTim er(FX_INT32 nElapse); 282 » void» » » » » » » » BeginTim er(int32_t nElapse);
283 void EndTimer (); 283 void EndTimer ();
284 virtual void TimerProc(); 284 virtual void TimerProc();
285 virtual IFX_SystemHandler* GetSystemHandler() const = 0; 285 virtual IFX_SystemHandler* GetSystemHandler() const = 0;
286 286
287 private: 287 private:
288 CPWL_Timer* m_pTimer ; 288 CPWL_Timer* m_pTimer ;
289 }; 289 };
290 290
291 class PWL_CLASS CPWL_Wnd : public CPWL_TimerHandler 291 class PWL_CLASS CPWL_Wnd : public CPWL_TimerHandler
292 { 292 {
(...skipping 24 matching lines...) Expand all
317 virtual FX_BOOL OnRButtonDown(const CPDF _Point & point, FX_DWORD nFlag); 317 virtual FX_BOOL OnRButtonDown(const CPDF _Point & point, FX_DWORD nFlag);
318 virtual FX_BOOL OnRButtonUp(const CPDF_P oint & point, FX_DWORD nFlag); 318 virtual FX_BOOL OnRButtonUp(const CPDF_P oint & point, FX_DWORD nFlag);
319 virtual FX_BOOL OnMouseMove(const CPDF_P oint & point, FX_DWORD nFlag); 319 virtual FX_BOOL OnMouseMove(const CPDF_P oint & point, FX_DWORD nFlag);
320 virtual FX_BOOL OnMouseWheel(short zDelt a, const CPDF_Point & point, FX_DWORD nFlag); 320 virtual FX_BOOL OnMouseWheel(short zDelt a, const CPDF_Point & point, FX_DWORD nFlag);
321 321
322 virtual void SetFocus(); 322 virtual void SetFocus();
323 virtual void KillFocus(); 323 virtual void KillFocus();
324 void SetCapture(); 324 void SetCapture();
325 void ReleaseCapture() ; 325 void ReleaseCapture() ;
326 326
327 » virtual void» » » » » OnNotify(CPWL_Wnd* pWnd, FX_DWORD msg, FX_INTPTR wParam = 0, FX_INTPTR lParam = 0); 327 » virtual void» » » » » OnNotify(CPWL_Wnd* pWnd, FX_DWORD msg, intptr_t wParam = 0, intptr_t lParam = 0);
328 virtual void SetTextColor(const CPWL_ Color & color); 328 virtual void SetTextColor(const CPWL_ Color & color);
329 virtual void SetTextStrokeColor(const CPWL_Color & color); 329 virtual void SetTextStrokeColor(const CPWL_Color & color);
330 virtual void SetVisible(FX_BOOL bVisi ble); 330 virtual void SetVisible(FX_BOOL bVisi ble);
331 331
332 virtual CPDF_Rect GetFocusRect() const; 332 virtual CPDF_Rect GetFocusRect() const;
333 virtual CPWL_Color GetBackgroundColor() con st; 333 virtual CPWL_Color GetBackgroundColor() con st;
334 virtual CPWL_Color GetBorderColor() const; 334 virtual CPWL_Color GetBorderColor() const;
335 virtual CPWL_Color GetTextColor() const; 335 virtual CPWL_Color GetTextColor() const;
336 virtual CPWL_Color GetTextStrokeColor() con st; 336 virtual CPWL_Color GetTextStrokeColor() con st;
337 virtual FX_FLOAT GetFontSize() const; 337 virtual FX_FLOAT GetFontSize() const;
338 » virtual FX_INT32» » » » GetInnerBorderWidth() co nst; 338 » virtual int32_t»» » » GetInnerBorderWidth() const;
339 » virtual CPWL_Color» » » » GetBorderLeftTopColor(FX _INT32 nBorderStyle) const; 339 » virtual CPWL_Color» » » » GetBorderLeftTopColor(in t32_t nBorderStyle) const;
340 » virtual CPWL_Color» » » » GetBorderRightBottomColo r(FX_INT32 nBorderStyle) const; 340 » virtual CPWL_Color» » » » GetBorderRightBottomColo r(int32_t nBorderStyle) const;
341 341
342 virtual FX_BOOL IsModified() const {retu rn FALSE;} 342 virtual FX_BOOL IsModified() const {retu rn FALSE;}
343 343
344 virtual void SetFontSize(FX_FLOAT fFo ntSize); 344 virtual void SetFontSize(FX_FLOAT fFo ntSize);
345 345
346 void SetBackgroundCol or(const CPWL_Color & color); 346 void SetBackgroundCol or(const CPWL_Color & color);
347 void SetBorderColor(c onst CPWL_Color & color); 347 void SetBorderColor(c onst CPWL_Color & color);
348 » void» » » » » » » SetBorderWidth(F X_INT32 nBorderWidth); 348 » void» » » » » » » SetBorderWidth(i nt32_t nBorderWidth);
349 void SetClipRect(cons t CPDF_Rect & rect); 349 void SetClipRect(cons t CPDF_Rect & rect);
350 » void» » » » » » » SetBorderStyle(F X_INT32 eBorderStyle);» 350 » void» » » » » » » SetBorderStyle(i nt32_t eBorderStyle);»
351 void SetBorderDash(co nst CPWL_Dash & sDash); 351 void SetBorderDash(co nst CPWL_Dash & sDash);
352 352
353 CPDF_Rect GetOriginWindowR ect() const; 353 CPDF_Rect GetOriginWindowR ect() const;
354 virtual CPDF_Rect GetWindowRect() const; 354 virtual CPDF_Rect GetWindowRect() const;
355 virtual CPDF_Rect GetClientRect() const; 355 virtual CPDF_Rect GetClientRect() const;
356 CPDF_Point GetCenterPoint() const; 356 CPDF_Point GetCenterPoint() const;
357 CPDF_Rect GetClientCenterS quare() const; 357 CPDF_Rect GetClientCenterS quare() const;
358 CPDF_Rect GetWindowCenterS quare() const; 358 CPDF_Rect GetWindowCenterS quare() const;
359 » FX_INT32» » » » » » GetBorderWidth() const;»» 359 » int32_t»» » » » » GetBorderWidth() const;» »
360 FX_BOOL IsVisible() cons t {return m_bVisible;} 360 FX_BOOL IsVisible() cons t {return m_bVisible;}
361 FX_BOOL HasFlag(FX_DWORD dwFlags) const; 361 FX_BOOL HasFlag(FX_DWORD dwFlags) const;
362 void AddFlag(FX_DWORD dwFlags); 362 void AddFlag(FX_DWORD dwFlags);
363 void RemoveFlag(FX_DW ORD dwFlags); 363 void RemoveFlag(FX_DW ORD dwFlags);
364 CPDF_Rect GetClipRect() co nst; 364 CPDF_Rect GetClipRect() co nst;
365 CPWL_Wnd* GetParentWindow( ) const; 365 CPWL_Wnd* GetParentWindow( ) const;
366 » FX_INT32» » » » » » GetBorderStyle() const;» 366 » int32_t»» » » » » GetBorderStyle() const;»
367 CPWL_Dash GetBorderDash() const; 367 CPWL_Dash GetBorderDash() const;
368 void* GetAttachedData( ) const; 368 void* GetAttachedData( ) const;
369 369
370 FX_BOOL WndHitTest(const CPDF_Point & point) const; 370 FX_BOOL WndHitTest(const CPDF_Point & point) const;
371 FX_BOOL ClientHitTest(co nst CPDF_Point & point) const; 371 FX_BOOL ClientHitTest(co nst CPDF_Point & point) const;
372 FX_BOOL IsCaptureMouse() const; 372 FX_BOOL IsCaptureMouse() const;
373 373
374 const CPWL_Wnd* GetFocused() const; 374 const CPWL_Wnd* GetFocused() const;
375 FX_BOOL IsFocused() cons t; 375 FX_BOOL IsFocused() cons t;
376 FX_BOOL IsReadOnly() con st; 376 FX_BOOL IsReadOnly() con st;
377 CPWL_ScrollBar* GetVScrollBar() const; 377 CPWL_ScrollBar* GetVScrollBar() const;
378 378
379 IFX_Edit_FontMap* GetFontMap() const; 379 IFX_Edit_FontMap* GetFontMap() const;
380 IPWL_Provider* GetProvider() const; 380 IPWL_Provider* GetProvider() const;
381 virtual IFX_SystemHandler* GetSystemHandler() const; 381 virtual IFX_SystemHandler* GetSystemHandler() const;
382 IPWL_FocusHandler* GetFocusHandler() const; 382 IPWL_FocusHandler* GetFocusHandler() const;
383 383
384 » FX_INT32» » » » » » GetTransparency( ); 384 » int32_t»» » » » » GetTransparency();
385 » void» » » » » » » SetTransparency( FX_INT32 nTransparency); 385 » void» » » » » » » SetTransparency( int32_t nTransparency);
386 386
387 CPDF_Matrix GetChildToRoot() const; 387 CPDF_Matrix GetChildToRoot() const;
388 CPDF_Matrix GetChildMatrix() const; 388 CPDF_Matrix GetChildMatrix() const;
389 void SetChildMatrix(c onst CPDF_Matrix& mt); 389 void SetChildMatrix(c onst CPDF_Matrix& mt);
390 CPDF_Matrix GetWindowMatrix( ) const; 390 CPDF_Matrix GetWindowMatrix( ) const;
391 391
392 virtual CPDF_Point ChildToParent(const CPDF _Point& point) const; 392 virtual CPDF_Point ChildToParent(const CPDF _Point& point) const;
393 virtual CPDF_Rect ChildToParent(const CPDF _Rect& rect) const; 393 virtual CPDF_Rect ChildToParent(const CPDF _Rect& rect) const;
394 virtual CPDF_Point ParentToChild(const CPDF _Point& point) const; 394 virtual CPDF_Point ParentToChild(const CPDF _Point& point) const;
395 virtual CPDF_Rect ParentToChild(const CPDF _Rect& rect) const; 395 virtual CPDF_Rect ParentToChild(const CPDF _Rect& rect) const;
(...skipping 28 matching lines...) Expand all
424 virtual void OnDisabled(); 424 virtual void OnDisabled();
425 425
426 void SetNotifyFlag(FX _BOOL bNotifying = TRUE){m_bNotifying = bNotifying;}; 426 void SetNotifyFlag(FX _BOOL bNotifying = TRUE){m_bNotifying = bNotifying;};
427 427
428 FX_BOOL IsValid() const; 428 FX_BOOL IsValid() const;
429 PWL_CREATEPARAM GetCreationParam() const ; 429 PWL_CREATEPARAM GetCreationParam() const ;
430 FX_BOOL IsNotifying() co nst {return m_bNotifying;} 430 FX_BOOL IsNotifying() co nst {return m_bNotifying;}
431 431
432 void InvalidateRectMo ve(const CPDF_Rect & rcOld, const CPDF_Rect & rcNew); 432 void InvalidateRectMo ve(const CPDF_Rect & rcOld, const CPDF_Rect & rcNew);
433 433
434 » void» » » » » » » PWLtoWnd(const C PDF_Point & point, FX_INT32& x, FX_INT32& y) const; 434 » void» » » » » » » PWLtoWnd(const C PDF_Point & point, int32_t& x, int32_t& y) const;
435 FX_RECT PWLtoWnd(const C PDF_Rect & rect) const; 435 FX_RECT PWLtoWnd(const C PDF_Rect & rect) const;
436 FX_HWND GetAttachedHWnd( ) const; 436 FX_HWND GetAttachedHWnd( ) const;
437 437
438 FX_BOOL IsWndCaptureMous e(const CPWL_Wnd * pWnd) const; 438 FX_BOOL IsWndCaptureMous e(const CPWL_Wnd * pWnd) const;
439 FX_BOOL IsWndCaptureKeyb oard(const CPWL_Wnd * pWnd) const; 439 FX_BOOL IsWndCaptureKeyb oard(const CPWL_Wnd * pWnd) const;
440 const CPWL_Wnd* GetRootWnd() const; 440 const CPWL_Wnd* GetRootWnd() const;
441 441
442 FX_BOOL IsCTRLpressed(FX _DWORD nFlag) const; 442 FX_BOOL IsCTRLpressed(FX _DWORD nFlag) const;
443 FX_BOOL IsSHIFTpressed(F X_DWORD nFlag) const; 443 FX_BOOL IsSHIFTpressed(F X_DWORD nFlag) const;
444 FX_BOOL IsALTpressed(FX_ DWORD nFlag) const; 444 FX_BOOL IsALTpressed(FX_ DWORD nFlag) const;
(...skipping 23 matching lines...) Expand all
468 CPDF_Rect m_rcWindow; 468 CPDF_Rect m_rcWindow;
469 CPDF_Rect m_rcClip; 469 CPDF_Rect m_rcClip;
470 470
471 FX_BOOL m_bCreated; 471 FX_BOOL m_bCreated;
472 FX_BOOL m_bVisible; 472 FX_BOOL m_bVisible;
473 FX_BOOL m_bNotifying; 473 FX_BOOL m_bNotifying;
474 FX_BOOL m_bEnabled; 474 FX_BOOL m_bEnabled;
475 }; 475 };
476 476
477 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ 477 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Utils.h ('k') | fpdfsdk/src/formfiller/FFL_CBA_Fontmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698