Next: Displaying 2D objects
Up: Displaying images and 2D
Previous: Displaying images and 2D
This first example simply displays an image in a window.
The image is loaded into a tableau which displays images (vgui_image_tableau)
and this is put inside a 2D viewer tableau (vgui_viewer2d). The 2D viewer
adds the functionality that would commonly be required for viewing 2D images
and objects such as zooming and moving which part of the image is displayed.
The viewer2D provides the following functionality:
|control and right mouse button
|control and left mouse button
|control and middle mouse button
||image can be dragged around the display
||area while the button is held down
Target Junior User