Files
sbox-public/engine/Definitions/tools/ToolScene/CQToolSceneWidget.def
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

29 lines
631 B
Modula-2

#include "toolscene/qtoolscenewidget.h"
native class CQToolSceneWidget : QWidget
{
static CQToolSceneWidget Create( QWidget pParent ); [new]
void SetCreateSettingsButton( bool bCreateSettingsButton );
void Init();
Vector2 GetMousePositionScreen();
int GetNativeWidth();
int GetNativeHeight();
void MarkSceneDirty();
void StartRenderingLive();
void StopRenderingLive();
void RunFrame( float flSimulationRateMultiplier );
inline void SetMouseControl( bool b )
{
this->SetMouseControlType( b ? SCENE_MOUSE_CONTROL_ANYWHERE : SCENE_MOUSE_CONTROL_NONE );
}
void SetRenderOverlays( bool bRenderOverlays );
}