some stuff
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
|
||||
#include "tier0/platform.h"
|
||||
#include "tier2/iappsystem.h"
|
||||
#include "materialsystem/humandevice_enums.h"
|
||||
|
||||
typedef void ( *KeyCallbackFn )( EInputDeviceType eDevice, EInputButton eButton, bool bIsPressed );
|
||||
typedef void ( *AxisCallbackFn )( EInputDeviceType eDevice, EInputAxis eAxis, float fd );
|
||||
|
||||
class IImage;
|
||||
abstract_class IGameWindow: public IAppSystem
|
||||
@@ -17,6 +21,9 @@ public:
|
||||
virtual void SetOutputImage( IImage *pImage ) = 0;
|
||||
virtual IImage *GetOutputImage() = 0;
|
||||
|
||||
virtual void SetKeyCallback( KeyCallbackFn fn ) = 0;
|
||||
virtual void SetAxisCallback( AxisCallbackFn fn ) = 0;
|
||||
|
||||
virtual void *CreateVulkanSurface( void *pInstance ) = 0;
|
||||
virtual void DestroyVulkanSurface( void *pInstance ) = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user