Turnstone Operating System
Loading...
Searching...
No Matches
text_cursor.64.c File Reference

Text cursor implementation for 64-bit mode. More...

#include <graphics/text_cursor.h>
#include <graphics/screen.h>
#include <graphics/font.h>

Functions

 MODULE ("turnstone.kernel.graphics.text_cursor")
 
int8_t text_cursor_move (int32_t x, int32_t y)
 
int8_t text_cursor_move_relative (int32_t x, int32_t y)
 
void text_cursor_get (int32_t *x, int32_t *y)
 
void text_cursor_toggle (boolean_t flush)
 
void text_cursor_hide (void)
 
void text_cursor_show (void)
 
void text_cursor_enable (boolean_t enabled)
 

Variables

static int32_t text_cursor_x = 0
 cursor postion for column
 
static int32_t text_cursor_y = 0
 cursor porsition for row
 
static boolean_t text_cursor_visible = false
 cursor visibility flag
 
static boolean_t text_cursor_enabled = false
 true if cursor is enabled
 
text_cursor_draw_f TEXT_CURSOR_DRAW = NULL
 function pointer to draw cursor
 

Detailed Description

Text cursor implementation for 64-bit mode.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.