| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_CARET_H_ | |
| 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_CARET_H_ | |
| 9 | |
| 10 #include "xfa/fwl/core/fwl_error.h" | |
| 11 #include "xfa/fxgraphics/cfx_color.h" | |
| 12 #include "xfa/include/fwl/lightwidget/widget.h" | |
| 13 | |
| 14 class CFWL_Caret : public CFWL_Widget { | |
| 15 public: | |
| 16 static CFWL_Caret* Create(); | |
| 17 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | |
| 18 FWL_ERR ShowCaret(FX_BOOL bFlag = TRUE); | |
| 19 FWL_ERR GetFrequency(uint32_t& elapse); | |
| 20 FWL_ERR SetFrequency(uint32_t elapse); | |
| 21 FWL_ERR SetColor(CFX_Color crFill); | |
| 22 | |
| 23 protected: | |
| 24 CFWL_Caret(); | |
| 25 virtual ~CFWL_Caret(); | |
| 26 }; | |
| 27 | |
| 28 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_CARET_H_ | |
| OLD | NEW |