remove unused file
[AROS.git] / workbench / tools / Edit / ClipLoc.h
blob287b1525c05393904a1c7496f9802b4b428555bd
1 /**********************************************************
2 ** **
3 ** $VER: ClipLoc.h 1.2 (10 dec 1999) **
4 ** Datatypes for highlighting text with mouse. **
5 ** **
6 ** © T.Pierron, C.Guilaume. Free software under **
7 ** terms of GNU public license. **
8 ** **
9 **********************************************************/
11 #ifndef CLIPLOC_H
12 #define CLIPLOC_H
14 struct cutcopypast
16 ULONG startsel; /* Extreme position of selection */
17 ULONG endsel;
18 ULONG xp,yp; /* Position of first char selected */
19 void *line; /* Line starting the selection */
20 ULONG xc,yc; /* Current selection point */
21 void *cline; /* Last line selected */
22 UBYTE select; /* See below */
25 /** Clipboard unit for copy/paste operations **/
26 #define STD_CLIP_UNIT PRIMARY_CLIP
28 /** Type of selection **/
29 #define STREAM_TYPE 1 /* Standard line selection */
30 #define COLUMN_TYPE 2 /* Columnar-type of selection */
31 #define LINE_TYPE 3 /* Whole line selection */
32 #define WORD_TYPE 4 /* Selection by words */
34 /** To access global messages table **/
35 #define ErrMsg(num) JanoMessages[ num-ERR_BADOS ]
36 extern STRPTR JanoMessages[];
38 /** Prototypes **/
39 #ifdef MEMORY_H
40 void CBClose ( void );
41 BOOL CBWriteFTXT ( LINE *, struct cutcopypast * );
42 BOOL CBReadCHRS ( void *, LINE *, ULONG, LONG * );
43 #endif
45 void InitLocale ( void );
46 void CleanupLocale ( void );
48 #endif