1 #ifndef __KONST_UI_TEXT_H_
2 #define __KONST_UI_TEXT_H_
7 #include "conscommon.h"
8 #include "abstractui.h"
10 __KTOOL_BEGIN_NAMESPACE
12 class textbrowser
: public abstractuicontrol
{
14 int ncolor
, line
, endline
;
21 int (*otherkeys
)(textbrowser
&caller
, int k
);
22 void (*idle
)(textbrowser
&caller
);
24 textbrowser(int nx1
, int ny1
, int nx2
, int ny2
, int clr
);
25 textbrowser(int clr
= 0);
26 virtual ~textbrowser();
28 void setcolor(int clr
);
29 void setcoords(int nx1
, int ny1
, int nx2
, int ny2
);
36 void setbuf(const string
&p
);
41 #ifdef __KTOOL_USE_NAMESPACES
43 using ktool::textbrowser
;