diff --git a/D3D11Engine/BaseAntTweakBar.cpp b/D3D11Engine/BaseAntTweakBar.cpp index dd6c5887..c81c4835 100644 --- a/D3D11Engine/BaseAntTweakBar.cpp +++ b/D3D11Engine/BaseAntTweakBar.cpp @@ -90,6 +90,9 @@ XRESULT BaseAntTweakBar::Init() { Bar_General = TwNewBar( "General" ); TwDefine( " General position='600 0'" ); + static std::string versionString = std::string( VERSION_NUMBER ); + TwAddVarRO( Bar_General, "Version", TW_TYPE_STDSTRING, &versionString, VERSION_NUMBER ); + TwAddButton( Bar_General, "Save ZEN-Resources", (TwButtonCallback)SaveZENResourcesCallback, this, nullptr ); TwAddButton( Bar_General, "Load ZEN-Resources", (TwButtonCallback)LoadZENResourcesCallback, this, nullptr ); TwAddButton( Bar_General, "Open Settings Dialog", (TwButtonCallback)OpenSettingsCallback, this, nullptr );