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_CARET_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_CARET_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_CARET_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_CARET_H_ |
9 | 9 |
10 #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" | 10 #include "fpdfsdk/pdfwindow/PWL_Wnd.h" |
11 | 11 |
12 struct PWL_CARET_INFO { | 12 struct PWL_CARET_INFO { |
13 public: | 13 public: |
14 PWL_CARET_INFO() : bVisible(FALSE), ptHead(0, 0), ptFoot(0, 0) {} | 14 PWL_CARET_INFO() : bVisible(FALSE), ptHead(0, 0), ptFoot(0, 0) {} |
15 | 15 |
16 FX_BOOL bVisible; | 16 FX_BOOL bVisible; |
17 CFX_FloatPoint ptHead; | 17 CFX_FloatPoint ptHead; |
18 CFX_FloatPoint ptFoot; | 18 CFX_FloatPoint ptFoot; |
19 }; | 19 }; |
20 | 20 |
(...skipping 22 matching lines...) Expand all Loading... |
43 CFX_FloatRect GetCaretRect() const; | 43 CFX_FloatRect GetCaretRect() const; |
44 | 44 |
45 FX_BOOL m_bFlash; | 45 FX_BOOL m_bFlash; |
46 CFX_FloatPoint m_ptHead; | 46 CFX_FloatPoint m_ptHead; |
47 CFX_FloatPoint m_ptFoot; | 47 CFX_FloatPoint m_ptFoot; |
48 FX_FLOAT m_fWidth; | 48 FX_FLOAT m_fWidth; |
49 int32_t m_nDelay; | 49 int32_t m_nDelay; |
50 CFX_FloatRect m_rcInvalid; | 50 CFX_FloatRect m_rcInvalid; |
51 }; | 51 }; |
52 | 52 |
53 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_CARET_H_ | 53 #endif // FPDFSDK_PDFWINDOW_PWL_CARET_H_ |
OLD | NEW |