VGUI IImage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (minor grammar fix)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!--<br clear=all>
{{stub}}
<div class="boilerplate metadata" id="stub" align=left>&nbsp; &nbsp;''This article is a [[Help:Stubs|stub]]. You can help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} adding to it].'' </div>


<br clear=all>-->
An IImage is a vgui2 element defined in the vgui_controls library, in the file IImage.cpp. IImages are available in all source games. IImage is a pure virtual class, which means that it cannot be instantiated as an object and is used simply as a base class for other classes.
<div style="text-align: center; background: #B8C6FF; font-weight: bold; margin: 0.1em 10%; padding: 0.1em 0.1em; border: #E5E5E5 2px solid;">
''This article is a [[Help:Stubs|stub]]. You can help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} adding to it].''
</div>
 
An IImage is a vgui2 element defined in the vgui_controls library, in the file IImage.cpp. IImages are available in all source games. IImage 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.




Line 15: Line 9:
Looking for an image you can instantiate? See [[VGUI ImagePanel]].
Looking for an image you can instantiate? See [[VGUI ImagePanel]].


[[Category:VGUI_Controls|I]]
[[Category:VGUI Controls|I]]
[[Category:Stubs]]
[[Category:Stubs]]

Latest revision as of 04:42, 19 March 2024

Stub

This article or section is a stub. You can help by expanding it.

An IImage is a vgui2 element defined in the vgui_controls library, in the file IImage.cpp. IImages are available in all source games. IImage is a pure virtual 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 IImage is VGUI Image.


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