Files
o3de/Code/CryEngine/CryCommon/LyShine/UiLayoutCellBase.h
T
2021-06-23 10:55:22 -07:00

20 lines
472 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
////////////////////////////////////////////////////////////////////////////////////////////////////
//! Common types used across the LyShine UI layout cell system
namespace LyShine
{
const float UiLayoutCellUnspecifiedSize = -1.0f;
inline bool IsUiLayoutCellSizeSpecified(float size)
{
return size >= 0.0f;
}
};