// Copyright (c) 2020-2021, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION is strictly prohibited.
//

//! @file
//!
//! @brief omni::ui Alignment types.
#pragma once

#include "Api.h"

#include <cstdint>

OMNIUI_NAMESPACE_OPEN_SCOPE

/**
 * @brief Used when it's necessary to align the content to the wigget.
 */
enum Alignment : uint8_t
{
    eUndefined = 0,

    eLeft = 1 << 1,
    eRight = 1 << 2,
    eHCenter = 1 << 3,

    eTop = 1 << 4,
    eBottom = 1 << 5,
    eVCenter = 1 << 6,

    eLeftTop = eLeft | eTop,
    eLeftCenter = eLeft | eVCenter,
    eLeftBottom = eLeft | eBottom,

    eCenterTop = eHCenter | eTop,
    eCenter = eHCenter | eVCenter,
    eCenterBottom = eHCenter | eBottom,

    eRightTop = eRight | eTop,
    eRightCenter = eRight | eVCenter,
    eRightBottom = eRight | eBottom,
};

OMNIUI_NAMESPACE_CLOSE_SCOPE
