Study Dungeon  1.0.0
A group project for COSC345
Functions
menu.cpp File Reference

Classes and functions for the UI system. More...

#include "menu.h"

Functions

void ConsoleUI::setConsoleCursorPosition (int x, int y)
 Set the Console Cursor Position. More...
 
COORD ConsoleUI::getConsoleWindowSize ()
 Get the size of the console window. More...
 

Detailed Description

Classes and functions for the UI system.

Author
Green Alligators
Version
1.0.0
Date
2024-09-19

Function Documentation

◆ getConsoleWindowSize()

COORD ConsoleUI::getConsoleWindowSize ( )

Get the size of the console window.

Returns
COORD the X and Y dimensions of the console window

◆ setConsoleCursorPosition()

void ConsoleUI::setConsoleCursorPosition ( int  x,
int  y 
)

Set the Console Cursor Position.

Parameters
xNumber of characters from the left
ynumber of lines from the top