VGUI Image: Difference between revisions

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




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



Revision as of 13:05, 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.



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