Changeset View
Changeset View
Standalone View
Standalone View
src/TerminalDisplay.h
Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Line(s) | 69 | public: | |||
---|---|---|---|---|---|
259 | */ | 259 | */ | ||
260 | void setKeyboardCursorShape(Enum::CursorShapeEnum shape); | 260 | void setKeyboardCursorShape(Enum::CursorShapeEnum shape); | ||
261 | /** | 261 | /** | ||
262 | * Returns the shape of the keyboard cursor. See setKeyboardCursorShape() | 262 | * Returns the shape of the keyboard cursor. See setKeyboardCursorShape() | ||
263 | */ | 263 | */ | ||
264 | Enum::CursorShapeEnum keyboardCursorShape() const; | 264 | Enum::CursorShapeEnum keyboardCursorShape() const; | ||
265 | 265 | | |||
266 | /** | 266 | /** | ||
267 | * Sets the Cursor Style (DECSCUSR) via escape sequences | ||||
268 | * @p shape cursor shape | ||||
269 | * @p isBlinking if true, the cursor will be set to blink | ||||
270 | */ | ||||
271 | void setCursorStyle(Enum::CursorShapeEnum shape, bool isBlinking); | ||||
272 | /** | ||||
273 | * Resets the cursor style to the current profile cursor shape and | ||||
274 | * blinking settings | ||||
275 | */ | ||||
276 | void resetCursorStyle(); | ||||
277 | | ||||
278 | /** | ||||
267 | * Sets the color used to draw the keyboard cursor. | 279 | * Sets the color used to draw the keyboard cursor. | ||
268 | * | 280 | * | ||
269 | * The keyboard cursor defaults to using the foreground color of the character | 281 | * The keyboard cursor defaults to using the foreground color of the character | ||
270 | * underneath it. | 282 | * underneath it. | ||
271 | * | 283 | * | ||
272 | * @param color By default, the widget uses the color of the | 284 | * @param color By default, the widget uses the color of the | ||
273 | * character under the cursor to draw the cursor, and inverts the | 285 | * character under the cursor to draw the cursor, and inverts the | ||
274 | * color of that character to make sure it is still readable. If @p | 286 | * color of that character to make sure it is still readable. If @p | ||
▲ Show 20 Lines • Show All 795 Lines • Show Last 20 Lines |