Changeset 32105 for titan/titan/skinfunc.h
- Timestamp:
- 01/05/15 16:22:24 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/skinfunc.h
r32089 r32105 144 144 145 145 #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) 164 165 { 165 166 char* tmpstr = NULL; … … 169 170 tmpstr = ostrcat("oled_mute.png", NULL, 0, 0); 170 171 171 if(path != NULL) 172 tmpstr = ostrcat("/", tmpstr, 0, 1); 172 if(path != NULL) tmpstr = ostrcat("/", tmpstr, 0, 1); 173 173 tmpstr = ostrcat(path, tmpstr, 0, 1); 174 174 } … … 177 177 } 178 178 179 ///timeshift png180 char* getoledtimeshift(struct skin* node, char* path)179 //timeshift png 180 char* getoledtimeshift(struct skin* node, char* path) 181 181 { 182 182 char* tmpstr = NULL; … … 186 186 tmpstr = ostrcat("oled_timeshift.png", NULL, 0, 0); 187 187 188 if(path != NULL) 189 tmpstr = ostrcat("/", tmpstr, 0, 1); 188 if(path != NULL) tmpstr = ostrcat("/", tmpstr, 0, 1); 190 189 tmpstr = ostrcat(path, tmpstr, 0, 1); 191 190 } … … 194 193 } 195 194 196 ///streaming png197 char* getoledstreaming(struct skin* node, char* path)195 //streaming png 196 char* getoledstreaming(struct skin* node, char* path) 198 197 { 199 198 char* tmpstr = NULL; … … 203 202 tmpstr = ostrcat("oled_streaming.png", NULL, 0, 0); 204 203 205 if(path != NULL) 206 tmpstr = ostrcat("/", tmpstr, 0, 1); 204 if(path != NULL) tmpstr = ostrcat("/", tmpstr, 0, 1); 207 205 tmpstr = ostrcat(path, tmpstr, 0, 1); 208 206 } … … 210 208 return tmpstr; 211 209 } 212 210 } 213 211 #endif 214 212
Note: See TracChangeset
for help on using the changeset viewer.