Navigation
API > API/Runtime > API/Runtime/Slate
Run highlighter used to draw the cursor
| Name | FCursorLineHighlighter |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Text/SlateEditableTextTypes.h |
| Include Path | #include "Widgets/Text/SlateEditableTextTypes.h" |
Syntax
class FCursorLineHighlighter : public ISlateLineHighlighter
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCursorLineHighlighter
(
const FCursorInfo* InCursorInfo |
Widgets/Text/SlateEditableTextTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetDrawCursor() |
Is the cursor drawn? | Widgets/Text/SlateEditableTextTypes.h | |
void SetCursorBrush
(
const TAttribute< const FSlateBrush* >& InCursorBrush |
Widgets/Text/SlateEditableTextTypes.h | ||
void SetDrawCursor
(
bool bInDrawCursor |
Set to false to skip drawing the cursor | Widgets/Text/SlateEditableTextTypes.h |
Public Virtual
Overridden from ISlateLineHighlighter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Widgets/Text/SlateEditableTextTypes.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< FCursorLineHighlighter > Create
(
const FCursorInfo* InCursorInfo |
Widgets/Text/SlateEditableTextTypes.h |