Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#3D3D3D
bgColor#F4F4F4
titleColor#3D3D3D
borderWidth0
titleBGColor#3D3D3D
borderStylesolid

ON THIS PAGE

Table of Contents
indent20px

...

Code Block
rectangle = CreateObject("roRectangle", 0, 0, 1024, 768)
i = CreateObject("roImageWidget", rectangle)

ifImageControl 

DisplayFile(image_filename As String) As Boolean

...

  • 0: No transition: immediate blit
  • 1-4: Wipes from top, bottom, left, or right.
  • 5-8: Explodes from centre, top left, top right, bottom left, or bottom right.
  • 10-11: Uses vertical or horizontal venetian-blind effect.
  • 12-13: Combs vertical or horizontal.
  • 14: Fades out to background color, then back in.
  • 15: Fades between current image and new image.
  • 16-19: Slides from top, bottom, left or right.
  • 20-23: Slides entire screen from top, bottom, left, or right.
  • 24-25: Scales old image in, then the new one out again (this works as a pseudo rotation around a vertical or horizontal axis).
  • 26-29: Expands a new image onto the screen from right, left, bottom, or top.
SetRectangle(r As roRectangle) As Boolean

...

  • .

SetTransform(transform As String) As Boolean

...

Composites the image with the specified filename on top of the primary DisplayFile() image. Use the x and y integers to specify its location within the image widget.

SetRectangle(r As roRectangle) As Boolean

Changes the size and positioning of the image rectangle using the passed roRectangle object.

GetRectangle() As roRectangle

...