mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
add stubs for asan/ubsan
This commit is contained in:
@@ -0,0 +1,217 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include <vgui/IPanel.h>
|
||||
#include <vgui/IClientPanel.h>
|
||||
#include <vgui/ISurface.h>
|
||||
#include <vgui/IVGui.h>
|
||||
#include <vgui/Cursor.h>
|
||||
|
||||
#include "../vgui2/src/vgui_internal.h"
|
||||
#include "../vgui2/src/VPanel.h"
|
||||
|
||||
#include "tier0/minidump.h"
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
using namespace vgui;
|
||||
|
||||
VPanel::VPanel()
|
||||
{
|
||||
}
|
||||
|
||||
VPanel::~VPanel()
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::TraverseLevel( int val )
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::Init(IClientPanel *attachedClientPanel)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::Solve()
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetPos(int x, int y)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::GetPos(int &x, int &y)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetSize(int wide,int tall)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::GetSize(int& wide,int& tall)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetMinimumSize(int wide,int tall)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::GetMinimumSize(int &wide, int &tall)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetVisible(bool state)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetEnabled(bool state)
|
||||
{
|
||||
}
|
||||
|
||||
bool VPanel::IsVisible()
|
||||
{
|
||||
}
|
||||
|
||||
bool VPanel::IsEnabled()
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::GetAbsPos(int &x, int &y)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::GetInternalAbsPos(int &x, int &y)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::GetClipRect(int &x0, int &y0, int &x1, int &y1)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetInset(int left, int top, int right, int bottom)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::GetInset(int &left, int &top, int &right, int &bottom)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetParent(VPanel *newParent)
|
||||
{
|
||||
}
|
||||
|
||||
int VPanel::GetChildCount()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
VPanel *VPanel::GetChild(int index)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
CUtlVector< VPanel *> &VPanel::GetChildren()
|
||||
{
|
||||
// return NULL;
|
||||
}
|
||||
|
||||
VPanel *VPanel::GetParent()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void VPanel::SetZPos(int z)
|
||||
{
|
||||
}
|
||||
|
||||
int VPanel::GetZPos()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void VPanel::MoveToFront(void)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::MoveToBack()
|
||||
{
|
||||
}
|
||||
|
||||
bool VPanel::HasParent(VPanel *potentialParent)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
SurfacePlat *VPanel::Plat()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void VPanel::SetPlat(SurfacePlat *Plat)
|
||||
{
|
||||
}
|
||||
|
||||
bool VPanel::IsPopup()
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetPopup(bool state)
|
||||
{
|
||||
}
|
||||
|
||||
bool VPanel::IsTopmostPopup() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void VPanel::SetTopmostPopup( bool bEnable )
|
||||
{
|
||||
}
|
||||
|
||||
bool VPanel::IsFullyVisible()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
const char *VPanel::GetName()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
const char *VPanel::GetClassName()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
HScheme VPanel::GetScheme()
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
void VPanel::SendMessage(KeyValues *params, VPANEL ifrompanel)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void VPanel::SetKeyBoardInputEnabled(bool state)
|
||||
{
|
||||
}
|
||||
|
||||
void VPanel::SetMouseInputEnabled(bool state)
|
||||
{
|
||||
}
|
||||
|
||||
bool VPanel::IsKeyBoardInputEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool VPanel::IsMouseInputEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void VPanel::SetSiblingPin(VPanel *newSibling, byte iMyCornerToPin, byte iSiblingCornerToPinTo )
|
||||
{
|
||||
}
|
||||
@@ -41,6 +41,7 @@ $Project "vguimatsurface"
|
||||
$File "FontTextureCache.cpp"
|
||||
$File "Input.cpp"
|
||||
$File "MatSystemSurface.cpp"
|
||||
$File "asanstubs.cpp"
|
||||
$File "memorybitmap.cpp" [$WIN32]
|
||||
$File "TextureDictionary.cpp"
|
||||
$File "$SRCDIR\vgui2\src\vgui_key_translation.cpp"
|
||||
|
||||
Reference in New Issue
Block a user