@ -232,7 +232,7 @@ namespace ImStb
# define IM_NEWLINE "\n"
# define IM_NEWLINE "\n"
# endif
# endif
# define IM_TABSIZE (4)
# define IM_TABSIZE (4)
# define IM_MEMALIGN(_OFF,_ALIGN) (((_OFF) + ( _ALIGN - 1)) & ~(_ALIGN - 1)) // Memory align e.g. IM_ALIGN(0,4)=0, IM_ALIGN(1,4)=4, IM_ALIGN(4,4)=4, IM_ALIGN(5,4)=8
# define IM_MEMALIGN(_OFF,_ALIGN) (((_OFF) + ( ( _ALIGN) - 1)) & ~(( _ALIGN) - 1)) // Memory align e.g. IM_ALIGN(0,4)=0, IM_ALIGN(1,4)=4, IM_ALIGN(4,4)=4, IM_ALIGN(5,4)=8
# define IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) // Unsaturated, for display purpose
# define IM_F32_TO_INT8_UNBOUND(_VAL) ((int)((_VAL) * 255.0f + ((_VAL)>=0 ? 0.5f : -0.5f))) // Unsaturated, for display purpose
# define IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) // Saturated, always output 0..255
# define IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) // Saturated, always output 0..255
# define IM_FLOOR(_VAL) ((float)(int)(_VAL)) // ImFloor() is not inlined in MSVC debug builds
# define IM_FLOOR(_VAL) ((float)(int)(_VAL)) // ImFloor() is not inlined in MSVC debug builds
@ -2782,7 +2782,7 @@ namespace ImGui
IMGUI_API void RenderCheckMark ( ImDrawList * draw_list , ImVec2 pos , ImU32 col , float sz ) ;
IMGUI_API void RenderCheckMark ( ImDrawList * draw_list , ImVec2 pos , ImU32 col , float sz ) ;
IMGUI_API void RenderArrowPointingAt ( ImDrawList * draw_list , ImVec2 pos , ImVec2 half_sz , ImGuiDir direction , ImU32 col ) ;
IMGUI_API void RenderArrowPointingAt ( ImDrawList * draw_list , ImVec2 pos , ImVec2 half_sz , ImGuiDir direction , ImU32 col ) ;
IMGUI_API void RenderRectFilledRangeH ( ImDrawList * draw_list , const ImRect & rect , ImU32 col , float x_start_norm , float x_end_norm , float rounding ) ;
IMGUI_API void RenderRectFilledRangeH ( ImDrawList * draw_list , const ImRect & rect , ImU32 col , float x_start_norm , float x_end_norm , float rounding ) ;
IMGUI_API void RenderRectFilledWithHole ( ImDrawList * draw_list , ImRect outer , ImRect inner , ImU32 col , float rounding ) ;
IMGUI_API void RenderRectFilledWithHole ( ImDrawList * draw_list , const ImRect & outer , const ImRect & inner , ImU32 col , float rounding ) ;
# ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
# ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
// [1.71: 2019/06/07: Updating prototypes of some of the internal functions. Leaving those for reference for a short while]
// [1.71: 2019/06/07: Updating prototypes of some of the internal functions. Leaving those for reference for a short while]