Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / include / fwl / lightwidget / caret.h
1 // Copyright 2014 PDFium Authors. All rights reserved.\r
2 // Use of this source code is governed by a BSD-style license that can be\r
3 // found in the LICENSE file.\r
4 \r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
6 \r
7 #ifndef _FWL_CARET_LIGHT_H\r
8 #define _FWL_CARET_LIGHT_H\r
9 class CFWL_Widget;\r
10 class CFWL_WidgetProperties;\r
11 class CFWL_Caret;\r
12 class CFWL_Caret : public CFWL_Widget\r
13 {\r
14 public:\r
15     static CFWL_Caret* Create();\r
16     FWL_ERR     Initialize(const CFWL_WidgetProperties *pProperties = NULL);\r
17     FWL_ERR     ShowCaret(FX_BOOL bFlag = TRUE);\r
18     FWL_ERR     GetFrequency(FX_DWORD &elapse);\r
19     FWL_ERR     SetFrequency(FX_DWORD elapse);\r
20     FWL_ERR     SetColor(CFX_Color crFill);\r
21 protected:\r
22     CFWL_Caret();\r
23     virtual ~CFWL_Caret();\r
24 };\r
25 #endif\r