Changeset 18508


Ignore:
Timestamp:
11/09/12 17:01:00 (9 years ago)
Author:
obi
Message:

[titan] wetter update remove yellow from screen save with ok

Location:
titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/weather/weather.h

    r18096 r18508  
    503503       
    504504                if(rcret == getrcconfigint("rcexit", NULL)) break;
    505                 if(rcret == getrcconfigint("rcok", NULL)) break;
    506505
    507506                if(rcret == getrcconfigint("rcred", NULL))
    508     {
     507                {
    509508                        free(location); location = NULL;
    510509                        location = textinput("Location", NULL);
    511       if(location != NULL)
    512       {
     510                        if(location != NULL)
     511                        {
    513512                                struct skin* tmp = addlistbox(weather, listbox, NULL, 1);
    514513                                if(tmp != NULL)
     
    517516                                        changename(tmp, location);
    518517                                }
    519       }
    520       drawscreen(weather, 0, 0);
     518                        }
     519                        drawscreen(weather, 0, 0);
    521520                        if(location == NULL)
    522521                                continue;
    523522                        free(location); location = NULL;
    524     }
    525 
    526                 if(rcret == getrcconfigint("rcyellow", NULL))
     523        }
     524
     525                if(rcret == getrcconfigint("rcok", NULL))
    527526                {
    528527                        writeweather(getconfig("weatherfile", NULL), listbox);
  • titan/settings/weather

    r15360 r18508  
    1 1010 Wien
     1Wien
     2Erfurt
     3Berlin
  • titan/skins/weather/skin.xml

    r18507 r18508  
    2626<node name=day3_condition parent=box4 posx=5 posy=105 width=400 height=30>
    2727<node name=day3_icon parent=box4 posx=120 posy=160 width=100 height=100>
    28 
    2928<node name=date halign=left valign=center posx=50 posy=550 width=470 height=30 fontsize=30>
    30 
    3129<node name="buttonbar" posx=center posy="600" width="1220" height="50" bordercol="black" bordersize="1" borderradius="8" bgcol="titlebgcol" bgcol2="white" gradient="topmiddle">
    3230<node name="b1" picmem="skin/key_ok_70x40.png"   posx="50"  posy="605" width="70" height="40">
     
    3432<node name="b3" text="ADD" picmem="skin/key_red_30x30.png"     textposx="40" valign="middle" fontcol="black" fontsize="25" posx="205" posy="610" width="180" height="30">
    3533<node name="b4" text="DEL" picmem="skin/key_green_30x30.png"   textposx="40" valign="middle" fontcol="black" fontsize="25" posx="395" posy="610" width="250" height="30">
    36 <node name="b5" text="SAVE" picmem="skin/key_yellow_30x30.png"   textposx="40" valign="middle" fontcol="black" fontsize="25" posx="590" posy="610" width="250" height="30">
    3734</screen>
Note: See TracChangeset for help on using the changeset viewer.