2021-10-27 03:35:11 +02:00
|
|
|
|
//========= Copyright <20> 1996-2002, Valve LLC, All rights reserved. ============
|
2016-06-04 15:24:23 +02:00
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================
|
2021-10-27 03:35:11 +02:00
|
|
|
|
|
|
|
|
|
#ifndef VGUI_DEFAULTINPUTSIGNAL_H
|
2021-06-20 00:53:07 +02:00
|
|
|
|
#define VGUI_DEFAULTINPUTSIGNAL_H
|
2021-10-27 03:35:11 +02:00
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
2016-06-04 15:24:23 +02:00
|
|
|
|
|
2021-10-27 03:35:11 +02:00
|
|
|
|
#include "VGUI_InputSignal.h"
|
2016-06-04 15:24:23 +02:00
|
|
|
|
|
|
|
|
|
namespace vgui
|
|
|
|
|
{
|
|
|
|
|
// This class derives from vgui::InputSignal and implements empty defaults for all of its functions.
|
|
|
|
|
class CDefaultInputSignal : public vgui::InputSignal
|
|
|
|
|
{
|
|
|
|
|
public:
|
2021-10-27 03:35:11 +02:00
|
|
|
|
virtual void cursorMoved( int x, int y, Panel *panel ) {}
|
|
|
|
|
virtual void cursorEntered( Panel *panel ) {}
|
2016-06-04 15:24:23 +02:00
|
|
|
|
virtual void cursorExited(Panel* panel) {}
|
|
|
|
|
virtual void mousePressed(MouseCode code,Panel* panel) {}
|
|
|
|
|
virtual void mouseDoublePressed(MouseCode code,Panel* panel) {}
|
|
|
|
|
virtual void mouseReleased(MouseCode code,Panel* panel) {}
|
|
|
|
|
virtual void mouseWheeled(int delta,Panel* panel) {}
|
|
|
|
|
virtual void keyPressed(KeyCode code,Panel* panel) {}
|
|
|
|
|
virtual void keyTyped(KeyCode code,Panel* panel) {}
|
|
|
|
|
virtual void keyReleased(KeyCode code,Panel* panel) {}
|
|
|
|
|
virtual void keyFocusTicked(Panel* panel) {}
|
|
|
|
|
};
|
|
|
|
|
}
|
2021-10-27 03:35:11 +02:00
|
|
|
|
|
|
|
|
|
|
2016-06-04 15:24:23 +02:00
|
|
|
|
#endif // VGUI_DEFAULTINPUTSIGNAL_H
|