aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/elistboxcontent.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-26 14:33:20 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-26 14:33:20 +0000
commit470e1bf98764d9e0c6cdc463b2f2e1a2bb453ce8 (patch)
treed7ce14962d434a6f3dc676fc3835a14f9196d794 /lib/gui/elistboxcontent.h
parenta13e3f235ff87280a6b0894ca7dcf02b01ebfb58 (diff)
downloadenigma2-470e1bf98764d9e0c6cdc463b2f2e1a2bb453ce8.tar.gz
enigma2-470e1bf98764d9e0c6cdc463b2f2e1a2bb453ce8.zip
add function to set the selection rect (for partial selections),
add parameter to multicontent text entry to set a border width, add parameter to multicontent text entry to set backgroundcolor
Diffstat (limited to 'lib/gui/elistboxcontent.h')
-rw-r--r--lib/gui/elistboxcontent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h
index f934ed59..aff071bf 100644
--- a/lib/gui/elistboxcontent.h
+++ b/lib/gui/elistboxcontent.h
@@ -62,6 +62,8 @@ private:
class eListboxPythonMultiContent: public eListboxPythonStringContent
{
ePyObject m_buildFunc;
+ eRect m_selection_clip;
+ eRect m_temp_clip;
public:
eListboxPythonMultiContent();
~eListboxPythonMultiContent();
@@ -72,6 +74,7 @@ public:
void setFont(int fnt, gFont *fnt);
void setBuildFunc(SWIG_PYOBJECT(ePyObject) func);
void setItemHeight(int height);
+ void setSelectionClip(eRect &rect, bool update=true);
private:
std::map<int, ePtr<gFont> > m_font;
};