mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-15 09:11:55 +00:00
8552ac617c
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 67975925-1194-0748-b3d5-c16f83f1a3a1
39 lines
1.2 KiB
C++
39 lines
1.2 KiB
C++
//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================
|
|
|
|
#ifndef VGUI_DEFAULTINPUTSIGNAL_H
|
|
#define VGUI_DEFAULTINPUTSIGNAL_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
#include "vgui_inputsignal.h"
|
|
|
|
|
|
namespace vgui
|
|
{
|
|
// This class derives from vgui::InputSignal and implements empty defaults for all of its functions.
|
|
class CDefaultInputSignal : public vgui::InputSignal
|
|
{
|
|
public:
|
|
virtual void cursorMoved(int x,int y,Panel* panel) {}
|
|
virtual void cursorEntered(Panel* panel) {}
|
|
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) {}
|
|
};
|
|
}
|
|
|
|
|
|
#endif // VGUI_DEFAULTINPUTSIGNAL_H
|