Add IO.FontAllowUserScaling wrapper function.

internals
Eric Mellino 9 years ago
parent 3b7730f987
commit 10c4c89841
  1. 6
      src/ImGui.NET/IO.cs

@ -88,6 +88,12 @@ namespace ImGuiNET
public FontAtlasWrapped FontAtlas { get; } public FontAtlasWrapped FontAtlas { get; }
public bool FontAllowUserScaling
{
get { return _nativePtr->FontAllowUserScaling != 0; }
set { _nativePtr->FontAllowUserScaling = value ? (byte)1 : (byte)0; }
}
/// <summary> /// <summary>
/// Keyboard modifier pressed: Control. /// Keyboard modifier pressed: Control.
/// </summary> /// </summary>

Loading…
Cancel
Save