4843 Commits (a4191857c1cb5a8611ffd1a97ddccdfb51fbe99b)
 

Author SHA1 Message Date
omar 4f112f898e Viewport: Avoid modifying MousePos in UpdateWindowViewport just for the sake of docking test, sheering MousePos during the frame is problematic + minor renaming. (#1542) ago%!(EXTRA string=7 years)
omar b69dc45f6e Internals: Removed ImGuiDataType_Float2. ago%!(EXTRA string=7 years)
omar c19b27813d Added InputDouble() function. We use a format string instead of a decimal_precision parameter to also for "%e" and variants. (#1011) May transition the other InputXXX function to use format strings as well. ago%!(EXTRA string=7 years)
omar c796960ff9 InputFloat: Scientific input. InputText: Added ImGuiInputTextFlags_CharsScientific to add 'e' 'E' to list of characters that can be input. (later useful for #1011) ago%!(EXTRA string=7 years)
omar 21ac470a8a Nav: Fixed a crash with IMGUI_DEBUG_NAV_SCORING enabled + added info to Metrics. ago%!(EXTRA string=7 years)
omar e5ba982be0 Nav: Fixed a crash with IMGUI_DEBUG_NAV_SCORING enabled + added info to Metrics. ago%!(EXTRA string=7 years)
omar 200754b013 Examples: GLFW: Don't alter cursor mode if GLFW_CURSOR input mode is GLFW_CURSOR_DISABLED. (#1202) [@PhilCK] ago%!(EXTRA string=7 years)
omar 94116f1143 Examples: GLFW: Don't alter cursor mode if GLFW_CURSOR input mode is GLFW_CURSOR_DISABLED. (#1202) [@PhilCK] ago%!(EXTRA string=7 years)
omar 42ad3c1dd3 Examples: OpenGL2: Added multi-viewport support in the OpenGL2 back-end. (#1542) + Metrics: Fix undisplayed flag. ago%!(EXTRA string=7 years)
omar 172570acae Merge branch 'master' into viewport ago%!(EXTRA string=7 years)
omar 75c3793db5 IO: Added ImGuiConfigFlags_NoSetMouseCursors. Added ImGuiBackendFlags_HasMouseCursors, ImGuiBackendFlags_HasSetMousePos. (#787, #1495, #1202) ago%!(EXTRA string=7 years)
omar dcf7c3d188 Added ImGuiBackendFlags for backend to expose its capabilities. Added ImGuiBackendFlags_HasGamepad. (#787, #1542) ago%!(EXTRA string=7 years)
omar 170f44e6f0 IO: Renamed io.WantMoveMouse to io.WantSetMousePos (was added in 1.52, _not_ used by core and only honored by some binding ahead of merging the Nav branch) + internal renaming (#787) ago%!(EXTRA string=7 years)
omar fe5347ef94 imconfig: Added IMGUI_STB_TRUETYPE_FILENAME, IMGUI_STB_RECT_PACK_FILENAME + documenting IMGUI_DISABLE_STB_XXX flags and hiding IMGUI_STB_NAMESPACE which is misleading. ago%!(EXTRA string=7 years)
omar c29971cf72 Merge branch 'master' into viewport ago%!(EXTRA string=7 years)
omar 74b7dce394 Examples: Renamed applications to emphasis on use of GLFW as a platform framework + minor local tweaks ago%!(EXTRA string=7 years)
omar 70d500502a ImVector: Fixed insert() helper using the = operator (followup to be consistent with 4186c2c2b1) ago%!(EXTRA string=7 years)
omar ccc9a22db3 Viewport: Changelog + Internals: Renamed viewport mouse fields for consistency (going to add more). (#1542) ago%!(EXTRA string=7 years)
omar d1c45db9e8 Fixed enum typo. ago%!(EXTRA string=7 years)
omar c00523dba4 Viewport: Added extra Metrics and debug features. ago%!(EXTRA string=7 years)
omar 9d5ec05150 Viewport, Platform: Update the contents of GetPlatformData() in EndFrame() so back-end can access it even if UpdatePlatformWindows hasn't been called. (#1542) ago%!(EXTRA string=7 years)
Christian Forfang 4485e56e02 Examples: Vulkan: Fix missing subpass dependency ago%!(EXTRA string=7 years)
omar a73f6d06e0 Examples: Vulkan: Using VK_PRESENT_MODE_MAILBOX_KHR. Disable IMGUI_UNLIMITED_FRAME_RATE by default. Fixed warnings. (#1042) ago%!(EXTRA string=7 years)
omar 2fecd332fc Viewport, Platform: Added void* to render/swap buffer functions. Comments. (#1542, #1042) ago%!(EXTRA string=7 years)
omar 166411287f Demo: Added more complete Combo demo. (#1658) ago%!(EXTRA string=7 years)
omar 62e94717eb Nav: InputText: Allow editing text input fields with NavActivate (space). Not sure about that, on one hand it feels more consistent but you can't finish the editing with space to double space (activate + input space) could feel inconsistent. (#787) ago%!(EXTRA string=7 years)
omar 33ad8b2f0c Nav: Track nav input source more generally (gamepad vs keyboard) (#787) + update todos and demo tweaks ago%!(EXTRA string=7 years)
omar 0e09032750 Viewport, Examples: Renamed types used by examples. (#1542) ago%!(EXTRA string=7 years)
omar 46b61427e1 Viewport, Platform: Refactored platform interface. Removed need to use imgui_internal.h in backends. Split viewport into public facing ImGuiViewport and internal structure. Exposing enough data to provide custom tweaked renderers. Renamed handlers, fixed lots of inconsistencies. (#1542, #1042) ago%!(EXTRA string=7 years)
omar bcf4ed28a9 Merge branch 'master' into viewport ago%!(EXTRA string=7 years)
omar d8d93f6360 imgui.h: Various comments and tweaks. ago%!(EXTRA string=7 years)
omar 6fe22e6297 imgui.h: Moved columns lower in the file. Various spacing changes and minor comments. ago%!(EXTRA string=7 years)
omar 6cfc9e6256 Merge branch 'master' into viewport ago%!(EXTRA string=7 years)
omar 6bda816ffe ImVector: Added copy/assign operators as helpers to ease cloning of data. ago%!(EXTRA string=7 years)
omar 1e296453ef ImDrawList: Added Clone() helper function. ago%!(EXTRA string=7 years)
omar 4186c2c2b1 ImVector: resize() / push_back() use memcpy() as we are not supposed to be constructor/destructor/operator aware at all. (If we do need to rework ImVector). In turn this will allow us to define assign/copy operators. ago%!(EXTRA string=7 years)
omar d68be086b2 ImVector: Using value_type consistently. Spacing. ago%!(EXTRA string=7 years)
omar 533c86a7a3 Update TODO list, minor fix in Readme, comments, Clang -Weverything warning fix in imgui_draw.cpp under Windows. ago%!(EXTRA string=7 years)
omar 1ab236d9df Viewport, Platform: Internal renaming to use more consistent (OsDesktopPos > PlatformPos). (#1542) ago%!(EXTRA string=7 years)
omar 2e1ac0f683 Viewport, Platform: SDL: Makes the CreateViewport function restore current GL context so in theory it is free from side-effect. That said, it seems like there is a bug in SDL because our CreateViewport (currently in Render(), not for long) have affect a jerky side-effect if SDL_GL_MakeCurrent() is called before Render(). (#1542) ago%!(EXTRA string=7 years)
omar 8364d1ca6c Viewport: Removed back-end renderer code that implied we need to clear with WindowBg color. Added NoRendererClear flag. (#1542, #1042) ago%!(EXTRA string=7 years)
omar 09d8943967 Examples Refactor: GLFW: Explicit functions to init GLFW with OpenGL or Vulkan since we cannot read the api hints from glfw. ago%!(EXTRA string=7 years)
omar 6e58a95a01 Viewport, Platform, Examples: Changes to resizing flow + restored support for Platform events affecting the ImGui windows (so Decorated windows are functional). (#1542, #1042) .. ago%!(EXTRA string=7 years)
omar 207ad45983 Metrics: Displaying all draw lists of a window (if it uses layer 0 and has already been appended to earlier in the frame). ago%!(EXTRA string=7 years)
omar 83ef61fa56 Examples: SDL: Fix for versions olders than 2.0.6 ago%!(EXTRA string=7 years)
omar d0e0b106f0 Examples: SDL,GLFW,Vulkan: The Platform<>Renderer link is handled by SDL/GLFW platforms, both can compile without Vulkan headers, SDL+Vulkan is now on part with GLFW+Vulkan (aka broken the same way!). (#1542) ago%!(EXTRA string=7 years)
omar 98b66a5fc9 Examples: Using draw_data->DisplaySize, followup to c50198debe. Fix Vulkan secondary viewport rendering. SDL+Vulkan: Matched changes. Fix vcprojs. (#1542, #1042) ago%!(EXTRA string=7 years)
omar 921bb92eec Viewport: Fixed software mouse cursor from appearing in all multiple lists simultaneously. (#1542) ago%!(EXTRA string=7 years)
omar c50198debe Viewport: Obsoleted io.DisplayPos (which was a Viewport branch thing), added ImDrawData::DisplayPos, DisplaySize (#1542) wip ago%!(EXTRA string=7 years)
omar 6371474031 Viewport: Removed unnecessary function hoop. ago%!(EXTRA string=7 years)