mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-31 14:39:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
#include "cbase.h"
|
||||
#include "WrappedLabel.h"
|
||||
#include <KeyValues.h>
|
||||
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include <tier0/memdbgon.h>
|
||||
|
||||
using namespace vgui;
|
||||
|
||||
WrappedLabel::WrappedLabel(Panel *parent, const char *panelName, const char *text) :
|
||||
Label(parent, panelName, text)
|
||||
{
|
||||
KeyValues *kv = new KeyValues( "Dummy", "wrap", 1);
|
||||
Label::ApplySettings(kv);
|
||||
kv->deleteThis();
|
||||
}
|
||||
|
||||
WrappedLabel::WrappedLabel(Panel *parent, const char *panelName, const wchar_t *wszText) :
|
||||
Label(parent, panelName, wszText)
|
||||
{
|
||||
KeyValues *kv = new KeyValues( "Dummy", "wrap", 1);
|
||||
Label::ApplySettings(kv);
|
||||
kv->deleteThis();
|
||||
}
|
||||
|
||||
|
||||
WrappedLabel::~WrappedLabel()
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user