1187 Commits (429f48bb4fa7fdffdb996e4a697d6df48babe3eb)

Author SHA1 Message Date
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 2c9f45bbe7 Renamed ImGuiNavFlags io.NavFlags to ImGuiConfigFlags io.ConfigFlags. (#787) 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 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)
omar ad09396672 ImVec2: added [] operator. This is becoming desirable for some types of code, better added sooner than later. ago%!(EXTRA string=7 years)
omar 92ee6b1185 Nav: Sets io.WantCaptureKeyboard when navigation is active. This is a little agressive but probably the best default and also a good way to get feedback. Added ImGuiNavFlags_NoCaptureKeyboard to disable this behavior. Comments. (#787) ago%!(EXTRA string=7 years)
omar 5c83b55d04 Nav: Added ImGuiWindowFlags_NoNav shortcut, comments. (#787) ago%!(EXTRA string=7 years)
omar 8ad88f725c Nav: Minor tidying up. (#787) ago%!(EXTRA string=7 years)
omar 147ec8d1e2 Style Added style.MouseCursorScale, may remove (#939). ago%!(EXTRA string=7 years)
omar ce9d7baaba Nav: TreeNode: Added ImGuiTreeNodeFlags_NavCloseFromChild flag, allow closing a TreeNode() from any of child. The explicit flag is not great, perhaps allowing some form of inheritance would help. (#787, #1079) ago%!(EXTRA string=7 years)
omar dd41a1650a Comments ago%!(EXTRA string=7 years)
omar bd579e5429 Nav: Removed io.NavUsable --> io.NavActive, io.NavActive --> io.NavVisible. (#787). NavActive takes account of NavFlags enable flags. ago%!(EXTRA string=7 years)
omar c851b33352 Nav: Added proper version of ImGuiWindowFlags_NavFlattened that handles scrolling nicely. Marked as private as I'm not happy with the name. (#787) ago%!(EXTRA string=7 years)
omar 94090eb08f Added IMGUI_USER_CONFIG to define a custom configuration filename. (#255, #1573, #1144, #41) ago%!(EXTRA string=7 years)
omar 578016d08b ImVector comment (#1577) ago%!(EXTRA string=7 years)
omar f2d5300408 Nav: Keyboard: Added CTRL+TAB (and CTRL+Shift+TAB) style window selection. (#787) ago%!(EXTRA string=7 years)
omar e9070e768e Nav: Fixed renaming of c09016b12a that were incorrect. ImGuiNavInput_PadLeft -> PadDpadLeft, _PadScrollLeft -> PadLStickLeft. (#787) ago%!(EXTRA string=7 years)
omar 5f7f27c8de Nav: Comments. (#787) ago%!(EXTRA string=7 years)
omar 455989b8b1 Nav: Added io.NavFlags to hold various options. Added ImGuiNavFlags_EnableGamepad and ImGuiNavFlags_EnableKeyboard for bindings to use (#787) ago%!(EXTRA string=7 years)
omar c09016b12a Nav: Renamed ImGuiNavInput_PadLeft / etc. to ImGuiNavInput_PadLStickLeft. Renamed ImGuiNavInput_PadScrollLeft to ImGuiNavInput_PadRStickLeft, aka removing trying-too-hard semantic from the enums. (#787) ago%!(EXTRA string=7 years)
omar bd278e958e Nav: Added ImGuiNavInput_KeyLeft/Right/Up/Down set so we can differenciate gamepad/keyboard inputs. (#787) ago%!(EXTRA string=7 years)
omar 823e1f0b94 Nav: Reordered NavInput enums to match directional order of ImGuiDir_ and ImGuiKey_ + comments (#787) ago%!(EXTRA string=7 years)
omar eb7ec781dc Nav: Tweak GetNavInputAmount(). Split debug defines. ago%!(EXTRA string=7 years)
omar f6ee8d30fb Comments (#1567) ago%!(EXTRA string=7 years)
omar 9a76fd30fd Added SetNextWindowBgAlpha() helper. (#1567) particularly helpul with the marking of the old 5-parameters version of Begin() as obsolete. ago%!(EXTRA string=7 years)
omar 2645ab5f7f Comments + added legacy renamed GetItemsLineHeightWithSpacing() as stated in the doc, fixes 6190ab0084 ago%!(EXTRA string=7 years)
omar 13c407591e Nav: Comments, tweaks ago%!(EXTRA string=7 years)
omar 9076366c17 Style: Exposed ImGuiStyleVar_WindowTitleAlign, ImGuiStyleVar_ScrollbarSize, ImGuiStyleVar_ScrollbarRounding, ImGuiStyleVar_GrabRounding + added an assert to reduce accidental breakage. (#1181) ago%!(EXTRA string=7 years)
omar 5e2aa6185c Reorganized context handling to be more explicit, ago%!(EXTRA string=7 years)
omar 7e4d28a49d Context: Renamed SetMemoryAllocators() to SetAllocatorFunctions(). Tweaked comments. (#1565, #586, #992, #1007, #1558) ago%!(EXTRA string=7 years)