Ignore:
Timestamp:
01/05/15 16:22:24 (8 years ago)
Author:
Stephan
Message:

[webif] led bar gray when mute
[oled] symbols only for nemesis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skinfunc.h

    r32089 r32105  
    144144
    145145#ifdef MIPSEL
    146 ///rec png
    147         char* getoledrec(struct skin* node, char* path)
    148         {
    149                 char* tmpstr = NULL;
    150 
    151                 if(status.recording > 0)
    152                 {
    153                         tmpstr = ostrcat("oled_rec.png", NULL, 0, 0);
    154 
    155                         if(path != NULL)
    156                                 tmpstr = ostrcat("/", tmpstr, 0, 1);
    157                         tmpstr = ostrcat(path, tmpstr, 0, 1);
    158                 }
    159        
    160                 return tmpstr;
    161         }
    162 ///mute png
    163         char* getoledmute(struct skin* node, char* path)
     146        if(checkrealbox("INI-8000AM") == 1)
     147        {
     148        //rec png
     149                char* getoledrec(struct skin* node, char* path)
     150                {
     151                        char* tmpstr = NULL;
     152
     153                        if(status.recording > 0)
     154                        {
     155                                tmpstr = ostrcat("oled_rec.png", NULL, 0, 0);
     156
     157                                if(path != NULL) tmpstr = ostrcat("/", tmpstr, 0, 1);
     158                                tmpstr = ostrcat(path, tmpstr, 0, 1);
     159                        }
     160       
     161                        return tmpstr;
     162                }
     163        //mute png
     164                char* getoledmute(struct skin* node, char* path)
    164165                {
    165166                        char* tmpstr = NULL;
     
    169170                                tmpstr = ostrcat("oled_mute.png", NULL, 0, 0);
    170171
    171                                 if(path != NULL)
    172                                         tmpstr = ostrcat("/", tmpstr, 0, 1);
     172                                if(path != NULL) tmpstr = ostrcat("/", tmpstr, 0, 1);
    173173                                tmpstr = ostrcat(path, tmpstr, 0, 1);
    174174                        }
     
    177177                }
    178178
    179 ///timeshift png
    180         char* getoledtimeshift(struct skin* node, char* path)
     179        //timeshift png
     180                char* getoledtimeshift(struct skin* node, char* path)
    181181                {
    182182                        char* tmpstr = NULL;
     
    186186                                tmpstr = ostrcat("oled_timeshift.png", NULL, 0, 0);
    187187
    188                                 if(path != NULL)
    189                                         tmpstr = ostrcat("/", tmpstr, 0, 1);
     188                                if(path != NULL) tmpstr = ostrcat("/", tmpstr, 0, 1);
    190189                                tmpstr = ostrcat(path, tmpstr, 0, 1);
    191190                        }
     
    194193                }
    195194
    196 ///streaming png
    197         char* getoledstreaming(struct skin* node, char* path)
     195        //streaming png
     196                char* getoledstreaming(struct skin* node, char* path)
    198197                {
    199198                        char* tmpstr = NULL;
     
    203202                                tmpstr = ostrcat("oled_streaming.png", NULL, 0, 0);
    204203
    205                                 if(path != NULL)
    206                                         tmpstr = ostrcat("/", tmpstr, 0, 1);
     204                                if(path != NULL) tmpstr = ostrcat("/", tmpstr, 0, 1);
    207205                                tmpstr = ostrcat(path, tmpstr, 0, 1);
    208206                        }
     
    210208                        return tmpstr;
    211209                }
    212 
     210        }
    213211#endif
    214212
Note: See TracChangeset for help on using the changeset viewer.