22 lines
431 B
C
22 lines
431 B
C
#ifndef INPUT_H
|
|
#define INPUT_H
|
|
|
|
#include "Window.h"
|
|
#include "Line.h"
|
|
|
|
struct Input_struct {
|
|
Window window;
|
|
Line line;
|
|
};
|
|
|
|
typedef struct Input_struct *Input;
|
|
|
|
extern Input Input_create(Window window);
|
|
extern void Input_destroy(Input this);
|
|
extern void Input_clear(Input this);
|
|
extern void Input_updateCursorPosition(Input this);
|
|
extern void Input_paint(Input this);
|
|
extern void Input_keyTyped(Input this, int keyChar);
|
|
|
|
#endif
|