diff options
| author | louis <louis.braun@gmx.de> | 2016-05-29 10:07:28 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2016-05-29 10:07:28 +0200 |
| commit | 87f3d895f7026b8b39944042cafcd50fdd14028a (patch) | |
| tree | 77f25bc9e7458a6b7e0f6129ffff08d8ac1d344d /coreengine/attributes.c | |
| parent | 75668612bede1c9971e6cb77eda396525d1019b1 (diff) | |
| download | vdr-plugin-skindesigner-87f3d895f7026b8b39944042cafcd50fdd14028a.tar.gz vdr-plugin-skindesigner-87f3d895f7026b8b39944042cafcd50fdd14028a.tar.bz2 | |
left / right keys in zappilot configurable in skin
Diffstat (limited to 'coreengine/attributes.c')
| -rw-r--r-- | coreengine/attributes.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coreengine/attributes.c b/coreengine/attributes.c index 4840dbc..b0d0dba 100644 --- a/coreengine/attributes.c +++ b/coreengine/attributes.c @@ -244,6 +244,8 @@ void cViewListAttribs::Set(vector<stringpair> &attributes) { SetShiftType(id, attVal); } else if (IdEqual(id, (int)eViewListAttribs::shiftmode)) { SetShiftMode(id, attVal); + } else if (IdEqual(id, (int)eViewListAttribs::button)) { + SetButton(id, attVal); } else { attribCtors[id] = new cNumericExpr(attVal); } @@ -289,6 +291,7 @@ void cViewListAttribs::SetAttributesDefs(void) { attribIDs.insert(pair<string, int>("startx", (int)eViewListAttribs::startx)); attribIDs.insert(pair<string, int>("starty", (int)eViewListAttribs::starty)); attribIDs.insert(pair<string, int>("condition", (int)eViewListAttribs::condition)); + attribIDs.insert(pair<string, int>("button", (int)eViewListAttribs::button)); attribNames.insert(pair<int, string>((int)eViewListAttribs::align, "align")); attribNames.insert(pair<int, string>((int)eViewListAttribs::menuitemwidth, "menuitemwidth")); attribNames.insert(pair<int, string>((int)eViewListAttribs::determinatefont, "determinatefont")); @@ -301,6 +304,7 @@ void cViewListAttribs::SetAttributesDefs(void) { attribNames.insert(pair<int, string>((int)eViewListAttribs::startx, "startx")); attribNames.insert(pair<int, string>((int)eViewListAttribs::starty, "starty")); attribNames.insert(pair<int, string>((int)eViewListAttribs::condition, "condition")); + attribNames.insert(pair<int, string>((int)eViewListAttribs::button, "button")); } void cViewListAttribs::Debug(void) { |
