50 lines
1.7 KiB
C++
50 lines
1.7 KiB
C++
/************************************************************************************//*!
|
|
\file UIElement.hxx
|
|
\author Tng Kah Wei, kahwei.tng, 390009620
|
|
\par email: kahwei.tng\@digipen.edu
|
|
\date Jan 30, 2023
|
|
\brief Contains the definition of the managed UIElement class with the
|
|
declaration of functions for working with it.
|
|
|
|
Note: This file is written in C++17/CLI.
|
|
|
|
Copyright (C) 2023 DigiPen Institute of Technology.
|
|
Reproduction or disclosure of this file or its contents without the prior written consent
|
|
of DigiPen Institute of Technology is prohibited.
|
|
*//*************************************************************************************/
|
|
#pragma once
|
|
|
|
// Project Includes
|
|
#include "Components/Component.hxx"
|
|
#include "Math/Vector3.hxx"
|
|
#include "Math/Quaternion.hxx"
|
|
// External Dependencies
|
|
#include "UI/SHCanvasComponent.h"
|
|
|
|
namespace SHADE
|
|
{
|
|
/// <summary>
|
|
/// CLR version of the SHADE Engine's SHUIComponent.
|
|
/// </summary>
|
|
public ref class Canvas : public Component<SHCanvasComponent>
|
|
{
|
|
internal:
|
|
/*-----------------------------------------------------------------------------*/
|
|
/* Constructors */
|
|
/*-----------------------------------------------------------------------------*/
|
|
/// <summary>
|
|
/// Constructs a Canvas Component that represents a native SHCanvasComponent
|
|
/// tied to the specified Entity.
|
|
/// </summary>
|
|
/// <param name="entity">Entity that this Component will be tied to.</param>
|
|
Canvas(Entity entity);
|
|
|
|
public:
|
|
|
|
static void DeactivateAllCanvas();
|
|
|
|
|
|
};
|
|
}
|
|
|