Next: Adding a new GUI
Previous: Adaptors provided with VGUI
If you write your code using the pattern provided in VGUI then it will run on any
supported GUI toolkit.
If you wish to run your application using a particular GUI toolkit, Foo say, then
you will need to satisfy these conditions:
If Foo satisfies these conditions then when vgui_Foo is compiled, Foo will be registered
as available for use by your applications.
If no preference given on the command line for a GUI toolkit then application will look for
a suitable GUI toolkit that is registered. If more than one GUI toolkit is registered then one
will be selected at random.
- There will need to exist a specialisation of vgui for Foo (usually called vgui_Foo).
- You will have to have Foo installed on your machine.
- You will have to configure Target to know where Foo is installed.
If you wish to specify a GUI toolkit (for example Foo) then you will need to add
-factory=Foo to the end of the command line when you run your application.
Target Junior User