// 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.
//
#pragma once

#include "BindAbstractSlider.h"
#include "BindUtils.h"
#include "DocCommonIntSlider.h"
#include "DocIntSlider.h"
#include "DocUIntSlider.h"

// clang-format off
#define OMNIUI_PYBIND_INIT_IntSlider                                                                                   \
    OMNIUI_PYBIND_INIT_AbstractSlider                                                                                  \
    OMNIUI_PYBIND_INIT_CAST(min, setMin, int64_t)                                                                      \
    OMNIUI_PYBIND_INIT_CAST(max, setMax, int64_t)

#define OMNIUI_PYBIND_INIT_UIntSlider                                                                                  \
    OMNIUI_PYBIND_INIT_AbstractSlider                                                                                  \
    OMNIUI_PYBIND_INIT_CAST(min, setMin, uint64_t)                                                                     \
    OMNIUI_PYBIND_INIT_CAST(max, setMax, uint64_t)

#define OMNIUI_PYBIND_KWARGS_DOC_IntSlider                                                                             \
    "\n    `min : `\n        "                                                                                         \
    OMNIUI_PYBIND_DOC_CommonIntSlider_min                                                                              \
    "\n    `max : `\n        "                                                                                         \
    OMNIUI_PYBIND_DOC_CommonIntSlider_max                                                                              \
    OMNIUI_PYBIND_KWARGS_DOC_Widget

#define OMNIUI_PYBIND_KWARGS_DOC_UIntSlider                                                                            \
    OMNIUI_PYBIND_KWARGS_DOC_IntSlider
// clang-format on
