Skip to content

hekar/gwen-vgui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

GWEN VGUI

This is a fork of GWEN that comes with a VGUI Renderer. There is also come code to integration GWEN with Valve's GUI framework.

It is encouraged to use the mainline of GWEN and implement this renderer yourself. However, if you wish to get up and running as soon as possible, then simply using this project it easy to get GWEN into your Source engine modification.

Contains some additional widgets to help you get setup and create a GWEN frame in a Source SDK based game.

Setup Instructions

  • Add the Gwen project to game_scratch solution
  • Add the mod folder to the "Client" project
  • Add the following lines in vgui_int.cpp
    • add the following include:
      • #include "BaseGUI.h" ```
        
    • at the end of void VGui_CreateGlobalPanels():
      • g_pGUIManager = new CGUILoader();
      • g_pGUIManager->InitPanels();
    • before the if ( g_ClientMode ) in void VGui_Shutdown():
      • g_pGUIManager->DestroyPanels();
      • delete g_pGUIManager;

Limitations

  • Key input has not yet been implemented.
  • Only works with vgui::Frame, but there is no reason that you cannot implement GWEN frames on their own.

Good luck!

About

Gwen with a VGUI renderer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published