50 lines
1.6 KiB
C++
50 lines
1.6 KiB
C++
/************************************************************************************//*!
|
|
\file Slider.hxx
|
|
\author Daniel Chua, 2001877
|
|
\par email: yeechendaniel/@digipen.edu
|
|
\date Feb 26, 2023
|
|
\brief Contains the definition of the managed Slider 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/SHSliderComponent.h"
|
|
|
|
namespace SHADE
|
|
{
|
|
/// <summary>
|
|
/// CLR version of the SHADE Engine's SHSliderComponent.
|
|
/// </summary>
|
|
public ref class Slider : public Component<SHSliderComponent>
|
|
{
|
|
internal:
|
|
/*-----------------------------------------------------------------------------*/
|
|
/* Constructors */
|
|
/*-----------------------------------------------------------------------------*/
|
|
/// <summary>
|
|
/// Constructs a Slider Component that represents a native SHSliderComponent
|
|
/// tied to the specified Entity.
|
|
/// </summary>
|
|
/// <param name="entity">Entity that this Component will be tied to.</param>
|
|
Slider(Entity entity);
|
|
|
|
public:
|
|
|
|
float GetValue();
|
|
|
|
|
|
};
|
|
}
|
|
|