#ifndef __Caret__H
#define __Caret__H

#include "WimpLib:Coords.h"
#include "WimpLib:std.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct
{
	ScreenPos pos;
	int       height;
	int       index;
} CCaret;

void Caret_Get(CCaret* pcaret);
void Caret_Set(const CCaret* pcaret) throws(os);
void Caret_SetInvisible(HWind id) throws(os);

#ifdef __cplusplus
}
#endif

#endif
