Advertisement
AntonioVillanueva

XPM X PixMap EJEMPLO

Jun 20th, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.47 KB | None | 0 0
  1. //Imagen en formato xpm x pix map
  2. //https://fr.wikipedia.org/wiki/X_PixMap
  3. //podemos incluirlo en el codigo fuente
  4. static const char * imagen_xpm[] = {
  5. /* Columnas Filas colores caractares por pixel*/
  6. "32 32 6 1",
  7. "  c Black",
  8. ". c Blue",
  9. "X c #00bf00",
  10. "o c Red",
  11. "O c Yellow",
  12. "+ c Gray100",
  13. /* pixels */
  14. "                                ",
  15. " oooooo +++++++++++++++++++++++ ",
  16. " oooooo +++++++++++++++++++++++ ",
  17. " oooooo +++++++++++++++++++++++ ",
  18. " oooooo +++++++++++++++++++++++ ",
  19. " oooooo +++++++++++++++++++++++ ",
  20. " oooooo +++++++++++++++++++++++ ",
  21. " oooooo +++++++++++++++++++++++ ",
  22. "                                ",
  23. " ++++++ ++++++++++++++++++ .... ",
  24. " ++++++ ++++++++++++++++++ .... ",
  25. " ++++++ ++++++++++++++++++ .... ",
  26. " ++++++ ++++++++++++++++++ .... ",
  27. " ++++++ ++++++++++++++++++ .... ",
  28. " ++++++ ++++++++++++++++++      ",
  29. " ++++++ ++++++++++++++++++ ++++ ",
  30. " ++++++ ++++++++++++++++++ ++++ ",
  31. " ++++++ ++++++++++++++++++ ++++ ",
  32. " ++++++ ++++++++++++++++++ ++++ ",
  33. " ++++++ ++++++++++++++++++ ++++ ",
  34. " ++++++ ++++++++++++++++++ ++++ ",
  35. " ++++++ ++++++++++++++++++ ++++ ",
  36. " ++++++ ++++++++++++++++++ ++++ ",
  37. " ++++++ ++++++++++++++++++ ++++ ",
  38. " ++++++                    ++++ ",
  39. " ++++++ OOOOOOOOOOOO XXXXX ++++ ",
  40. " ++++++ OOOOOOOOOOOO XXXXX ++++ ",
  41. " ++++++ OOOOOOOOOOOO XXXXX ++++ ",
  42. " ++++++ OOOOOOOOOOOO XXXXX ++++ ",
  43. " ++++++ OOOOOOOOOOOO XXXXX ++++ ",
  44. " ++++++ OOOOOOOOOOOO XXXXX ++++ ",
  45. "                                "
  46. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement