winampicon.cpp 509 B

12345678910111213141516171819202122
  1. #include "../winamp/resource.h"
  2. int geticonid(int x)
  3. {
  4. switch (x)
  5. {
  6. case 1: return IDI_FILEICON;
  7. case 2: return IDI_FILEICON2;
  8. case 3: return IDI_FILEICON3;
  9. case 4: return IDI_FILEICON10;
  10. case 5: return IDI_FILEICON5;
  11. case 6: return IDI_FILEICON6;
  12. case 7: return IDI_FILEICON7;
  13. case 8: return IDI_FILEICON8;
  14. case 9: return IDI_FILEICON9;
  15. case 10: return IDI_FILEICON4;
  16. case 11: return IDI_FILEICON11;
  17. case 12: return ICON_TB1;
  18. case 13: return -666;
  19. default: return ICON_XP;
  20. }
  21. }