#include "imguiWrappedHeader.h" #include "StyleWrapper.h" #include "WrapperConverter.h" void iggStyleGetItemSpacing(IggGuiStyle handle, IggVec2 *value) { ImGuiStyle *style = reinterpret_cast(handle); exportValue(*value, style->ItemSpacing); } void iggStyleGetItemInnerSpacing(IggGuiStyle handle, IggVec2 *value) { ImGuiStyle *style = reinterpret_cast(handle); exportValue(*value, style->ItemInnerSpacing); } void iggStyleGetWindowPadding(IggGuiStyle handle, IggVec2 *value) { ImGuiStyle *style = reinterpret_cast(handle); exportValue(*value, style->WindowPadding); } void iggStyleGetFramePadding(IggGuiStyle handle, IggVec2 *value) { ImGuiStyle *style = reinterpret_cast(handle); exportValue(*value, style->FramePadding); } void iggStyleSetColor(IggGuiStyle handle, int colorID, IggVec4 const *value) { ImGuiStyle *style = reinterpret_cast(handle); if ((colorID >= 0) && (colorID < ImGuiCol_COUNT)) { importValue(style->Colors[colorID], *value); } } void iggStyleGetColor(IggGuiStyle handle, int index, IggVec4 *value) { ImGuiStyle *style = reinterpret_cast(handle); if ((index >= 0) && (index < ImGuiCol_COUNT)) { exportValue(*value, style->Colors[index]); } } void iggStyleScaleAllSizes(IggGuiStyle handle, float scale) { ImGuiStyle *style = reinterpret_cast(handle); style->ScaleAllSizes(scale); }