16 Commits (512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0)

Author SHA1 Message Date
ocornut a19815dc6b Backends: Allegro5: Fixed mishandling of the ImDrawCmd::IdxOffset field. (#4790) ago%!(EXTRA string=3 years)
ocornut 440824d431 Backends: Fixed early out on empty clip rect. In particular, DX12 backend would warn about it (others not so much). (#4775, #4464) ago%!(EXTRA string=3 years)
ocornut c6ca327fb2 Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. (#4562) ago%!(EXTRA string=4 years)
Jackamilio 03ce17f0a5 Backends: Allegro: Fixed clipping rectangles (#4498) broken by 2b0bd40b (#4464) ago%!(EXTRA string=4 years)
Rokas Kupstys 2b0bd40b99 Backends: Metal: Fixed a crash when clipping rect larger than framebuffer is submitted. (#4464) ago%!(EXTRA string=4 years)
thedmd 2f40be638f IO, Backends: add io.AddFocusEvent(). Clear pressed keys after loosing input focus (#3532) ago%!(EXTRA string=4 years)
ocornut cf2daf353e Backends: Cleanup, removed unnecessary create/destroy wrappers. Fix allegro5 backend + use same code as other backend. ago%!(EXTRA string=4 years)
ocornut 23a15834fa Fonts: Fix calling ClearTexData() (clearing CPU side font data) triggering an assert in NewFrame(). (#3487) + Backends: added additional assert to facilitate detecting user understand they haven't initialized a backend. ago%!(EXTRA string=4 years)
ocornut 70c603854e Backends: moved global to a data structure to facilitate support for multi-contexts. (#586, #1851, #2004, #3012, #3934, #4141) ago%!(EXTRA string=4 years)
ocornut 838c16533d Backends: Comments. ago%!(EXTRA string=4 years)
thedmd 3c72e5142b Backends: Replace direct access to TextureId with GetTexID() call in ImDrawCmd. (#3761) ago%!(EXTRA string=4 years)
ocornut bda12e5fdd Backends: Rework blending equation to preserve alpha in output buffer accross all backends. (#2693, #2764, #2766, #2873, #3447, #3813, #3816) ago%!(EXTRA string=4 years)
ocornut 58a0a7058c Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually. ago%!(EXTRA string=4 years)
ocornut b1a18d82e3 Moving backends code from examples/ to backends/ (step 6: update markdown documentation) ago%!(EXTRA string=5 years)
ocornut a7e21fb05f Moving backends code from examples/ to backends/ (step 3: fixing project files) ago%!(EXTRA string=5 years)
ocornut d9b2fb7338 Moving backends code from examples/ to backends/ (step 1: moving source files) ago%!(EXTRA string=5 years)
ocornut 124c2608f1 Docs: Renamed all occurences of "binding" and "back-end" to "backend" in comments and documentations, for consistency. ago%!(EXTRA string=5 years)
ocornut 0f13fdd177 Removed redirecting functions/enums names that were marked obsolete in 1.60: io.RenderDrawListsFn, IsAnyWindowFocused(), IsAnyWindowHovered(), etc. ago%!(EXTRA string=5 years)
omar 009276b6cb Backends: Allegro 5: Fixed horizontal scrolling direction with mouse wheel / touch pads (#3394, #2424, #1463) [@nobody-special666] ago%!(EXTRA string=5 years)
Rokas Kupstys 0738611559 Misc: Bunch of code formatting changes suggested by a pass running 'astyle' ago%!(EXTRA string=5 years)
Espyo f44962c01a
Backends: Allegro: Don't call AddInputCharacter if the pressed key has no character. (#3252) ago%!(EXTRA string=5 years)
omar 8342e5b91a Amend previous commits (added ImGuiMouseCursor_NotAllowed enum + new cursors in GLFW 3.4) ago%!(EXTRA string=5 years)
Rokas Kupstys 945a509773 Implement ImGuiMouseCursor_NotAllowed mouse cursor. ago%!(EXTRA string=5 years)
omar ca63349eb4 Renamed XX-bits -> XX-bit in comments to match what the world appears to be using. ago%!(EXTRA string=6 years)
omar 3bbc27ebd9 Fixed more FAQ links. (#2848) ago%!(EXTRA string=6 years)
omar f0348ddffc Amend 0f86116, renamed to ImGuiKey_KeyPadEnter Changelog.. (#2677, #2005) ago%!(EXTRA string=6 years)
Aaron Cooper 0f86116a69 Adding an ImGuiKey 'ImGuiKey_EnterSecondary' to support platforms that differentiate the enter (return key) and the numpad enter key. ago%!(EXTRA string=6 years)
omar ef13d95466 IO: changed AddInputCharacter(unsigned short c) signature to AddInputCharacter(unsigned int c). ago%!(EXTRA string=6 years)
omar ae405b83a4 Examples: Added missing per-renderer local changelogs. (#2037, #1639, #2452) ago%!(EXTRA string=6 years)
omar 5c1cd5c8c7 ImDrawCallback_ResetRenderState, Examples: Added support for reset render state callback. (#2037, #1639, #2452) ago%!(EXTRA string=6 years)
omar 8130fd9816 Examples: DirectX10/11/12, Allegro, Marmalade: Render functions early out when display size is zero (minimized). (#2496) ago%!(EXTRA string=6 years)
omar 512d39d031 Examples: OpenGL3: Minor tweaks, clarifications + not calling glBindBuffer more than necessary in the render loop. ago%!(EXTRA string=6 years)
omar a79785c0b9 ImDrawData: Added FramebufferScale field (currently a copy of the value from io.DisplayFramebufferScale). ago%!(EXTRA string=6 years)
DomRe 4483320f0a Examples: Allegro 5: Properly destroy all globals on shutdown. (#2262) ago%!(EXTRA string=6 years)
omar 7658035e5a About, IO: Added io.BackendPlatformName, io.BackendRendererName for informational/QA purpose. ago%!(EXTRA string=7 years)
Sebastian Krzyszkowiak b2e7a3806a
Examples: Allegro5: Add touchscreen support ago%!(EXTRA string=7 years)
omar 7c3b9172ad Examples: Referring to missing gamepad support in back-end that are missing it. ago%!(EXTRA string=7 years)
omar 1afd29d382 Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo. ago%!(EXTRA string=7 years)
omar 7b2662d245 Examples: Comments, bits of documentation ago%!(EXTRA string=7 years)
omar 185b4dde87 Examples: Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. Added clipboard support. Unindexing buffers ourselves as Allegro indexed drawing primitives are buggy in the DirectX9 back-end. ago%!(EXTRA string=7 years)
omar 7acb46bec5 Examples: Comments to make ImGuiConfigFlags_NoMouseCursorChange more visible (#1027). + Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. ago%!(EXTRA string=7 years)
omar 85f9694bd4 Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). (#1870) ago%!(EXTRA string=7 years)
omar bcac02809f Examples: Allegro 5: Renamed bindings from imgui_impl_a5.cpp to imgui_impl_allegro5.cpp. ago%!(EXTRA string=7 years)
omar 3913297384 Examples: Allegro 5: Added support for 32-bit indices setup via defining ImDrawIdx, to avoid an unecessary conversion (Allegro 5 doesn't support 16-bit indices). ago%!(EXTRA string=7 years)
omar 7c75835200 Renamed misleading ImGuiMouseCursor_Move to ImGuiMouseCursor_ResizeAll. SDL: Fixed cursor. (#1626) ago%!(EXTRA string=7 years)
omar 63332d152a Obsoleted the io.RenderDrawListsFn callback, you can call your graphics engine render function after ImGui::Render(). Use ImGui::GetDrawData() to retrieve the ImDrawData* to display..(#1599) ago%!(EXTRA string=7 years)
omar 057807f4a7 Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. (#787) ago%!(EXTRA string=7 years)
omar 73d493c780 Examples: Organized header files to make available features more visible. ago%!(EXTRA string=7 years)
omar 6a25a8720a Examples: Using #include "imgui.h" instead of <imgui.h> appear correct-er as per standard? xcode+clang are very nitpicky there. ago%!(EXTRA string=7 years)
omar d3e826c247 Examples: Updated for reorganized context functions. Calling CreateContext(), DestroyContext() in example code. Removed Shutdown() from binding code. (#1565, #586, #992, #1007, #1558) ago%!(EXTRA string=7 years)