Demo: Added color gradient in demo to identify srgb/linear issues better. Tweaks.

This commit is contained in:
ocornut
2020-02-24 12:44:19 +01:00
parent 0345324646
commit e547f898a9
4 changed files with 28 additions and 27 deletions

View File

@ -47,7 +47,7 @@ Other Changes:
- Window: Fixed a bug with child window inheriting ItemFlags from their parent when the child
window also manipulate the ItemFlags stack. (#3024) [@Stanbroek]
- Font: Fixed non-ASCII space occasionally creating unnecessary empty polygons.
- Demo: Added a black and white gradient to Demo>Examples>Custom Rendering.
- Demo: Added black and white and color gradients to Demo>Examples>Custom Rendering.
- Backends: Win32: Added ImGui_ImplWin32_EnableDpiAwareness(), ImGui_ImplWin32_GetDpiScaleForHwnd(),
ImGui_ImplWin32_GetDpiScaleForMonitor() helpers functions (backported from the docking branch).
Those functions makes it easier for example apps to support hi-dpi features without setting up