summaryrefslogtreecommitdiff
path: root/coreengine/viewlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreengine/viewlist.c')
-rw-r--r--coreengine/viewlist.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/coreengine/viewlist.c b/coreengine/viewlist.c
index dbbe5e7..83e75f8 100644
--- a/coreengine/viewlist.c
+++ b/coreengine/viewlist.c
@@ -24,6 +24,7 @@ cViewList::~cViewList(void) {
}
}
delete[] listElements;
+ delete tokenContainer;
}
void cViewList::SetGlobals(cGlobals *globals) {
@@ -127,6 +128,9 @@ void cViewList::AddCurrentElement(cViewElement *currentElement) {
}
void cViewList::PreCache(void) {
+ tokenContainer = new skindesignerapi::cTokenContainer();
+ tokenContainer->CreateContainers();
+ attribs->SetTokenContainer(tokenContainer);
attribs->SetContainer(container.X(), container.Y(), container.Width(), container.Height());
attribs->SetGlobals(globals);
attribs->Cache();
@@ -164,6 +168,10 @@ int cViewList::NumItems(void) {
return numElements;
}
+bool cViewList::Execute(void) {
+ return attribs->DoExecute();
+}
+
eOrientation cViewList::Orientation(void) {
return attribs->Orientation();
}
@@ -219,6 +227,8 @@ void cViewList::SetTransparency(int transparency) {
}
void cViewList::Debug(void) {
+ esyslog("skindesigner: --- debug viewlist");
+ attribs->Debug();
}
/******************************************************************