Trade equipment common library.
1.0.0
Main Page
Classes
Files
File List
src
estring.h
1
#ifndef _estring_h_
2
#define _estring_h_
3
4
#include <qstring.h>
5
#include "teglobal.h"
6
7
enum
SEffect
8
{
9
se_scrollleft,
10
se_scrollright,
11
se_wobble
12
};
13
14
QString
deControl(
const
QString
&
sin
);
15
16
class
LIB_EXPORT
EString
17
{
18
public
:
19
EString
():wwidth(20),pos(0),dir(1),delay(4){};
20
EString
(
QString
_text
,
int
windowwidth
):wwidth((
uint
)
windowwidth
),pos(0),dir(1),delay(4)
21
{
22
text=deControl(
_text
);
23
};
24
EString
(
const
EString
&
in
):text(
in
.text),wwidth(
in
.wwidth),pos(0),dir(1),delay(4){};
25
~EString
(){};
26
27
28
QString
update();
29
QString
current();
30
void
setEffect(SEffect
_eff
);
31
uint
width()
32
{
33
return
wwidth;
34
};
35
protected
:
36
QString
text,_current;
37
uint
wwidth;
38
int
pos,dir,delay;
39
SEffect eff;
40
};
41
42
#endif
EString
Definition
estring.h:17
memFunc0
Definition
conv.h:259
Generated by
1.10.0