ReactOS 0.4.15-dev-8413-gc1c91f2
ciccaret.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS Cicero
3 * LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4 * PURPOSE: Displaying Cicero caret
5 * COPYRIGHT: Copyright 2023 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
6 */
7
8#pragma once
9
11{
12protected:
19
20public:
21 enum { TIMER_ID = 0x4F83AF91 };
22 CicCaret();
23 virtual ~CicCaret();
24 operator HWND() const { return m_hWnd; }
25
27 void DestroyCaret();
28 void HideCaret();
29 void InvertCaret();
30 void OnTimer();
31 void SetCaretPos(POINT pt);
32 void SetBlinking(BOOL bBlinking);
33};
HWND hWnd
Definition: settings.c:17
CicCaret()
Definition: ciccaret.cpp:14
BOOL m_bCaretBlinking
Definition: ciccaret.h:17
HWND m_hWnd
Definition: ciccaret.h:13
POINT m_pt
Definition: ciccaret.h:15
UINT m_uCaretBlinkTimerID
Definition: ciccaret.h:14
void SetBlinking(BOOL bBlinking)
Definition: ciccaret.cpp:107
void HideCaret()
Definition: ciccaret.cpp:57
void DestroyCaret()
Definition: ciccaret.cpp:47
void OnTimer()
Definition: ciccaret.cpp:80
void SetCaretPos(POINT pt)
Definition: ciccaret.cpp:92
BOOL m_bCaretVisible
Definition: ciccaret.h:18
void CreateCaret(HWND hWnd, SIZE size)
Definition: ciccaret.cpp:36
@ TIMER_ID
Definition: ciccaret.h:21
void InvertCaret()
Definition: ciccaret.cpp:70
SIZE m_size
Definition: ciccaret.h:16
virtual ~CicCaret()
Definition: ciccaret.cpp:26
HANDLE HWND
Definition: compat.h:19
#define pt(x, y)
Definition: drawing.c:79
unsigned int BOOL
Definition: ntddk_ex.h:94
GLsizeiptr size
Definition: glext.h:5919
unsigned int UINT
Definition: ndis.h:50