VGUI IImage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(New page: <!--<br clear=all> <div class="boilerplate metadata" id="stub" align=left>   ''This article is a stub. You can help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENA...)
 
m (minor grammar fix)
 
(4 intermediate revisions by 3 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.


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


* The only class that derives from IImage is Image.


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


Looking for something 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.