VGUI Image: Difference between revisions

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


* The only class that derives from Image is TextImage.
* The only class that derives from Image is TextImage.
* Image is derived from IImage.
* Image is derived from [[VGUI IImage]].





Revision as of 13:04, 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 VGUI IImage.


Looking for an image you can instantiate? See VGUI ImagePanel.