From VGInterface Wiki
ComponentWindow is one of the two primary elements that create interface windows in Vanguard (along with VGUIWindow).
- Name - String
- singleInstance = Boolean
- interpretAs - String
- makeAsPopup - Boolean
Example Code
<ComponentWindow name="chat_filter_comp">
<Rect x="0" y="0" width="450" height="20"/>
<Settings name="chat_filter_comp"
searchKey="chat_filter_comp"
notifyOnLeftClick="true"
visible="false"/>
<UseControl type="Selector">
<Selector selectedGraphic="CheckboxFilled"
bulletGraphic="CheckboxEmpty"
textColor="gold"
useButtonDrawTemplate="true">
<Rect x="6" y="0" width="20" height="20"/>
<GraphicName label="CheckboxEmpty" isBaseName="false">
<Name>VgrdCheckboxEmpty</Name>
</GraphicName>
<GraphicName label="CheckboxFilled" isBaseName="false">
<Name>VgrdCheckboxFilled</Name>
</GraphicName>
<Option></Option>
</Selector>
<Settings name="_toggle">
<Action event="_scroll_window_select_item" senderName="#SetAsSender">
<Notifications>
<Message>LEFTCLICK</Message>
</Notifications>
</Action>
</Settings>
</UseControl>
<!--text-->
<UseControl type="TextField">
<TextField fontSize="10" color="white" centered="false">
<Rect x="30" y="2" width="220" height="20"/>
<Text>Filter Name</Text>
</TextField>
<Settings name="_name" notifyOnLeftClick="true">
<Action event="_scroll_window_select_item" senderName="#SetAsSender">
<Notifications>
<Message>LEFTCLICK</Message>
</Notifications>
</Action>
</Settings>
</UseControl>
<!--color-->
<UseControl type="StaticWindow">
<StaticWindow>
<Rect x="188" y="0" width="25" height="20"/>
</StaticWindow>
<Settings name="_color"
border="sunken"
notifyOnLeftClick="true"
notifyOnRightClick="true">
<Action event="_scroll_window_select_item" senderName="#SetAsSender">
<Notifications>
<Message>LEFTCLICK</Message>
</Notifications>
</Action>
</Settings>
</UseControl>
</ComponentWindow>