git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
we already faked the current nim
[enigma2.git]
/
lib
/
gui
/
ewindowstyleskinned.h
diff --git
a/lib/gui/ewindowstyleskinned.h
b/lib/gui/ewindowstyleskinned.h
index bc9c0549619d33d6737c8867f009feaf95d5cc9d..17988f65192632514fba666b00d6d801d56534c1 100644
(file)
--- a/
lib/gui/ewindowstyleskinned.h
+++ b/
lib/gui/ewindowstyleskinned.h
@@
-61,11
+61,17
@@
public:
colListboxSelectedForeground,
colListboxMarkedBackground,
colListboxMarkedForeground,
colListboxSelectedForeground,
colListboxMarkedBackground,
colListboxMarkedForeground,
+
+ colWindowTitleForeground,
+ colWindowTitleBackground,
colMax
};
void setColor(int what, const gRGB &back);
colMax
};
void setColor(int what, const gRGB &back);
+ void setTitleOffset(const eSize &offset);
+ void setTitleFont(gFont *fnt);
+
private:
struct borderSet
{
private:
struct borderSet
{
@@
-77,6
+83,9
@@
private:
gRGB m_color[colMax];
gRGB m_color[colMax];
+ eSize m_title_offset;
+ ePtr<gFont> m_fnt;
+
void drawBorder(gPainter &painter, const eRect &size, struct borderSet &border, int where);
};
void drawBorder(gPainter &painter, const eRect &size, struct borderSet &border, int where);
};