source: titan/titan/skinadjust.h @ 34379

Last change on this file since 34379 was 34028, checked in by Stephan, 9 years ago

fix for #375

File size: 35.0 KB
Line 
1#ifndef SKINADJUST_H
2#define SKINADJUST_H
3
4void screenskinadjust()
5{
6        int rcret = 0, oleftoffset = 0, orightoffset = 0, otopoffset = 0, obottomoffset = 0, reboot = 0;
7        char* tmpstr = NULL;
8        struct skin* skinadjust = getscreen("skinadjust");
9        struct skin* listbox = getscreennode(skinadjust, "listbox");
10        struct skin* fontsizeadjust = getscreennode(skinadjust, "fontsizeadjust");
11        struct skin* listboxselecttype = getscreennode(skinadjust, "listboxselecttype");
12        struct skin* osdtransparent = getscreennode(skinadjust, "osdtransparent");
13        struct skin* leftoffset = getscreennode(skinadjust, "leftoffset");
14        struct skin* rightoffset = getscreennode(skinadjust, "rightoffset");
15        struct skin* topoffset = getscreennode(skinadjust, "topoffset");
16        struct skin* bottomoffset = getscreennode(skinadjust, "bottomoffset");
17        struct skin* showrecfreesize = getscreennode(skinadjust, "showrecfreesize");
18        struct skin* listboxselect = getscreennode(skinadjust, "listboxselect");
19        struct skin* tithek_selectcol = getscreennode(skinadjust, "tithek_selectcol");
20        struct skin* filelistselect = getscreennode(skinadjust, "filelistselect");
21        struct skin* buttonbar_bgcol = getscreennode(skinadjust, "buttonbar_bgcol");
22        struct skin* buttonbar_bgcol2 = getscreennode(skinadjust, "buttonbar_bgcol2");
23        struct skin* buttonbar_bordercol = getscreennode(skinadjust, "buttonbar_bordercol");
24        struct skin* buttonbar_fontcol = getscreennode(skinadjust, "buttonbar_fontcol");
25        struct skin* titlebar_bgcol = getscreennode(skinadjust, "titlebar_bgcol");
26        struct skin* titlebar_bgcol2 = getscreennode(skinadjust, "titlebar_bgcol2");
27        struct skin* titlebar_bordercol = getscreennode(skinadjust, "titlebar_bordercol");
28        struct skin* titlebar_fontcol = getscreennode(skinadjust, "titlebar_fontcol");
29        struct skin* bgcol = getscreennode(skinadjust, "bgcol");
30        struct skin* bgcol2 = getscreennode(skinadjust, "bgcol2");
31        struct skin* fontcol = getscreennode(skinadjust, "fontcol");
32        struct skin* bordercol = getscreennode(skinadjust, "bordercol");
33        struct skin* progresscol = getscreennode(skinadjust, "progresscol");
34        struct skin* titlebgcol = getscreennode(skinadjust, "titlebgcol");
35        struct skin* markcol = getscreennode(skinadjust, "markcol");
36        struct skin* okcol = getscreennode(skinadjust, "okcol");
37        struct skin* exitcol = getscreennode(skinadjust, "exitcol");
38        struct skin* deaktivcol = getscreennode(skinadjust, "deaktivcol");
39        struct skin* cpmode_bgcol = getscreennode(skinadjust, "cpmode_bgcol");
40        struct skin* cpmode_fontcol = getscreennode(skinadjust, "cpmode_fontcol");
41        struct skin* editmode_bgcol = getscreennode(skinadjust, "editmode_bgcol");
42        struct skin* editmode_fontcol = getscreennode(skinadjust, "editmode_fontcol");
43        struct skin* mvmode_bgcol = getscreennode(skinadjust, "mvmode_bgcol");
44        struct skin* mvmode_fontcol = getscreennode(skinadjust, "mvmode_fontcol");
45        struct skin* protectmode_bgcol = getscreennode(skinadjust, "protectmode_bgcol");
46        struct skin* protectmode_fontcol = getscreennode(skinadjust, "protectmode_fontcol");
47        struct skin* rec_progress = getscreennode(skinadjust, "rec_progress");
48        struct skin* epgcol1 = getscreennode(skinadjust, "epgcol1");
49        struct skin* epgcol2 = getscreennode(skinadjust, "epgcol2");
50        struct skin* epgcol3 = getscreennode(skinadjust, "epgcol3");
51        struct skin* emuaktivecol = getscreennode(skinadjust, "emuaktivecol");
52        struct skin* emurunningcol = getscreennode(skinadjust, "emurunningcol");
53        struct skin* favcol = getscreennode(skinadjust, "favcol");
54
55        struct skin* infobar_sel = getscreennode(skinadjust, "infobar_sel");
56        struct skin* infobar2_sel = getscreennode(skinadjust, "infobar2_sel");
57//      struct skin* pic1 = getscreennode(skinadjust, "pic1");
58//      struct skin* pic2 = getscreennode(skinadjust, "pic2");
59        struct skin* b5 = getscreennode(skinadjust, "b5");
60
61        struct skin* tmp = NULL;
62
63        changeinput(fontsizeadjust, "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n-15\n-14\n-13\n-12\n-11\n-10\n-9\n-8\n-7\n-6\n-5\n-4\n-3\n-2\n-1");
64        setchoiceboxselection(fontsizeadjust, getskinconfig("fontsizeadjust", NULL));
65
66        addchoicebox(listboxselecttype, "0", _("border"));
67        addchoicebox(listboxselecttype, "1", _("bar"));
68        addchoicebox(listboxselecttype, "2", _("text"));
69        addchoicebox(listboxselecttype, "3", _("picture"));
70        setchoiceboxselection(listboxselecttype, getskinconfig("listboxselecttype", NULL));
71
72        changeinput(osdtransparent, "0\n5\n10\n15\n20\n25\n30\n35\n40\n45\n50\n55\n60\n65\n70");
73        setchoiceboxselection(osdtransparent, getskinconfig("osdtransparent", NULL));
74
75#ifdef MIPSEL
76        changeinput(leftoffset, "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20");
77        setchoiceboxselection(leftoffset, getconfig("fbleftoffset", NULL));
78
79        changeinput(rightoffset, "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20");
80        setchoiceboxselection(rightoffset, getconfig("fbrightoffset", NULL));
81
82        changeinput(topoffset, "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20");
83        setchoiceboxselection(topoffset, getconfig("fbtopoffset", NULL));
84
85        changeinput(bottomoffset, "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20");
86        setchoiceboxselection(bottomoffset, getconfig("fbbottomoffset", NULL));
87#else
88        changeinput(leftoffset, "0\n10\n20\n30\n40\n50\n60\n70\n80\n90\n100");
89        setchoiceboxselection(leftoffset, getconfig("fbleftoffset", NULL));
90
91        changeinput(rightoffset, "0\n10\n20\n30\n40\n50\n60\n70\n80\n90\n100");
92        setchoiceboxselection(rightoffset, getconfig("fbrightoffset", NULL));
93
94        changeinput(topoffset, "0\n10\n20\n30\n40\n50\n60\n70\n80\n90\n100");
95        setchoiceboxselection(topoffset, getconfig("fbtopoffset", NULL));
96
97        changeinput(bottomoffset, "0\n10\n20\n30\n40\n50\n60\n70\n80\n90\n100");
98        setchoiceboxselection(bottomoffset, getconfig("fbbottomoffset", NULL));
99#endif
100        oleftoffset = getconfigint("fbleftoffset", NULL);
101        orightoffset = getconfigint("fbrightoffset", NULL);
102        otopoffset = getconfigint("fbtopoffset", NULL);
103        obottomoffset = getconfigint("fbbottomoffset", NULL);
104
105        if(checkscreen("infobar") != status.skinerr)
106                addchoicebox(infobar_sel, "infobar", "v1");
107        if(checkscreen("infobar_v2") != status.skinerr)
108                addchoicebox(infobar_sel, "infobar_v2","v2");
109        if(checkscreen("infobar_v3") != status.skinerr)
110                addchoicebox(infobar_sel, "infobar_v3","v3");
111        setchoiceboxselection(infobar_sel, getskinconfig("infobar_selection", NULL));
112
113        if(checkscreen("infobar2") != status.skinerr)
114                addchoicebox(infobar2_sel, "infobar2", "v1");
115        if(checkscreen("infobar2_v2") != status.skinerr)
116                addchoicebox(infobar2_sel, "infobar2_v2","v2");
117        if(checkscreen("infobar2_v3") != status.skinerr)
118                addchoicebox(infobar2_sel, "infobar2_v3","v3");
119        setchoiceboxselection(infobar2_sel, getskinconfig("infobar2_selection", NULL));
120
121        addchoicebox(showrecfreesize, "0", _("no"));
122        addchoicebox(showrecfreesize, "1", _("yes (Text in %)"));
123        addchoicebox(showrecfreesize, "2", _("yes (Text in MB)"));
124        setchoiceboxselection(showrecfreesize, getconfig("showrecfreesize", NULL));
125
126        addchoicebox(listboxselect, "0", getskinconfig("listboxselect", NULL));
127        addchoicebox(tithek_selectcol, "1", getskinconfig("tithek_selectcol", NULL));
128        addchoicebox(filelistselect, "2", getskinconfig("filelistselect", NULL));
129        addchoicebox(buttonbar_bgcol, "3", getskinconfig("buttonbar_bgcol", NULL));
130        addchoicebox(buttonbar_bgcol2, "4", getskinconfig("buttonbar_bgcol2", NULL));
131        addchoicebox(buttonbar_bordercol, "5", getskinconfig("buttonbar_bordercol", NULL));
132        addchoicebox(buttonbar_fontcol, "6", getskinconfig("buttonbar_fontcol", NULL));
133        addchoicebox(titlebar_bgcol, "7", getskinconfig("titlebar_bgcol", NULL));
134        addchoicebox(titlebar_bgcol2, "8", getskinconfig("titlebar_bgcol2", NULL));
135        addchoicebox(titlebar_bordercol, "9", getskinconfig("titlebar_bordercol", NULL));
136        addchoicebox(titlebar_fontcol, "10", getskinconfig("titlebar_fontcol", NULL));
137        addchoicebox(okcol, "11", getskinconfig("okcol", NULL));
138        addchoicebox(exitcol, "12", getskinconfig("exitcol", NULL));
139        addchoicebox(deaktivcol, "13", getskinconfig("deaktivcol", NULL));
140        addchoicebox(bgcol, "14", getskinconfig("bgcol", NULL));
141        addchoicebox(bgcol2, "15", getskinconfig("bgcol2", NULL));
142        addchoicebox(fontcol, "16", getskinconfig("fontcol", NULL));
143        addchoicebox(bordercol, "17", getskinconfig("bordercol", NULL));
144        addchoicebox(progresscol, "18", getskinconfig("progresscol", NULL));
145        addchoicebox(titlebgcol, "19", getskinconfig("titlebgcol", NULL));
146        addchoicebox(markcol, "20", getskinconfig("markcol", NULL));
147        addchoicebox(cpmode_bgcol, "21", getskinconfig("cpmode_bgcol", NULL));
148        addchoicebox(cpmode_fontcol, "22", getskinconfig("cpmode_fontcol", NULL));
149        addchoicebox(editmode_bgcol, "23", getskinconfig("editmode_bgcol", NULL));
150        addchoicebox(editmode_fontcol, "24", getskinconfig("editmode_fontcol", NULL));
151        addchoicebox(mvmode_fontcol, "25", getskinconfig("mvmode_fontcol", NULL));
152        addchoicebox(protectmode_bgcol, "26", getskinconfig("protectmode_bgcol", NULL));
153        addchoicebox(protectmode_fontcol, "27", getskinconfig("protectmode_fontcol", NULL));
154        addchoicebox(rec_progress, "28", getskinconfig("rec_progress", NULL));
155        addchoicebox(epgcol1, "29", getskinconfig("epgcol1", NULL));
156        addchoicebox(epgcol2, "30", getskinconfig("epgcol2", NULL));
157        addchoicebox(epgcol3, "31", getskinconfig("epgcol3", NULL));
158        addchoicebox(emuaktivecol, "32", getskinconfig("emuaktivecol", NULL));
159        addchoicebox(emurunningcol, "33", getskinconfig("emurunningcol", NULL));
160        addchoicebox(favcol, "34", getskinconfig("favcol", NULL));
161
162        listboxselect->fontcol2 = convertcol(getskinconfig("listboxselect", NULL));
163        tithek_selectcol->fontcol2 = convertcol(getskinconfig("tithek_selectcol", NULL));
164        filelistselect->fontcol2 = convertcol(getskinconfig("filelistselect", NULL));
165        buttonbar_bgcol->fontcol2 = convertcol(getskinconfig("buttonbar_bgcol", NULL));
166        buttonbar_bgcol2->fontcol2 = convertcol(getskinconfig("buttonbar_bgcol2", NULL));
167        buttonbar_bordercol->fontcol2 = convertcol(getskinconfig("buttonbar_bordercol", NULL));
168        buttonbar_fontcol->fontcol2 = convertcol(getskinconfig("buttonbar_fontcol", NULL));
169        titlebar_bgcol->fontcol2 = convertcol(getskinconfig("titlebar_bgcol", NULL));
170        titlebar_bgcol2->fontcol2 = convertcol(getskinconfig("titlebar_bgcol2", NULL));
171        titlebar_bordercol->fontcol2 = convertcol(getskinconfig("titlebar_bordercol", NULL));
172        titlebar_fontcol->fontcol2 = convertcol(getskinconfig("titlebar_fontcol", NULL));
173        okcol->fontcol2 = convertcol(getskinconfig("okcol", NULL));
174        exitcol->fontcol2 = convertcol(getskinconfig("exitcol", NULL));
175        deaktivcol->fontcol2 = convertcol(getskinconfig("deaktivcol", NULL));
176        bgcol->fontcol2 = convertcol(getskinconfig("bgcol", NULL));
177        bgcol2->fontcol2 = convertcol(getskinconfig("bgcol2", NULL));
178        fontcol->fontcol2 = convertcol(getskinconfig("fontcol", NULL));
179        bordercol->fontcol2 = convertcol(getskinconfig("bordercol", NULL));
180        progresscol->fontcol2 = convertcol(getskinconfig("progresscol", NULL));
181        titlebgcol->fontcol2 = convertcol(getskinconfig("titlebgcol", NULL));
182        markcol->fontcol2 = convertcol(getskinconfig("markcol", NULL));
183        rec_progress->fontcol2 = convertcol(getskinconfig("rec_progress", NULL));
184        cpmode_bgcol->fontcol2 = convertcol(getskinconfig("cpmode_bgcol", NULL));
185        cpmode_fontcol->fontcol2 = convertcol(getskinconfig("cpmode_fontcol", NULL));
186        editmode_bgcol->fontcol2 = convertcol(getskinconfig("editmode_bgcol", NULL));
187        editmode_fontcol->fontcol2 = convertcol(getskinconfig("editmode_fontcol", NULL));
188        mvmode_bgcol->fontcol2 = convertcol(getskinconfig("mvmode_bgcol", NULL));
189        mvmode_fontcol->fontcol2 = convertcol(getskinconfig("mvmode_fontcol", NULL));
190        protectmode_bgcol->fontcol2 = convertcol(getskinconfig("protectmode_bgcol", NULL));
191        protectmode_fontcol->fontcol2 = convertcol(getskinconfig("protectmode_fontcol", NULL));
192        epgcol1->fontcol2 = convertcol(getskinconfig("epgcol1", NULL));
193        epgcol2->fontcol2 = convertcol(getskinconfig("epgcol2", NULL));
194        epgcol3->fontcol2 = convertcol(getskinconfig("epgcol3", NULL));
195        emuaktivecol->fontcol2 = convertcol(getskinconfig("emuaktivecol", NULL));
196        emurunningcol->fontcol2 = convertcol(getskinconfig("emurunningcol", NULL));
197        favcol->fontcol2 = convertcol(getskinconfig("favcol", NULL));
198
199        if(status.expertmodus < 10)
200        {
201//              listboxselect->hidden = YES;
202//              tithek_selectcol->hidden = YES;
203//              filelistselect->hidden = YES;
204                buttonbar_bgcol->hidden = YES;
205                buttonbar_bgcol2->hidden = YES;
206                buttonbar_bordercol->hidden = YES;
207                buttonbar_fontcol->hidden = YES;
208                titlebar_bgcol->hidden = YES;
209                titlebar_bgcol2->hidden = YES;
210                titlebar_bordercol->hidden = YES;
211                titlebar_fontcol->hidden = YES;
212                okcol->hidden = YES;
213                exitcol->hidden = YES;
214                deaktivcol->hidden = YES;
215                bgcol->hidden = YES;
216                bgcol2->hidden = YES;
217                fontcol->hidden = YES;
218                bordercol->hidden = YES;
219                progresscol->hidden = YES;
220                titlebgcol->hidden = YES;
221                markcol->hidden = YES;
222                rec_progress->hidden = YES;
223                cpmode_bgcol->hidden = YES;
224                cpmode_fontcol->hidden = YES;
225                editmode_bgcol->hidden = YES;
226                editmode_fontcol->hidden = YES;
227                mvmode_bgcol->hidden = YES;
228                mvmode_fontcol->hidden = YES;
229                protectmode_bgcol->hidden = YES;
230                protectmode_fontcol->hidden = YES;
231                epgcol1->hidden = YES;
232                epgcol2->hidden = YES;
233                epgcol3->hidden = YES;
234                emuaktivecol->hidden = YES;
235                emurunningcol->hidden = YES;
236                favcol->hidden = YES;
237        }
238       
239        if(status.security == 0 || checkemu() == 0)
240        {
241                emuaktivecol->hidden = YES;
242                emurunningcol->hidden = YES;
243        }
244        else
245        {
246                emuaktivecol->hidden = NO;
247                emurunningcol->hidden = NO;
248        }
249                                       
250        b5->hidden = YES;
251
252        drawscreen(skinadjust, 0, 0);
253        addscreenrc(skinadjust, listbox);
254
255        tmp = listbox->select;
256        while(1)
257        {
258                int offsetchange = 0;
259                addscreenrc(skinadjust, tmp);
260                rcret = waitrc(skinadjust, 0, 0);
261                tmp = listbox->select;
262
263                addconfigscreencheck("fbleftoffset", leftoffset, "0");
264                if(status.leftoffset != getconfigint("fbleftoffset", NULL)) offsetchange = 1;
265                status.leftoffset = getconfigint("fbleftoffset", NULL);
266
267                addconfigscreencheck("fbrightoffset", rightoffset, "0");
268                if(status.rightoffset != getconfigint("fbrightoffset", NULL)) offsetchange = 1;
269                status.rightoffset = getconfigint("fbrightoffset", NULL);
270
271                addconfigscreencheck("fbtopoffset", topoffset, "0");
272                if(status.topoffset != getconfigint("fbtopoffset", NULL)) offsetchange = 1;
273                status.topoffset = getconfigint("fbtopoffset", NULL);
274
275                addconfigscreencheck("fbbottomoffset", bottomoffset, "0");
276                if(status.bottomoffset != getconfigint("fbbottomoffset", NULL)) offsetchange = 1;
277                status.bottomoffset = getconfigint("fbbottomoffset", NULL);
278
279                if(offsetchange == 1 && (ostrcmp(getconfig("av_mode3d", NULL), "sbs") == 0 || ostrcmp(getconfig("av_mode3d", NULL), "tab") == 0)) clearfball();
280
281                drawscreen(skinadjust, 0, 0);
282
283#ifdef MIPSEL
284                setfbosd();
285#endif
286
287                if(rcret == getrcconfigint("rcexit", NULL))
288                {
289                        addconfigint("fbleftoffset", oleftoffset);
290                        status.leftoffset = getconfigint("fbleftoffset", NULL);
291                        addconfigint("fbrightoffset", orightoffset);
292                        status.rightoffset = getconfigint("fbrightoffset", NULL);
293                        addconfigint("fbtopoffset", otopoffset);
294                        status.topoffset = getconfigint("fbtopoffset", NULL);
295                        addconfigint("fbbottomoffset", obottomoffset);
296                        status.bottomoffset = getconfigint("fbbottomoffset", NULL);
297                        clearfball();
298                        break;
299                }
300
301                if(rcret == getrcconfigint("rcred", NULL))
302                {
303                        char* cmd = NULL;
304                        if(ostrcmp(getconfig("skinconfig", NULL), "/mnt/config/skinconfig") == 0)                               
305                                cmd = ostrcat("cp -a /etc/titan.restore/mnt/config/skinconfig ", getconfig("skinconfig", NULL), 0, 0);
306                        else
307                        {
308                                cmd = ostrcat(cmd, "cp -a ", 1, 0);
309                                cmd = ostrcat(cmd, getconfig("skinconfig", NULL), 1, 0);
310                                cmd = ostrcat(cmd, ".default ", 1, 0);
311                                cmd = ostrcat(cmd, getconfig("skinconfig", NULL), 1, 0);
312                        }
313                        printf("cmd: %s\n", cmd);       
314                        system(cmd);
315                        free(cmd); cmd = NULL;
316
317                        textbox(_("Message"), _("Titan will be restarted!"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 0, 0);
318                        oshutdown(3, 0);
319
320                        break;
321                }
322
323                if(rcret == getrcconfigint("rcgreen", NULL))
324                {
325                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "listboxselect") == 0)
326                        {
327                                long oldlistboxselectcol = convertcol("listboxselect");
328                                tmpstr = screencolorpicker(getskinconfig("listboxselect", NULL), 0, 0, 0);
329                                if(tmpstr != NULL)
330                                        addskinconfigtmp("listboxselect", tmpstr);
331                                if(oldlistboxselectcol != convertcol("listboxselect")) reboot = 1;
332                                listboxselect->fontcol2 = convertcol(tmpstr);
333                        }
334
335                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "tithek_selectcol") == 0)
336                        {
337                                long oldtithek_selectcol = convertcol("tithek_selectcol");
338                                tmpstr = screencolorpicker(getskinconfig("tithek_selectcol", NULL), 0, 0, 0);
339                                if(tmpstr != NULL)
340                                        addskinconfigtmp("tithek_selectcol", tmpstr);
341                                if(oldtithek_selectcol != convertcol("tithek_selectcol")) reboot = 1;
342                                tithek_selectcol->fontcol2 = convertcol(tmpstr);
343                        }
344
345                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "filelistselect") == 0)
346                        {
347                                long oldfilelistselect = convertcol("filelistselect");
348                                tmpstr = screencolorpicker(getskinconfig("filelistselect", NULL), 0, 0, 0);
349                                if(tmpstr != NULL)
350                                        addskinconfigtmp("filelistselect", tmpstr);
351                                if(oldfilelistselect != convertcol("filelistselect")) reboot = 1;
352                                filelistselect->fontcol2 = convertcol(tmpstr);
353                        }
354
355                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "buttonbar_bgcol") == 0)
356                        {
357                                long oldbuttonbar_bgcol = convertcol("buttonbar_bgcol");
358                                tmpstr = screencolorpicker(getskinconfig("buttonbar_bgcol", NULL), 0, 0, 0);
359                                if(tmpstr != NULL)
360                                        addskinconfigtmp("buttonbar_bgcol", tmpstr);
361                                if(oldbuttonbar_bgcol != convertcol("buttonbar_bgcol")) reboot = 1;
362                                buttonbar_bgcol->fontcol2 = convertcol(tmpstr);
363                        }
364
365                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "buttonbar_bgcol2") == 0)
366                        {
367                                long oldbuttonbar_bgcol2 = convertcol("buttonbar_bgcol2");
368                                tmpstr = screencolorpicker(getskinconfig("buttonbar_bgcol2", NULL), 0, 0, 0);
369                                if(tmpstr != NULL)
370                                        addskinconfigtmp("buttonbar_bgcol2", tmpstr);
371                                if(oldbuttonbar_bgcol2 != convertcol("buttonbar_bgcol2")) reboot = 1;
372                                buttonbar_bgcol2->fontcol2 = convertcol(tmpstr);
373                        }
374
375                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "buttonbar_bordercol") == 0)
376                        {
377                                long oldbuttonbar_bordercol = convertcol("buttonbar_bordercol");
378                                tmpstr = screencolorpicker(getskinconfig("buttonbar_bordercol", NULL), 0, 0, 0);
379                                if(tmpstr != NULL)
380                                        addskinconfigtmp("buttonbar_bordercol", tmpstr);
381                                if(oldbuttonbar_bordercol != convertcol("buttonbar_bordercol")) reboot = 1;
382                                buttonbar_bordercol->fontcol2 = convertcol(tmpstr);
383                        }
384
385                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "buttonbar_fontcol") == 0)
386                        {
387                                long oldbuttonbar_fontcol = convertcol("buttonbar_fontcol");
388                                tmpstr = screencolorpicker(getskinconfig("buttonbar_fontcol", NULL), 0, 0, 0);
389                                if(tmpstr != NULL)
390                                        addskinconfigtmp("buttonbar_fontcol", tmpstr);
391                                if(oldbuttonbar_fontcol != convertcol("buttonbar_fontcol")) reboot = 1;
392                                buttonbar_fontcol->fontcol2 = convertcol(tmpstr);
393                        }
394
395                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "titlebar_bgcol") == 0)
396                        {
397                                long oldtitlebar_bgcol = convertcol("titlebar_bgcol");
398                                tmpstr = screencolorpicker(getskinconfig("titlebar_bgcol", NULL), 0, 0, 0);
399                                if(tmpstr != NULL)
400                                        addskinconfigtmp("titlebar_bgcol", tmpstr);
401                                if(oldtitlebar_bgcol != convertcol("titlebar_bgcol")) reboot = 1;
402                                titlebar_bgcol->fontcol2 = convertcol(tmpstr);
403                        }
404
405                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "titlebar_bgcol2") == 0)
406                        {
407                                long oldtitlebar_bgcol2 = convertcol("titlebar_bgcol2");
408                                tmpstr = screencolorpicker(getskinconfig("titlebar_bgcol2", NULL), 0, 0, 0);
409                                if(tmpstr != NULL)
410                                        addskinconfigtmp("titlebar_bgcol2", tmpstr);
411                                if(oldtitlebar_bgcol2 != convertcol("titlebar_bgcol2")) reboot = 1;
412                                titlebar_bgcol2->fontcol2 = convertcol(tmpstr);
413                        }
414
415                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "titlebar_bordercol") == 0)
416                        {
417                                long oldtitlebar_bordercol = convertcol("titlebar_bordercol");
418                                tmpstr = screencolorpicker(getskinconfig("titlebar_bordercol", NULL), 0, 0, 0);
419                                if(tmpstr != NULL)
420                                        addskinconfigtmp("titlebar_bordercol", tmpstr);
421                                if(oldtitlebar_bordercol != convertcol("titlebar_bordercol")) reboot = 1;
422                                titlebar_bordercol->fontcol2 = convertcol(tmpstr);
423                        }
424
425                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "titlebar_fontcol") == 0)
426                        {
427                                long oldtitlebar_fontcol = convertcol("titlebar_fontcol");
428                                tmpstr = screencolorpicker(getskinconfig("titlebar_fontcol", NULL), 0, 0, 0);
429                                if(tmpstr != NULL)
430                                        addskinconfigtmp("titlebar_fontcol", tmpstr);
431                                if(oldtitlebar_fontcol != convertcol("titlebar_fontcol")) reboot = 1;
432                                titlebar_fontcol->fontcol2 = convertcol(tmpstr);
433                        }
434
435                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "okcol") == 0)
436                        {
437                                long oldokcol = convertcol("okcol");
438                                tmpstr = screencolorpicker(getskinconfig("okcol", NULL), 0, 0, 0);
439                                if(tmpstr != NULL)
440                                        addskinconfigtmp("okcol", tmpstr);
441                                if(oldokcol != convertcol("okcol")) reboot = 1;
442                                okcol->fontcol2 = convertcol(tmpstr);
443                        }
444
445                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "exitcol") == 0)
446                        {
447                                long oldexitcol = convertcol("exitcol");
448                                tmpstr = screencolorpicker(getskinconfig("exitcol", NULL), 0, 0, 0);
449                                if(tmpstr != NULL)
450                                        addskinconfigtmp("exitcol", tmpstr);
451                                if(oldexitcol != convertcol("exitcol")) reboot = 1;
452                                okcol->fontcol2 = convertcol(tmpstr);
453                        }
454
455                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "deaktivcol") == 0)
456                        {
457                                long olddeaktivcol = convertcol("deaktivcol");
458                                tmpstr = screencolorpicker(getskinconfig("deaktivcol", NULL), 0, 0, 0);
459                                if(tmpstr != NULL)
460                                        addskinconfigtmp("deaktivcol", tmpstr);
461                                if(olddeaktivcol != convertcol("deaktivcol")) reboot = 1;
462                                deaktivcol->fontcol2 = convertcol(tmpstr);
463                        }
464
465                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "bgcol") == 0)
466                        {
467                                long oldbgcol = convertcol("bgcol");
468                                tmpstr = screencolorpicker(getskinconfig("bgcol", NULL), 0, 0, 0);
469                                if(tmpstr != NULL)
470                                        addskinconfigtmp("bgcol", tmpstr);
471                                if(oldbgcol != convertcol("bgcol")) reboot = 1;
472                                bgcol->fontcol2 = convertcol(tmpstr);
473                        }
474
475                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "bgcol2") == 0)
476                        {
477                                long oldbgcol2 = convertcol("bgcol2");
478                                tmpstr = screencolorpicker(getskinconfig("bgcol2", NULL), 0, 0, 0);
479                                if(tmpstr != NULL)
480                                        addskinconfigtmp("bgcol2", tmpstr);
481                                if(oldbgcol2 != convertcol("bgcol2")) reboot = 1;
482                                bgcol2->fontcol2 = convertcol(tmpstr);
483                        }
484
485                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "fontcol") == 0)
486                        {
487                                long oldfontcol = convertcol("fontcol");
488                                tmpstr = screencolorpicker(getskinconfig("fontcol", NULL), 0, 0, 0);
489                                if(tmpstr != NULL)
490                                        addskinconfigtmp("fontcol", tmpstr);
491                                if(oldfontcol != convertcol("fontcol")) reboot = 1;
492                                fontcol->fontcol2 = convertcol(tmpstr);
493                        }
494
495                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "bordercol") == 0)
496                        {
497                                long oldbordercol = convertcol("bordercol");
498                                tmpstr = screencolorpicker(getskinconfig("bordercol", NULL), 0, 0, 0);
499                                if(tmpstr != NULL)
500                                        addskinconfigtmp("bordercol", tmpstr);
501                                if(oldbordercol != convertcol("bordercol")) reboot = 1;
502                                bordercol->fontcol2 = convertcol(tmpstr);
503                        }
504
505                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "progresscol") == 0)
506                        {
507                                long oldprogresscol = convertcol("progresscol");
508                                tmpstr = screencolorpicker(getskinconfig("progresscol", NULL), 0, 0, 0);
509                                if(tmpstr != NULL)
510                                        addskinconfigtmp("progresscol", tmpstr);
511                                if(oldprogresscol != convertcol("progresscol")) reboot = 1;
512                                progresscol->fontcol2 = convertcol(tmpstr);
513                        }
514
515                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "titlebgcol") == 0)
516                        {
517                                long oldtitlebgcol = convertcol("titlebgcol");
518                                tmpstr = screencolorpicker(getskinconfig("titlebgcol", NULL), 0, 0, 0);
519                                if(tmpstr != NULL)
520                                        addskinconfigtmp("titlebgcol", tmpstr);
521                                if(oldtitlebgcol != convertcol("titlebgcol")) reboot = 1;
522                                titlebgcol->fontcol2 = convertcol(tmpstr);
523                        }
524
525                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "markcol") == 0)
526                        {
527                                long oldmarkcol = convertcol("markcol");
528                                tmpstr = screencolorpicker(getskinconfig("markcol", NULL), 0, 0, 0);
529                                if(tmpstr != NULL)
530                                        addskinconfigtmp("markcol", tmpstr);
531                                if(oldmarkcol != convertcol("markcol")) reboot = 1;
532                                markcol->fontcol2 = convertcol(tmpstr);
533                        }
534
535                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "cpmode_bgcol") == 0)
536                        {
537                                long oldcpmode_bgcol = convertcol("cpmode_bgcol");
538                                tmpstr = screencolorpicker(getskinconfig("cpmode_bgcol", NULL), 0, 0, 0);
539                                if(tmpstr != NULL)
540                                        addskinconfigtmp("cpmode_bgcol", tmpstr);
541                                if(oldcpmode_bgcol != convertcol("cpmode_bgcol")) reboot = 1;
542                                cpmode_bgcol->fontcol2 = convertcol(tmpstr);
543                        }
544
545                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "cpmode_fontcol") == 0)
546                        {
547                                long oldcpmode_fontcol = convertcol("cpmode_fontcol");
548                                tmpstr = screencolorpicker(getskinconfig("cpmode_fontcol", NULL), 0, 0, 0);
549                                if(tmpstr != NULL)
550                                        addskinconfigtmp("cpmode_fontcol", tmpstr);
551                                if(oldcpmode_fontcol != convertcol("cpmode_fontcol")) reboot = 1;
552                                cpmode_fontcol->fontcol2 = convertcol(tmpstr);
553                        }
554
555                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "editmode_bgcol") == 0)
556                        {
557                                long oldeditmode_bgcol = convertcol("editmode_bgcol");
558                                tmpstr = screencolorpicker(getskinconfig("editmode_bgcol", NULL), 0, 0, 0);
559                                if(tmpstr != NULL)
560                                        addskinconfigtmp("editmode_bgcol", tmpstr);
561                                if(oldeditmode_bgcol != convertcol("editmode_bgcol")) reboot = 1;
562                                editmode_bgcol->fontcol2 = convertcol(tmpstr);
563                        }
564
565                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "editmode_fontcol") == 0)
566                        {
567                                long oldeditmode_fontcol = convertcol("editmode_fontcol");
568                                tmpstr = screencolorpicker(getskinconfig("editmode_fontcol", NULL), 0, 0, 0);
569                                if(tmpstr != NULL)
570                                        addskinconfigtmp("editmode_fontcol", tmpstr);
571                                if(oldeditmode_fontcol != convertcol("editmode_fontcol")) reboot = 1;
572                                editmode_fontcol->fontcol2 = convertcol(tmpstr);
573                        }
574
575                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "mvmode_bgcol") == 0)
576                        {
577                                long oldmvmode_bgcol = convertcol("mvmode_bgcol");
578                                tmpstr = screencolorpicker(getskinconfig("mvmode_bgcol", NULL), 0, 0, 0);
579                                if(tmpstr != NULL)
580                                        addskinconfigtmp("mvmode_bgcol", tmpstr);
581                                if(oldmvmode_bgcol != convertcol("mvmode_bgcol")) reboot = 1;
582                                mvmode_bgcol->fontcol2 = convertcol(tmpstr);
583                        }
584
585                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "mvmode_fontcol") == 0)
586                        {
587                                long oldmvmode_fontcol = convertcol("mvmode_fontcol");
588                                tmpstr = screencolorpicker(getskinconfig("mvmode_fontcol", NULL), 0, 0, 0);
589                                if(tmpstr != NULL)
590                                        addskinconfigtmp("mvmode_fontcol", tmpstr);
591                                if(oldmvmode_fontcol != convertcol("mvmode_fontcol")) reboot = 1;
592                                mvmode_fontcol->fontcol2 = convertcol(tmpstr);
593                        }
594
595                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "protectmode_bgcol") == 0)
596                        {
597                                long oldprotectmode_bgcol = convertcol("protectmode_bgcol");
598                                tmpstr = screencolorpicker(getskinconfig("protectmode_bgcol", NULL), 0, 0, 0);
599                                if(tmpstr != NULL)
600                                        addskinconfigtmp("protectmode_bgcol", tmpstr);
601                                if(oldprotectmode_bgcol != convertcol("protectmode_bgcol")) reboot = 1;
602                                protectmode_bgcol->fontcol2 = convertcol(tmpstr);
603                        }
604
605                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "protectmode_fontcol") == 0)
606                        {
607                                long oldprotectmode_fontcol = convertcol("protectmode_fontcol");
608                                tmpstr = screencolorpicker(getskinconfig("protectmode_fontcol", NULL), 0, 0, 0);
609                                if(tmpstr != NULL)
610                                        addskinconfigtmp("protectmode_fontcol", tmpstr);
611                                if(oldprotectmode_fontcol != convertcol("protectmode_fontcol")) reboot = 1;
612                                protectmode_fontcol->fontcol2 = convertcol(tmpstr);
613                        }
614
615                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "rec_progress") == 0)
616                        {
617                                long oldrec_progress = convertcol("rec_progress");
618                                tmpstr = screencolorpicker(getskinconfig("rec_progress", NULL), 0, 0, 0);
619                                if(tmpstr != NULL)
620                                        addskinconfigtmp("rec_progress", tmpstr);
621                                if(oldrec_progress != convertcol("rec_progress")) reboot = 1;
622                                rec_progress->fontcol2 = convertcol(tmpstr);
623                        }
624
625                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "epgcol1") == 0)
626                        {
627                                long oldepgcol1 = convertcol("epgcol1");
628                                tmpstr = screencolorpicker(getskinconfig("epgcol1", NULL), 0, 0, 0);
629                                if(tmpstr != NULL)
630                                        addskinconfigtmp("epgcol1", tmpstr);
631                                if(oldepgcol1 != convertcol("epgcol1")) reboot = 1;
632                                epgcol1->fontcol2 = convertcol(tmpstr);
633                        }                                               
634
635                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "epgcol2") == 0)
636                        {
637                                long oldepgcol2 = convertcol("epgcol2");
638                                tmpstr = screencolorpicker(getskinconfig("epgcol2", NULL), 0, 0, 0);
639                                if(tmpstr != NULL)
640                                        addskinconfigtmp("epgcol2", tmpstr);
641                                if(oldepgcol2 != convertcol("epgcol2")) reboot = 1;
642                                epgcol2->fontcol2 = convertcol(tmpstr);
643                        }
644
645                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "epgcol3") == 0)
646                        {
647                                long oldepgcol3 = convertcol("epgcol3");
648                                tmpstr = screencolorpicker(getskinconfig("epgcol3", NULL), 0, 0, 0);
649                                if(tmpstr != NULL)
650                                        addskinconfigtmp("epgcol3", tmpstr);
651                                if(oldepgcol3 != convertcol("epgcol3")) reboot = 1;
652                                epgcol3->fontcol2 = convertcol(tmpstr);
653                        }
654
655                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "emuaktivecol") == 0)
656                        {
657                                long oldemuaktivecol = convertcol("emuaktivecol");
658                                tmpstr = screencolorpicker(getskinconfig("emuaktivecol", NULL), 0, 0, 0);
659                                if(tmpstr != NULL)
660                                        addskinconfigtmp("emuaktivecol", tmpstr);
661                                if(oldemuaktivecol != convertcol("emuaktivecol")) reboot = 1;
662                                emuaktivecol->fontcol2 = convertcol(tmpstr);
663                        }
664
665                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "emurunningcol") == 0)
666                        {
667                                long oldemurunningcol = convertcol("emurunningcol");
668                                tmpstr = screencolorpicker(getskinconfig("emurunningcol", NULL), 0, 0, 0);
669                                if(tmpstr != NULL)
670                                        addskinconfigtmp("emurunningcol", tmpstr);
671                                if(oldemurunningcol != convertcol("emurunningcol")) reboot = 1;
672                                emurunningcol->fontcol2 = convertcol(tmpstr);
673                        }
674
675                        if(listbox->select != NULL && ostrcmp(listbox->select->name, "favcol") == 0)
676                        {
677                                long oldfavcol = convertcol("favcol");
678                                tmpstr = screencolorpicker(getskinconfig("favcol", NULL), 0, 0, 0);
679                                if(tmpstr != NULL)
680                                        addskinconfigtmp("favcol", tmpstr);
681                                if(oldfavcol != convertcol("favcol")) reboot = 1;
682                                favcol->fontcol2 = convertcol(tmpstr);
683                        }
684
685                        drawscreen(skinadjust, 0, 0);
686
687                        debug(10, "%s set %s", listbox->select->name, tmpstr);
688                        free(tmpstr), tmpstr = NULL;
689                        continue;
690                }
691
692                if(rcret == getrcconfigint("rcok", NULL))
693                {
694                        int oldfontsizeadjust = getskinconfigint("fontsizeadjust", NULL);
695                        addskinconfigscreencheck("fontsizeadjust", fontsizeadjust, "0");
696                        if(oldfontsizeadjust != getskinconfigint("fontsizeadjust", NULL)) reboot = 1;
697                        status.fontsizeadjust = getskinconfigint("fontsizeadjust", NULL);
698
699                        addskinconfigscreencheck("listboxselecttype", listboxselecttype, "0");
700                        status.listboxselecttype = getskinconfigint("listboxselecttype", NULL);
701
702                        addskinconfigscreencheck("osdtransparent", osdtransparent, "0");
703                        setosdtransparent(getskinconfigint("osdtransparent", NULL));
704                        addconfigscreencheck("showrecfreesize", showrecfreesize, "0");
705                        status.showrecfreesize = getconfigint("showrecfreesize", NULL);
706
707                        char* oldinfobar_sel = getskinconfig("infobar_selection", NULL);
708                        addskinconfigscreencheck("infobar_selection", infobar_sel, "0");
709                        if(ostrcmp(oldinfobar_sel,getskinconfig("infobar_selection", NULL)) != 0) reboot = 1;
710                        //free(oldinfobar_sel); oldinfobar_sel=NULL;
711
712                        char* oldinfobar2_sel = getskinconfig("infobar2_selection", NULL);
713                        addskinconfigscreencheck("infobar2_selection", infobar2_sel, "0");
714                        if(ostrcmp(oldinfobar2_sel,getskinconfig("infobar2_selection", NULL)) != 0) reboot = 1;
715                        //free(oldinfobar2_sel); oldinfobar2_sel=NULL;
716
717                        writeskinconfigtmp();
718                        if(reboot == 1)
719                        {
720                                textbox(_("Message"), _("Titan will be restarted!"), _("OK"), getrcconfigint("rcok", NULL), NULL, 0, NULL, 0, NULL, 0, 600, 200, 0, 0);
721                                oshutdown(3, 0);
722                        }
723
724                        break;
725                }
726
727                if(ostrcmp(listbox->select->name, "listboxselect") == 0)
728                        b5->hidden = NO;
729                else if(ostrcmp(listbox->select->name, "tithek_selectcol") == 0)
730                        b5->hidden = NO;
731                else if(ostrcmp(listbox->select->name, "filelistselect") == 0)
732                        b5->hidden = NO;
733                else if(ostrcmp(listbox->select->name, "buttonbar_bgcol") == 0)
734                        b5->hidden = NO;
735                else if(ostrcmp(listbox->select->name, "buttonbar_bgcol2") == 0)
736                        b5->hidden = NO;
737                else if(ostrcmp(listbox->select->name, "buttonbar_bordercol") == 0)
738                        b5->hidden = NO;
739                else if(ostrcmp(listbox->select->name, "buttonbar_fontcol") == 0)
740                        b5->hidden = NO;
741                else if(ostrcmp(listbox->select->name, "titlebar_bgcol") == 0)
742                        b5->hidden = NO;
743                else if(ostrcmp(listbox->select->name, "titlebar_bgcol2") == 0)
744                        b5->hidden = NO;
745                else if(ostrcmp(listbox->select->name, "titlebar_bordercol") == 0)
746                        b5->hidden = NO;
747                else if(ostrcmp(listbox->select->name, "titlebar_fontcol") == 0)
748                        b5->hidden = NO;
749                else if(ostrcmp(listbox->select->name, "okcol") == 0)
750                        b5->hidden = NO;
751                else if(ostrcmp(listbox->select->name, "exitcol") == 0)
752                        b5->hidden = NO;
753                else if(ostrcmp(listbox->select->name, "deaktivcol") == 0)
754                        b5->hidden = NO;
755                else if(ostrcmp(listbox->select->name, "bgcol") == 0)
756                        b5->hidden = NO;
757                else if(ostrcmp(listbox->select->name, "bgcol2") == 0)
758                        b5->hidden = NO;
759                else if(ostrcmp(listbox->select->name, "fontcol") == 0)
760                        b5->hidden = NO;
761                else if(ostrcmp(listbox->select->name, "bordercol") == 0)
762                        b5->hidden = NO;
763                else if(ostrcmp(listbox->select->name, "titlebgcol") == 0)
764                        b5->hidden = NO;
765                else if(ostrcmp(listbox->select->name, "progresscol") == 0)
766                        b5->hidden = NO;
767                else if(ostrcmp(listbox->select->name, "markcol") == 0)
768                        b5->hidden = NO;
769                else if(ostrcmp(listbox->select->name, "cpmode_bgcol") == 0)
770                        b5->hidden = NO;
771                else if(ostrcmp(listbox->select->name, "cpmode_fontcol") == 0)
772                        b5->hidden = NO;
773                else if(ostrcmp(listbox->select->name, "editmode_bgcol") == 0)
774                        b5->hidden = NO;
775                else if(ostrcmp(listbox->select->name, "editmode_fontcol") == 0)
776                        b5->hidden = NO;
777                else if(ostrcmp(listbox->select->name, "mvmode_bgcol") == 0)
778                        b5->hidden = NO;
779                else if(ostrcmp(listbox->select->name, "mvmode_fontcol") == 0)
780                        b5->hidden = NO;
781                else if(ostrcmp(listbox->select->name, "protectmode_bgcol") == 0)
782                        b5->hidden = NO;
783                else if(ostrcmp(listbox->select->name, "protectmode_fontcol") == 0)
784                        b5->hidden = NO;
785                else if(ostrcmp(listbox->select->name, "rec_progress") == 0)
786                        b5->hidden = NO;
787                else if(ostrcmp(listbox->select->name, "epgcol1") == 0)
788                        b5->hidden = NO;
789                else if(ostrcmp(listbox->select->name, "epgcol2") == 0)
790                        b5->hidden = NO;
791                else if(ostrcmp(listbox->select->name, "epgcol3") == 0)
792                        b5->hidden = NO;
793                else if(ostrcmp(listbox->select->name, "emuaktivecol") == 0)
794                        b5->hidden = NO;
795                else if(ostrcmp(listbox->select->name, "emurunningcol") == 0)
796                        b5->hidden = NO;
797                else if(ostrcmp(listbox->select->name, "favcol") == 0)
798                        b5->hidden = NO;
799                else
800                        b5->hidden = YES;
801
802                drawscreen(skinadjust, 0, 0);
803        }
804
805        delskinconfigtmpall();
806        delownerrc(skinadjust);
807        clearscreen(skinadjust);
808}
809
810#endif
Note: See TracBrowser for help on using the repository browser.