Commit Graph

6400 Commits (3b828e6f96ea8a2fdbf5beda942bcd43a4b1f613)
 

Author SHA1 Message Date
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).
omar 83ef61fa56 Examples: SDL: Fix for versions olders than 2.0.6
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!). ()
omar 98b66a5fc9 Examples: Using draw_data->DisplaySize, followup to c50198debe. Fix Vulkan secondary viewport rendering. SDL+Vulkan: Matched changes. Fix vcprojs. (, )
omar 921bb92eec Viewport: Fixed software mouse cursor from appearing in all multiple lists simultaneously. ()
omar c50198debe Viewport: Obsoleted io.DisplayPos (which was a Viewport branch thing), added ImDrawData::DisplayPos, DisplaySize () wip
omar 6371474031 Viewport: Removed unnecessary function hoop.
omar 8657201257 Merge branch 'master' into viewport
omar 0e3a6ef4f7 Moved IM_NEW, IM_DELETE helpers to imgui.h for convenient use by back-ends and user code.
omar 7b833dabc8 ImVector: Spacing, assert tweaks
omar 26296bb4c1 Misc: Fix 111ea7af77, GetStyleColorName() would assert, removed removed ImGuiCol defines (too much risk/complexity trying to silently ignore it).
omar f93a22ae6e Contributing: tweaks, mention screenshots more prominently.
omar b88492746e Examples, Viewport: Vulkan: Experiment (broken) multi-viewport support, merging code from ParticlePeter branches. (, )
omar f6fc28dfd2 Merge branch 'master' into viewport (inc Vulkan resize fix merge )
omar cdeef65b05 Examples: Vulkan: Passing Queue, QueueFamily to binding. Fixed scissor (fixed in master). ImGui_ImplVulkanH_DestroyWindowData() waits for device to be idle. ()
omar 111ea7af77 Misc comments, todos + reintroduced removed ImGuiCol defines under !IMGUI_DISABLE_OBSOLETE_FUNCTIONS wrap.
omar 1e81a53e75 Examples: DPI: Minor warning fix. ()
omar 37cb177745 Examples: Vulkan: Only resize swap chain and framebuffer once. ()
omar 1c18d65313 Examples: Renamed glfw error callback for clarity.
Peter Particle b2453d7e8f Fixed resize window validation errors with removing frame prerender once and present last but one frame functionality. Frame rate is still similar.
omar 887712a6f1 Updated templates, added pull request template.
omar e7670c0bcc Style: CloseButton() now display a proper cross. Using Button colors for background. Removed ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered as the closing cross uses regular button colors now. ()
omar b9ac127b0b Internals: Columns renaming fields
omar 5e63711084 Viewport, DPI: Some early work on per-viewport DPI support. At the moment the easiest way is to replace fonts during the ChangedViewport callback, but down the line we should aim at handling some of it at ImFont level. (, )
omar a2fbcc9ad4 Examples: DPI: Portable DPI related helpers in the _Win32 examples. Using one in examples's main.cpp, the GetDpiScale functions are not wired anywhere for now. (, )
omar 10030ff3ec Viewport: Fix dropping back viewport not being moved to the front of the window list. (Now that viewport are more tighly coupled to a single root window) ()
omar 648735a4cf Viewport, DPI: Don't activate current window until a viewport has been selected. At this point we'll have the proper size/scale for the current DPI + fix viewport callback when appending to an existing window more than once a frame. (, )
omar a4629b0b36 Viewport, DPI: Select viewport before locking style sizes and before handling double-click-on-title-bar to collapse. (, )
omar 1f6ad7a894 ImFont: Added FindGlyphNoFallback. Fixed MergeMode broken by 1ef1acbd8d
omar 64cbbed152 Merge branch 'master' into viewport
omar 43f375b2f2 Viewport,Platform: Added GetWindowDpiScale() platform interface, changes of scale are reflected by positioning and resizing windows in their given viewport. ()
omar 351b3fa7b0 Updated Changelog following merge of + fixed entry added to wrong version Changelog in 1ef1acbd8d
omar 5fdde52444 Merge branch '2018-03-font_offset' into master2
omar 1eb89d7e3b Viewport: Changed signature of ResizeViewport to be consistent with other similar functions.
omar 4d46383100 Viewport: Coupling non-main viewport to one window. Viewport name derived from the window. Added ImGuiConfigFlags_PlatformNoTaskBar, off by default (aka re-established task-bars by default for now). ()
omar aa3fe81c87 Examples: DPI: Hacked in a quick compile-and-run-everywhere call to SetProcessDpiAwareness(), will need to revisit.
omar a3d5f92214 Merge branch 'master' into font_offset
omar 1ef1acbd8d Font: Fixed MergeMode adding duplicate glyphs data instead of reusing existing (broken by 072d6d8cb5)
omar 3dfac93ebe Fonts: Fixed debug name not being zero-terminated if longer than storage buffer + made buffer slightly longer as well.
omar 642c6748ac Comments, Changelog
omar a1f3949d71 Drag and Drop: Increased payload data type to 32 characters. ()
omar 9ea16e344a Viewport: Disable extra viewports from hosting other windows. ()
omar d8719cf59b Fixed warnings.
omar 9dcc07422e Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. ()
omar 52c78820aa Examples: SDL: Fix for pre 2.0.4.
omar 19b92751b9 Examples: Updated Makefile and batch files to work with new examples. Using lowercase "gl.h" as it seems this is what Linux wants.
omar f318f2d5ea Examples: Added Makefile for SDL+OpenGL2 example. ()
omar 7fd62baa42 Examples: Added Makefile for SDL+OpenGL2 example. ()
omar 21ff03978a Viewport: Modal display their darkneing/whitening layer over all viewports. ()
omar 25fd9d6132 Viewport: Various sanity fixes. Popup always inherit viewport from their parent for now. ()