Changeset 42645
- Timestamp:
- 08/10/18 04:59:37 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/tithek.h
r42643 r42645 1062 1062 1063 1063 fontsize2 = 20; 1064 posy = 50; 1065 textposx2 = 270; 1066 textposx = 230; 1067 height = 100; 1064 posy = 20; 1065 1066 height = 500; 1067 width = 590; 1068 picheight = 480; 1069 picwidth = 570; 1070 textposx = 370; 1071 textposx2 = textposx + 30; 1072 1068 1073 } 1069 1074 … … 1089 1094 gridbr = 0; 1090 1095 posx = 0; 1091 tmp->hspace = 5; 1092 1093 // if(getconfigint("tithek_cover", NULL) > 6 || getconfigint("tithek_view", NULL) > 6) 1094 // { 1096 1097 if(getconfigint("tithek_cover", NULL) == 7 || getconfigint("tithek_view", NULL) == 7) 1098 { 1095 1099 char* tithekpic = tithekdownload(titheknode->pic, titheknode->localname, NULL, 0, 0); 1096 1100 changepic(tmp, tithekpic); 1097 1101 free(tithekpic); tithekpic = NULL; 1098 // } 1099 // tmp->handle = (char*)titheknode; 1102 } 1100 1103 1101 1104 tmp->valign = convertxmlentry("middle", 0); 1102 1105 tmp->textposx = textposx; 1103 1106 tmp->wrap = YES; 1104 1107 #ifndef SIMULATE 1108 tmp->picheight = 1; 1109 tmp->picwidth = 1; 1110 #endif 1111 tmp->bgspace = 1; 1112 tmp->vspace = 10; 1113 tmp->hspace = 10; 1114 1115 // das lasst den text2 eine zeile weiter springen 1116 tmp->type = TEXTBOX; 1117 // schiebt text nach oben und text2 eine zeile darunter 1118 // tmp->valign = TOPBOTTOM; 1105 1119 tmp->posy = posy; 1106 1120 tmp->textposx2 = textposx2; … … 1108 1122 tmp->fontcol2 = convertcol("yellow"); 1109 1123 tmp->fontsize2 = fontsize2; 1110 tmp->valign = MIDDLE; 1111 // changetext2(tmp, titheknode->description); 1112 1113 tmp->type = TEXTBOX; 1114 tmp->valign = TOPBOTTOM; 1115 tmp->handle = (char*)titheknode; 1124 1116 1125 } 1117 1126 else … … 1188 1197 tmp->fontcol = convertcol("white"); 1189 1198 1190 if(getconfigint("tithek_cover", NULL) < 6 && getconfigint("tithek_view", NULL) < 6)1199 if(getconfigint("tithek_cover", NULL) != 7 || getconfigint("tithek_view", NULL) != 7) 1191 1200 { 1192 1201 tmp->halign = CENTER; … … 2238 2247 listbox->select = NULL; 2239 2248 2240 int view = 1; 2241 struct skin *child = NULL; 2242 2243 // if(view == 1) 2244 if(getconfigint("tithek_cover", NULL) == 6) 2245 { 2246 listbox = getscreennode(grid, "listbox"); 2247 } 2249 if(getconfigint("tithek_cover", NULL) >= 6 || getconfigint("tithek_view", NULL) >= 6) 2250 { 2251 listbox = getscreennode(grid, "listbox"); 2252 } 2248 2253 else 2249 {2250 listbox = getscreennode(grid, "grid");2251 }2254 { 2255 listbox = getscreennode(grid, "grid"); 2256 } 2252 2257 2253 2258 pagecount = createtithekplay(titheklink, grid, listbox, countlabel, title, first); … … 2354 2359 screentithek_settings(); 2355 2360 2356 if(getconfigint("tithek_cover", NULL) == 6 || getconfigint("tithek_view", NULL) == 6)2361 if(getconfigint("tithek_cover", NULL) >= 6 || getconfigint("tithek_view", NULL) >= 6) 2357 2362 { 2358 2363 listbox = getscreennode(grid, "listbox");
Note: See TracChangeset
for help on using the changeset viewer.