XenevaOS
Loading...
Searching...
No Matches
xnout.h
Go to the documentation of this file.
1
30#ifndef __XNOUT_H__
31#define __XNOUT_H__
32
33#include <Uefi.h>
34
35/*
36 * XEClearScreen -- clears the screen
37 */
38extern void XEClearScreen();
39
40/*
41 * XESetCursor -- Set the cursor on or off
42 * @param on -- boolean value
43 */
44extern EFI_STATUS XESetCursor(const unsigned char on);
45
46/*
47 * XEGetCurrentCursorPos -- returns the current
48 * cursor pos to given variable
49 * @param Col -- Pointer to where Column value should be stored
50 * @param Row -- Pointer to where Row value should be stored
51 */
52extern void XEGetCurrentCursorPos(int* Col, int* Row);
53
54/*
55 * XESetCurrentCursorPos -- Set the current cursor pos
56 * @param Col -- Column value
57 * @param Row -- Row value
58 */
59extern EFI_STATUS XESetCurrentCursorPos(const int Col, const int Row);
60
61/*
62 * XESetTextAttribute -- Set text and background color
63 * @param Back -- Background color
64 * @param Fore -- Foreground color
65 */
66extern EFI_STATUS XESetTextAttribute(const int Back, const int Fore);
67
68
69/*
70 * XEPrintf -- print function that will
71 * show output to the screen
72 * @param fmt -- format to print
73 */
74extern int XEPrintf(wchar_t* fmt, ...);
75
76/*
77 * XEGuiPrint -- print formated text using graphics
78 * @param format -- formated string
79 */
80extern void XEGuiPrint(const char* format, ...);
81
82#endif
EFI_STATUS XESetCursor(const unsigned char on)
Definition xnout.cpp:48
void XEClearScreen()
Definition xnout.cpp:40
void XEGetCurrentCursorPos(int *Col, int *Row)
Definition xnout.cpp:58
int XEPrintf(wchar_t *fmt,...)
Definition xnout.cpp:94
EFI_STATUS XESetCurrentCursorPos(const int Col, const int Row)
Definition xnout.cpp:68
void XEGuiPrint(const char *format,...)
Definition xnout.cpp:375
EFI_STATUS XESetTextAttribute(const int Back, const int Fore)
Definition xnout.cpp:77
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33