| 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 #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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 #define PWL_DEFAULT_HEAVYGRAYCOLOR CPWL_Color(COLORTYPE_GRA
Y,0.50) | 166 #define PWL_DEFAULT_HEAVYGRAYCOLOR CPWL_Color(COLORTYPE_GRA
Y,0.50) |
| 167 #define PWL_DEFAULT_LIGHTGRAYCOLOR CPWL_Color(COLORTYPE_GRA
Y,0.75) | 167 #define PWL_DEFAULT_LIGHTGRAYCOLOR CPWL_Color(COLORTYPE_GRA
Y,0.75) |
| 168 #define PWL_TRIANGLE_HALFLEN 2.0f | 168 #define PWL_TRIANGLE_HALFLEN 2.0f |
| 169 #define PWL_CBBUTTON_TRIANGLE_HALFLEN 3.0f | 169 #define PWL_CBBUTTON_TRIANGLE_HALFLEN 3.0f |
| 170 #define PWL_INVALIDATE_INFLATE 2 | 170 #define PWL_INVALIDATE_INFLATE 2 |
| 171 | 171 |
| 172 class IPWL_SpellCheck | 172 class IPWL_SpellCheck |
| 173 { | 173 { |
| 174 public: | 174 public: |
| 175 virtual ~IPWL_SpellCheck() { } | 175 virtual ~IPWL_SpellCheck() { } |
| 176 » virtual FX_BOOL»» » » » » » CheckWor
d(FX_LPCSTR sWord) = 0; | 176 » virtual FX_BOOL»» » » » » » CheckWor
d(const FX_CHAR* sWord) = 0; |
| 177 » virtual void» » » » » » » SuggestW
ords(FX_LPCSTR sWord, CFX_ByteStringArray & sSuggest) = 0;» | 177 » virtual void» » » » » » » SuggestW
ords(const FX_CHAR* sWord, CFX_ByteStringArray & sSuggest) = 0;» |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 class IPWL_Provider | 180 class IPWL_Provider |
| 181 { | 181 { |
| 182 public: | 182 public: |
| 183 virtual ~IPWL_Provider() { } | 183 virtual ~IPWL_Provider() { } |
| 184 | 184 |
| 185 //get a matrix which map user space to CWnd client space | 185 //get a matrix which map user space to CWnd client space |
| 186 virtual CPDF_Matrix GetWindo
wMatrix(void* pAttachedData) = 0; | 186 virtual CPDF_Matrix GetWindo
wMatrix(void* pAttachedData) = 0; |
| 187 | 187 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |