git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
activate extensions
[enigma2.git]
/
lib
/
gui
/
elabel.h
diff --git
a/lib/gui/elabel.h
b/lib/gui/elabel.h
index 185f7c24b033cd4a911af1f1351ffc861cebd0e2..df57e7b597e3e11fff73724d5081bd5416661aee 100644
(file)
--- a/
lib/gui/elabel.h
+++ b/
lib/gui/elabel.h
@@
-6,10
+6,12
@@
class eLabel: public eWidget
{
public:
class eLabel: public eWidget
{
public:
- eLabel(eWidget *parent);
+ eLabel(eWidget *parent
, int markedPos = -1
);
void setText(const std::string &string);
void setText(const std::string &string);
+ void setMarkedPos(int markedPos);
void setFont(gFont *font);
void setFont(gFont *font);
-
+ gFont* eLabel::getFont();
+
enum
{
alignLeft,
enum
{
alignLeft,
@@
-32,6
+34,7
@@
protected:
int m_valign, m_halign;
std::string m_text;
int event(int event, void *data=0, void *data2=0);
int m_valign, m_halign;
std::string m_text;
int event(int event, void *data=0, void *data2=0);
+ int m_pos;
private:
int m_have_foreground_color;
gRGB m_foreground_color;
private:
int m_have_foreground_color;
gRGB m_foreground_color;
@@
-40,7
+43,8
@@
private:
{
evtChangedText = evtUserWidget,
evtChangedFont,
{
evtChangedText = evtUserWidget,
evtChangedFont,
- evtChangedAlignment
+ evtChangedAlignment,
+ evtChangedMarkedPos
};
};
};
};