1229 Commits (d268471285f65e23d6109dd918cca8a14e165bc0)

Author SHA1 Message Date
omar b88492746e Examples, Viewport: Vulkan: Experiment (broken) multi-viewport support, merging code from ParticlePeter branches. (#1542, #1042) ago%!(EXTRA string=7 years)
omar 111ea7af77 Misc comments, todos + reintroduced removed ImGuiCol defines under !IMGUI_DISABLE_OBSOLETE_FUNCTIONS wrap. ago%!(EXTRA string=7 years)
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. (#707) ago%!(EXTRA string=7 years)
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. (#1542, #1676) ago%!(EXTRA string=7 years)
omar 1f6ad7a894 ImFont: Added FindGlyphNoFallback. Fixed MergeMode broken by 1ef1acbd8d ago%!(EXTRA string=7 years)
omar 43f375b2f2 Viewport,Platform: Added GetWindowDpiScale() platform interface, changes of scale are reflected by positioning and resizing windows in their given viewport. (#1542) ago%!(EXTRA string=7 years)
omar 1eb89d7e3b Viewport: Changed signature of ResizeViewport to be consistent with other similar functions. ago%!(EXTRA string=7 years)
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). (#1542) ago%!(EXTRA string=7 years)
omar 1ef1acbd8d Font: Fixed MergeMode adding duplicate glyphs data instead of reusing existing (broken by 072d6d8cb5) ago%!(EXTRA string=7 years)
omar 3dfac93ebe Fonts: Fixed debug name not being zero-terminated if longer than storage buffer + made buffer slightly longer as well. ago%!(EXTRA string=7 years)
omar 642c6748ac Comments, Changelog ago%!(EXTRA string=7 years)
omar a1f3949d71 Drag and Drop: Increased payload data type to 32 characters. (#143) ago%!(EXTRA string=7 years)
omar 9dcc07422e Viewport: Reorganized viewport enable flags. Both user + platform + renderer need to enable a flag. (#1542) ago%!(EXTRA string=7 years)
omar 8e3274e137 Viewport: Tracking current viewport we are appending to + added callback in PlatformInterface for DPI purpose (WIP). (#1542) ago%!(EXTRA string=7 years)
omar 0ec356eb6e Comments, FAQ update. ago%!(EXTRA string=7 years)
omar 69e700f869 Renamed ImGuiStyleVar_Count_ to ImGuiStyleVar_COUNT for consistency with other enums. Added ago%!(EXTRA string=7 years)
omar 8a4093f38b Added ArrowButton(). Exposed ImGuiDir. ago%!(EXTRA string=7 years)
omar 1549c5cf5e BeginCombo(): Added ImGuiComboFlags_NoArrowButton and ImGuiComboFlags_NoPreview flags + hover color matches drag and sliders. ago%!(EXTRA string=7 years)
omar e9fa17e1bf Viewport: Replaced UpdatePlatformWindows/RenderPlatformWindows by RenderAdditionalViewports(). The update is always called in EndFrame(). (#1542) ago%!(EXTRA string=7 years)
omar df8a9c49eb Allow user to override ImTextureId. (#1641) ago%!(EXTRA string=7 years)
omar 6797ee4b68 Nav: Added links to PNG/PSD files for PS4 and Switch. Fixed suggested Joy-con mapping as per typical Nintendo-style mapping. (#787) ago%!(EXTRA string=7 years)
omar b3594a6407 Added ImGuiConfigFlags_IsSRGB, ImGuiConfigFlags_IsTouchScreen (strictly for user storage) ago%!(EXTRA string=7 years)
omar d98a5d54aa Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 8074d56bdd Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 2c9f45bbe7 Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) ago%!(EXTRA string=7 years)
omar 735267d27c Viewport: Initial viewport branch+ platform api commit (squashed from previous commits, still very WIP) (#1542) ago%!(EXTRA string=7 years)
omar b32bb4e6e3 Removed DisplayVisibleMin/DisplayVisibleMax facility (as part of # 1542). Misc comments. ago%!(EXTRA string=7 years)
omar 27667fc035 TreeNode: Renamed Beta ImGuiTreeNodeFlags_NavCloseFromChild to ImGuiTreeNodeFlags_NavLeftJumpsBackHere. (#1079) ago%!(EXTRA string=7 years)
omar 79969931e6 ImDrawList: PushTextureID(): Removed unnecessary param by reference. ago%!(EXTRA string=7 years)
omar 2c3c5125b3 Drag and Drop: BeginDragDropSource(): temporarily removed the optional mouse_button=0 parameter because it is really usable in typical conditions at the moment. (#143, #1637) ago%!(EXTRA string=7 years)
omar 45cbebad64 Added dummy io.DisplayPos field. ago%!(EXTRA string=7 years)
omar 8d0723c2c3 ImFontAtlas: Added IsBuilt() helper. ago%!(EXTRA string=7 years)
omar 1399c9c8a9 Merged a bunch of small inconsequential things from my work branch, to reduce the diff noise. 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 30c469f7c5 ImFont: DisplayOffset.y defaults to 0 instead of +1. ago%!(EXTRA string=7 years)
omar 024e23c4d7 Comments, moved ImFontAtlas::Flags to "public" area. ago%!(EXTRA string=7 years)
omar fed0a884f7 ImFontAtlas: Added ImFontAtlasFlags_NoPowerOfTwoHeight, ImFontAtlasFlags_NoMouseCursors flags. (#1613) ago%!(EXTRA string=7 years)
omar 9263bd68db Fixed legacy forward function IsRootWindowOrAnyChildHovered() broken by a63fbbca8b ago%!(EXTRA string=7 years)
omar 7cc1bc7635 Added IsAnyMouseDown() helper. ago%!(EXTRA string=7 years)
omar 88dcbeb7ff Styles: Comments and re-ordered. ago%!(EXTRA string=7 years)
omar 8099f8c270 Comments ago%!(EXTRA string=7 years)
omar 7c16d52f72 Updated version to 1.60 WIP to emphasis on the addition of required calls CreateContext/DestroyContext + merged the massive Navigation branch (#1565, #787) ago%!(EXTRA string=7 years)
omar 4e5b7612ae Nav: Documentation tweaks. (#787) ago%!(EXTRA string=7 years)
omar 3171f90a1a Nav: Keyboard is now automatically mapped based on io.KeyDown[]. (#787) ago%!(EXTRA string=7 years)
omar 9e3a807813 Removed comments 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 7e32fc7109 Nav: Toward automatically mapping keyboard input. Renamed ImGuiNavInput_PadXXX to ImGuiNavInput_XXX. Renamed ImGuiNavInput_KeyXXX to ImGuiNavInput_KeyXXX_ (internal). (#787) ago%!(EXTRA string=7 years)
omar ed4bbc4fd4 Nav: Comments, guides. ago%!(EXTRA string=7 years)
omar 3b7bd4563a ImVec2: added [] operator. This is becoming desirable for some types of code, better added sooner than later. ago%!(EXTRA string=7 years)