Files
degvi/Window.h
2013-01-27 08:14:06 +09:00

23 lines
461 B
C

#ifndef WINDOW_H
#define WINDOW_H
#include "Terminal.h"
struct Window_struct {
Terminal terminal;
int x;
int y;
int width;
int height;
};
typedef struct Window_struct *Window;
extern Window Window_create(Terminal terminal, int x, int y, int width, int height);
extern void Window_destroy(Window this);
extern int Window_width(Window this);
extern int Window_height(Window this);
extern void Window_setCursorPosition(Window this, int x, int y);
#endif