VGUI Image: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:


An Image is a vgui2 element defined in the vgui_controls library, in the file Image.cpp. Images are available in all source games. Image is a pure virutal class, which means that it cannot be instantiated as an object and is used simply as a base class for other classes.
An Image is a vgui2 element defined in the vgui_controls library, in the file Image.cpp. Images are available in all source games. Image is a pure virutal class, which means that it cannot be instantiated as an object and is used simply as a base class for other classes.
* The only class that derives from Image is TextImage.
* Image is derived from IImage.


Looking for something you can instantiate? See [[VGUI ImagePanel]].
Looking for something you can instantiate? See [[VGUI ImagePanel]].

Revision as of 13:01, 7 June 2009

This article is a stub. You can help by adding to it.

An Image is a vgui2 element defined in the vgui_controls library, in the file Image.cpp. Images are available in all source games. Image is a pure virutal class, which means that it cannot be instantiated as an object and is used simply as a base class for other classes.

  • The only class that derives from Image is TextImage.
  • Image is derived from IImage.

Looking for something you can instantiate? See VGUI ImagePanel.