Changeset 32345
- Timestamp:
- 01/11/15 23:19:41 (8 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skin.h
r32164 r32345 261 261 if(ostrcmp("getpowerofftime", value) == 0) 262 262 return &getpowerofftime; 263 if(ostrcmp("getredbutton", value) == 0) 264 return &getredbutton; 265 if(ostrcmp("getbluebutton", value) == 0) 266 return &getbluebutton; 263 267 264 268 return 0; -
titan/titan/skinfunc.h
r32202 r32345 1326 1326 } 1327 1327 1328 char* getredbutton(struct skin* node) 1329 { 1330 char* tmpstr = getconfig("redkey", NULL); 1331 1332 if(tmpstr == NULL) tmpstr = ostrcat(tmpstr, "Extensions List", 0, 0); 1333 1334 debug(10, "redbutton=%s", tmpstr); 1335 1336 return tmpstr; 1337 } 1338 1339 char* getbluebutton(struct skin* node) 1340 { 1341 char* tmpstr = getconfig("bluekey", NULL); 1342 1343 if(tmpstr == NULL) tmpstr = ostrcat(tmpstr, "TV / Radio Switch", 0, 0); 1344 1345 debug(10, "bluebutton=%s", tmpstr); 1346 1347 return tmpstr; 1348 } 1349 1328 1350 #endif
Note: See TracChangeset
for help on using the changeset viewer.