Revisions of imgui

Luigi Baldoni's avatar Luigi Baldoni (alois) committed (revision 4)
Luigi Baldoni's avatar Luigi Baldoni (alois) committed (revision 3)
Luigi Baldoni's avatar Luigi Baldoni (alois) committed (revision 2)
- Update to version 1.91.0
  Breaking changes:
  * IO, IME: renamed platform IME hook and added explicit
    context for consistency and future-proofness.
    + old: io.SetPlatformImeDataFn(ImGuiViewport* viewport,
      ImGuiPlatformImeData* data);
    + new: io.PlatformSetImeDataFn(ImGuiContext* ctx,
      ImGuiViewport* viewport, ImGuiPlatformImeData* data);
      It is expected that for a vast majority of users this is
      automatically set by core library and/or platform backend
      so it won't have any effect.
  * Obsoleted GetContentRegionMax(), GetWindowContentRegionMin()
    and GetWindowContentRegionMax().
    You should never need those functions! You can do everything
    in less a confusing manner by only using GetCursorScreenPos()
    and GetContentRegionAvail(). Also always consider that if you
    are using GetWindowPos() and GetCursorPos() you may also be
    making things unnecessarily complicated.
    I repeat: You can do everything with GetCursorScreenPos()
    and GetContentRegionAvail()!
    + GetWindowContentRegionMax().x - GetCursorPos().x          
      -->  GetContentRegionAvail().x
    + GetWindowContentRegionMax().x + GetWindowPos().x          
      -->  GetCursorScreenPos().x + GetContentRegionAvail().x      
       // when called from left edge of window
    + GetContentRegionMax()                                     
      -->  GetContentRegionAvail() + GetCursorScreenPos() -
      GetWindowPos() // right edge in local coordinates
    + GetWindowContentRegionMax().x -
      GetWindowContentRegionMin().x -->  GetContentRegionAvail()
Luigi Baldoni's avatar Luigi Baldoni (alois) committed (revision 1)
osc copypac from project:devel:libraries:c_c++ package:imgui revision:25
Displaying all 4 revisions
openSUSE Build Service is sponsored by