Program Listing for File imgui_extensions.h

Return to documentation for file (blam\components\3rdparty\imgui_extensions.h)

#pragma once

#include "./imgui/imgui.h"

namespace ImGui
{
    IMGUI_API bool          DragShort(const char* label, short* v, float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d");                                       // If v_min >= v_max we have no bound
    IMGUI_API bool          DragShort2(const char* label, short v[2], float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d");
    IMGUI_API bool          DragShort3(const char* label, short v[3], float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d");
    IMGUI_API bool          DragShort4(const char* label, short v[4], float v_speed = 1.0f, short v_min = 0, short v_max = 0, const char* format = "%d");
}