ImGui_GM v1.0.3


hewwo! i've uploaded v1.0.3 of imgui_gm, and it's got some exciting stuff! i've gotten API coverage up to 75%, woo!!! (oh also, that percentage is now more accurately measured by my tooling). anyway, this update brings support for loading fonts from disk, drag and drop payloads (and support for color payloads), and overall a bunch more wrappers as listed below!


Added:

  • ImGui.GetMainViewport
  • Fonts:
    • ImGui.GetFont
    • ImGui.GetFontSize
    • ImGui.PushFont
    • ImGui.PopFont
    • ImGui.AddFontDefault
    • ImGui.AddFontFromFile
  • Drag and Drop:
    • ImGui.BeginDragDropSource
    • ImGui.EndDragDropSource
    • ImGui.BeginDragDropTarget
    • ImGui.EndDragDropTarget
    • ImGui.SetDragDropPayload
    • ImGui.AcceptDragDropPayload
    • ImGui.GetDragDropPayload
    • NOTE: See "Drag and Drop Payloads" on the repo's wiki for some extra info on how payloads work
  • Payload Helpers:
    • ImGui.GetDragDropPayloadType
    • ImGui.GetPayloadKeepAlive (this function returns the index of an internal DS map used to keep payload data from being garbage collected)
  • Legacy Columns API: (just a heads up, but the Table API is much better!)
    • ImGui.Columns
    • ImGui.NextColumn
    • ImGui.GetColumnIndex
    • ImGui.GetColumnWidth
    • ImGui.SetColumnWidth
    • ImGui.GetColumnOffset
    • ImGui.SetColumnOffset
    • ImGui.GetColumnsCount

Fixed/Notes:

  • JSDoc for wrappers now contain proper enum types and @context tags
  • Fixed ImGui.RadioButton "active" argument not working
  • ImColor constructor now handles ABGR color if passed as sole argument
  • Added examples for various new wrappers
  • Included Roboto-Regular as example font in datafiles

Source code for ImGui_GM can be found here, and info on API coverage can be found here!

Files

imgui_gm_v1_0_3.yymps 2.8 MB
Jan 25, 2023

Get imgui_gm

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.