EMILE/second/console.h

32 lines
749 B
C
Raw Normal View History

2004-02-15 20:46:45 +00:00
/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
2004-02-15 20:46:45 +00:00
*
*/
#ifndef __CONSOLE_H__
#define __CONSOLE_H__
2005-11-08 02:06:40 +00:00
#include <macos/types.h>
#include "misc.h"
#include "head.h"
extern void console_init(emile_l2_header_t* info);
extern inline int console_putchar(int c);
extern void console_putstring(const char *s);
2005-08-27 15:48:13 +00:00
#ifdef USE_CLI
extern int console_keypressed(int timeout);
extern int console_getchar(void);
extern void console_clear(void);
extern void console_cursor_on(void);
extern void console_cursor_off(void);
extern void console_cursor_save(void);
extern void console_cursor_restore(void);
extern void console_video_inverse(void);
extern void console_video_normal(void);
2007-06-01 20:48:44 +00:00
extern void console_set_cursor_position(int x, int y);
2005-08-27 15:48:13 +00:00
#endif
2004-02-15 20:46:45 +00:00
#endif