Added the drawtitle function to console
Added ability to pick a bg preset for the title bar Added counting program Added function to set the current consoles title name Removed some of the debug code
This commit is contained in:
13
defs.h
13
defs.h
@ -22,12 +22,23 @@ void cprintf(char*, ...);
|
||||
void consoleintr(int (*)(void));
|
||||
int consoleget(void);
|
||||
void panic(char*) __attribute__((noreturn));
|
||||
struct vconsole* newconsole(void);
|
||||
|
||||
// Function to return a new console ptr for a process to use
|
||||
struct vconsole* newconsole(int);
|
||||
// Function to swithc to the provided console using the ptr
|
||||
int switchtoconsole(struct vconsole*);
|
||||
// Function to close and reset the current proc console
|
||||
int closeconsole(void);
|
||||
// Function to get the current inuse console index
|
||||
int getcurrentconsoleindex(void);
|
||||
// Function to clear the current screen buffer
|
||||
void clearscreen(void);
|
||||
// Function to get the base consoles ptr
|
||||
struct vconsole* getbaseconsoleptr(void);
|
||||
// Function to provide cprintf functionality but saved into a char array
|
||||
void sprintf(char*, char*, ...);
|
||||
void setconsoleproctitle(struct vconsole* consoleptr, char* newtitle);
|
||||
void drawtitle();
|
||||
|
||||
// exec.c
|
||||
int exec(char*, char**);
|
||||
|
Reference in New Issue
Block a user