Changeset 38603
- Timestamp:
- 09/06/16 18:26:42 (7 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skin.h
r38580 r38603 113 113 return &getalternatepicon; 114 114 } 115 if(ostrcmp("getallpicon", value) == 0) 116 { 117 *rettype = FUNCPIC; 118 return &getallpicon; 119 } 115 120 if(ostrcmp("getepgpicon", value) == 0) 116 121 { -
titan/titan/skinfunc.h
r38592 r38603 1166 1166 } 1167 1167 1168 char* getallpicon(struct skin* node, char* firstpath) 1169 { 1170 char* tmpstr = NULL; 1171 int p1 = 0; 1172 int p2 = 1; 1173 1174 if(firstpath != NULL) 1175 { 1176 if(ostrcmp("alternate", firstpath) == 0) 1177 { 1178 p1 = 1; 1179 p2 = 0; 1180 } 1181 } 1182 1183 tmpstr = createpiconpath(status.aktservice->channel, p1); 1184 if(ostrstr(tmpstr, "defpicon.png") != NULL) 1185 { 1186 free(tmpstr); tmpstr=NULL; 1187 tmpstr = createpiconpath(status.aktservice->channel, p2); 1188 } 1189 return tmpstr; 1190 } 1191 1168 1192 char* gettime(struct skin* node, char* format) 1169 1193 {
Note: See TracChangeset
for help on using the changeset viewer.