Changeset 10750
- Timestamp:
- 10/28/11 13:25:55 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/gmultiepg.h
r10723 r10750 80 80 81 81 82 int calcgmultiepg(struct channel* tmpchannel, struct skin* gmultiepg, struct skin* channellistbox, struct skin* listbox, int zoom, time_t akttime, struct channel* aktchannel, int linecol1, int linecol2, int* aktline, struct skin** pchnode, struct skin** pchnode1 )82 int calcgmultiepg(struct channel* tmpchannel, struct skin* gmultiepg, struct skin* channellistbox, struct skin* listbox, int zoom, time_t akttime, struct channel* aktchannel, int linecol1, int linecol2, int* aktline, struct skin** pchnode, struct skin** pchnode1, int height) 83 83 { 84 84 int treffer = 0, gridbr = 0, aktcol = 0; … … 92 92 if(chnode != NULL) 93 93 { 94 chnode->height = 35;94 chnode->height = height; 95 95 changetext(chnode, tmpchannel->name); 96 96 epgnode = getepgakt(tmpchannel); … … 125 125 gridbr = 1; 126 126 treffer = 1; 127 chnode1->height = 35;127 chnode1->height = height; 128 128 chnode1->width = ((epgnode->endtime - epgnode->starttime) / 60) * zoom; 129 129 chnode1->posx = ((epgnode->starttime - akttime) / 60) * zoom; … … 167 167 if(gridbr == 0) chnode1->type = GRIDBR; 168 168 gridbr = 1; 169 chnode1->height = 35;169 chnode1->height = height; 170 170 chnode1->deaktivcol = 1; 171 171 } … … 182 182 int showallgmepgchannel(struct skin* gmultiepg, struct skin* channellistbox, struct skin* listbox, int zoom, time_t akttime, struct channel* aktchannel) 183 183 { 184 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0 ;184 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0, height = 0; 185 185 struct skin* chnode = NULL, *chnode1 = NULL; 186 186 struct channel* tmpchannel = channel; … … 188 188 linecol1 = convertcol("epgcol1"); 189 189 linecol2 = convertcol("epgcol2"); 190 height = getskinconfigint("epgheight", NULL); 191 if(height == 0) height = 35; 190 192 191 193 if(gmultiepg != NULL) delmarkedscreennodes(gmultiepg, 1); … … 194 196 while(tmpchannel != NULL) 195 197 { 196 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1 ) == 1)198 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1, height) == 1) 197 199 treffer = 1; 198 200 tmpchannel = tmpchannel->next; … … 203 205 int showbouquetgmepgchannel(struct skin* gmultiepg, struct skin* channellistbox, struct skin* listbox, struct bouquet* firstbouquet, int zoom, time_t akttime, struct channel* aktchannel) 204 206 { 205 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0 ;207 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0, height = 0; 206 208 struct skin* chnode = NULL, *chnode1 = NULL; 207 209 struct bouquet* tmpbouquet = firstbouquet; … … 209 211 linecol1 = convertcol("epgcol1"); 210 212 linecol2 = convertcol("epgcol2"); 213 height = getskinconfigint("epgheight", NULL); 214 if(height == 0) height = 35; 211 215 212 216 if(gmultiepg != NULL) delmarkedscreennodes(gmultiepg, 1); … … 215 219 while(tmpbouquet != NULL) 216 220 { 217 if(calcgmultiepg(tmpbouquet->channel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1 ) == 1)221 if(calcgmultiepg(tmpbouquet->channel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1, height) == 1) 218 222 treffer = 1; 219 223 tmpbouquet = tmpbouquet->next; … … 224 228 int showprovidergmepgchannel(struct skin* gmultiepg, struct skin* channellistbox, struct skin* listbox, struct provider* providernode, int zoom, time_t akttime, struct channel* aktchannel) 225 229 { 226 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0 ;230 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0, height = 0; 227 231 struct skin* chnode = NULL, *chnode1 = NULL; 228 232 struct channel* tmpchannel = channel; 229 233 234 linecol1 = convertcol("epgcol1"); 235 linecol2 = convertcol("epgcol2"); 236 height = getskinconfigint("epgheight", NULL); 237 if(height == 0) height = 35; 238 230 239 if(gmultiepg != NULL) delmarkedscreennodes(gmultiepg, 1); 231 240 … … 234 243 if(tmpchannel->provider == providernode) 235 244 { 236 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1 ) == 1)245 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1, height) == 1) 237 246 treffer = 1; 238 247 } … … 244 253 int showsatgmepgchannel(struct skin* gmultiepg, struct skin* channellistbox, struct skin* listbox, struct sat* satnode, int zoom, time_t akttime, struct channel* aktchannel) 245 254 { 246 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0 ;255 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0, height = 0; 247 256 struct skin* chnode = NULL, *chnode1 = NULL; 248 257 struct channel* tmpchannel = channel; 249 258 250 259 if(satnode == NULL) return 1; 260 261 linecol1 = convertcol("epgcol1"); 262 linecol2 = convertcol("epgcol2"); 263 height = getskinconfigint("epgheight", NULL); 264 if(height == 0) height = 35; 265 251 266 if(gmultiepg != NULL) delmarkedscreennodes(gmultiepg, 1); 252 267 … … 255 270 if(tmpchannel->transponder != NULL && tmpchannel->transponder->orbitalpos == satnode->orbitalpos) 256 271 { 257 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1 ) == 1)272 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1, height) == 1) 258 273 treffer = 1; 259 274 } … … 265 280 int showazgmepgchannel(struct skin* gmultiepg, struct skin* channellistbox, struct skin* listbox, int character, int zoom, time_t akttime, struct channel* aktchannel) 266 281 { 267 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0 ;282 int treffer = 0, linecol1 = 0, linecol2 = 0, aktline = 0, height = 0; 268 283 struct skin* chnode = NULL, *chnode1 = NULL; 269 284 struct channel* tmpchannel = channel; 270 285 286 linecol1 = convertcol("epgcol1"); 287 linecol2 = convertcol("epgcol2"); 288 height = getskinconfigint("epgheight", NULL); 289 if(height == 0) height = 35; 290 271 291 if(gmultiepg != NULL) delmarkedscreennodes(gmultiepg, 1); 272 292 … … 275 295 if(tmpchannel->name != NULL && (tmpchannel->name[0] == character || tmpchannel->name[0] == character + 32)) 276 296 { 277 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1 ) == 1)297 if(calcgmultiepg(tmpchannel, gmultiepg, channellistbox, listbox, zoom, akttime, aktchannel, linecol1, linecol2, &aktline, &chnode, &chnode1, height) == 1) 278 298 treffer = 1; 279 299 }
Note: See TracChangeset
for help on using the changeset viewer.