func_maxgui_icon-strips_loadiconstrip.rst 858 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .. _func_maxgui_icon-strips_loadiconstrip:
  2. =============
  3. LoadIconStrip
  4. =============
  5. LoadIconStrip -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. LoadIconStrip:TIconStrip(source:Object)
  10. Creates an icon strip from an image file.
  11. An icon strip is a series of small images that can be attached to item-based gadgets.
  12. Icons must be square, and arranged in a single horizontal strip across the source image.
  13. The number of icons in an iconstrip is determined by dividing the image width by its height. For example,
  14. an iconstrip 64 wide by 8 high is assumed to contain 64/8=8 icons.
  15. Once an icon strip has been loaded, it can be attached to item-based gadgets using #SetGadgetIconStrip.
  16. See Also: #SetGadgetIconStrip and #PixmapFromIconStrip
  17. Parameters
  18. ==========
  19. Return Values
  20. =============
  21. Nothing.
  22. Examples
  23. ========
  24. See Also
  25. ========