23 #ifndef _LAX_TEXTXEDITBASE_UTF8_H
24 #define _LAX_TEXTXEDITBASE_UTF8_H
28 #include <lax/anxapp.h>
29 #include <lax/texteditbase-utf8.h>
30 #include <lax/rectangles.h>
32 #include <lax/fontmanager.h>
46 int textascent,textheight,textdescent;
47 unsigned long curtextcolor,textbgcolor;
48 unsigned long curbkcolor,bkwrongcolor,wscolor;
54 virtual int selectionDropped(
unsigned char *data,
unsigned long len,Atom actual_type,Atom which);
55 virtual char *
getSelectionData(
int *len,Atom property,Atom targettype,Atom selection);
58 int xx,
int yy,
int ww,
int hh,
int brder,
59 anXWindow *prev,
unsigned long nowner,
const char *nsend,
60 const char *newtext=NULL,
unsigned long ntstyle=0,
int ncntlchar=0);
64 virtual int MBUp(
int x,
int y,
unsigned int state,
const LaxMouse *d);
67 virtual int MoveResize(
int nx,
int ny,
int nw,
int nh);
68 virtual int Resize(
int nw,
int nh);
74 virtual void Colors(
int hl);
75 virtual void Black(
int x,
int y,
int w,
int h);
77 virtual void DrawCaret(
int flag=0,
int on=1);
78 virtual void DrawText(
int black=-1) = 0;
79 virtual int DrawLineOfText(
int x,
int y,
long pos,
long len,
char &check,
long eof=-1);
80 virtual int TextOut(
int x,
int y,
char *str,
long len,
long eof);
81 virtual int ExtentAndStr(
char *str,
long len,
char *&blah,
long &p);
82 virtual int GetExtent(
long pos,
long end,
int lsofar=0,
long eof=-1);
83 virtual long GetPos(
long pos,
int pix,
int lsofar=0,
long eof=-1);