2
0

func_maxgui_setpanelpixmap.rst 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .. _func_maxgui_setpanelpixmap:
  2. ==============
  3. SetPanelPixmap
  4. ==============
  5. SetPanelPixmap -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. SetPanelPixmap( panel:TGadget,pixmap:TPixmap,flags=PANELPIXMAP_TILE)
  10. Set panel's background image to a pixmap.
  11. Can be used instead of #SetGadgetPixmap for backwards compatability.
  12. [ @Flags | @Meaning
  13. * PANELPIXMAP_TILE | The panel is filled with repeating tiles.
  14. * PANELPIXMAP_CENTER | The pixmap is positioned at the center of the panel.
  15. * PANELPIXMAP_FIT | The pixmap is scaled to best fit the panel size.
  16. * PANELPIXMAP_FIT2 | A variant of PANELPIXMAP_FIT where clipping can occur to achieve a better fit.
  17. * PANELPIXMAP_STRETCH | The pixmap is stretched to fit the entire panel.
  18. ]
  19. The function can be passed 'Null' as the parameter for @pixmap, in which case the pixmap should be removed.
  20. See Also: #CreatePanel and #SetPanelColor
  21. Parameters
  22. ==========
  23. Return Values
  24. =============
  25. Nothing.
  26. Examples
  27. ========
  28. See Also
  29. ========