2015-04-16 16:55:32 +00:00
|
|
|
/*
|
|
|
|
GWEN
|
|
|
|
Copyright (c) 2010 Facepunch Studios
|
|
|
|
See license in Gwen.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#ifndef GWEN_CONTROLS_HIGHLIGHT_H
|
|
|
|
#define GWEN_CONTROLS_HIGHLIGHT_H
|
|
|
|
|
|
|
|
#include "Gwen/BaseRender.h"
|
|
|
|
#include "Gwen/Controls/Base.h"
|
|
|
|
#include "Gwen/Skin.h"
|
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
namespace Gwen
|
2015-04-16 16:55:32 +00:00
|
|
|
{
|
2018-09-23 21:17:31 +00:00
|
|
|
namespace ControlsInternal
|
|
|
|
{
|
|
|
|
class GWEN_EXPORT Highlight : public Controls::Base
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
GWEN_CONTROL_INLINE(Highlight, Controls::Base)
|
2015-04-16 16:55:32 +00:00
|
|
|
{
|
2018-09-23 21:17:31 +00:00
|
|
|
}
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
void Render(Skin::Base* skin)
|
|
|
|
{
|
|
|
|
skin->DrawHighlight(this);
|
2015-04-16 16:55:32 +00:00
|
|
|
}
|
2018-09-23 21:17:31 +00:00
|
|
|
};
|
|
|
|
} // namespace ControlsInternal
|
2015-04-16 16:55:32 +00:00
|
|
|
|
2018-09-23 21:17:31 +00:00
|
|
|
} // namespace Gwen
|
2015-04-16 16:55:32 +00:00
|
|
|
#endif
|