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 _FWL_CARET_LIGHT_H | 7 #ifndef _FWL_CARET_LIGHT_H |
8 #define _FWL_CARET_LIGHT_H | 8 #define _FWL_CARET_LIGHT_H |
9 class CFWL_Widget; | 9 class CFWL_Widget; |
10 class CFWL_WidgetProperties; | 10 class CFWL_WidgetProperties; |
11 class CFWL_Caret; | 11 class CFWL_Caret; |
12 class CFWL_Caret : public CFWL_Widget { | 12 class CFWL_Caret : public CFWL_Widget { |
13 public: | 13 public: |
14 static CFWL_Caret* Create(); | 14 static CFWL_Caret* Create(); |
15 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 15 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
16 FWL_ERR ShowCaret(FX_BOOL bFlag = TRUE); | 16 FWL_ERR ShowCaret(FX_BOOL bFlag = TRUE); |
17 FWL_ERR GetFrequency(FX_DWORD& elapse); | 17 FWL_ERR GetFrequency(FX_DWORD& elapse); |
18 FWL_ERR SetFrequency(FX_DWORD elapse); | 18 FWL_ERR SetFrequency(FX_DWORD elapse); |
19 FWL_ERR SetColor(CFX_Color crFill); | 19 FWL_ERR SetColor(CFX_Color crFill); |
20 | 20 |
21 protected: | 21 protected: |
22 CFWL_Caret(); | 22 CFWL_Caret(); |
23 virtual ~CFWL_Caret(); | 23 virtual ~CFWL_Caret(); |
24 }; | 24 }; |
25 #endif | 25 #endif |
OLD | NEW |