1712 Commits (0e6a096afdc89219e98aeed49d7875a1ead3ba16)

Author SHA1 Message Date
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)
omar 5a301c29dc Context: Removed allocator parameters from CreateContext(), they are now setup with SetMemoryAllocators() and shared by all contexts. (#1565, #586, #992, #1007, #1558) ago%!(EXTRA string=7 years)
omar 5eb293c879 ImFontAtlas: Added TexUvScale (= 1.0f / (float)TexWidth, 1.0f / (float)TexHeight) ago%!(EXTRA string=7 years)
omar cd1409f4bf ImFontAtlas: Moved mouse cursor data out of ImGuiContext, fix drawing them with multiple context. Also remove the last remaining undesirable dependency on GImGui in imgui_draw.cpp, finishing the work recently done with ImDrawListSharedData. Hurra! (#939) ago%!(EXTRA string=7 years)
omar 0b1fecb792 Horizontal mouse wheel: renamed io.MouseHorizWheel to io.MouseWheelH. Reorganized the code in NewFrame(). Examples: Updated GLFW+GL and SDL+GL accordingly. (#1463) ago%!(EXTRA string=7 years)
omar c2ffce3e5a Drag and Drop: Fix comment. Removed IMGUI_PAYLOAD_TYPE_DOCKABLE from master branch. (#143) ago%!(EXTRA string=7 years)
omar 63d47e8328 Drag and Drop: Increased payload type string to 12 characters instead of 8.(#143) ago%!(EXTRA string=7 years)
omar 932d3f0198 NewFrame(): Added an assert to detect incorrect filling of the io.KeyMap[] array earlier. (#1555) + comments. ago%!(EXTRA string=7 years)
omar d1f726cd9d Comments about Begin/End pair and handling of return value. ago%!(EXTRA string=7 years)
omar 28a76af185 Internal: DrawData: Tidying, renaming. ago%!(EXTRA string=7 years)
omar c85d7d6e49 Nav: Remove GetItemID(), hide ActivateItem() before this feature is unfinished and has issue (full feature is on hold). Undo part of 59c6f35bf6 (#787) ago%!(EXTRA string=7 years)
omar 398a4e1865 Made obsolete IsAnyWindowHovered()/IsAnyWindowFocused() static inline. static only tends to trigger warnings. (#1382) ago%!(EXTRA string=7 years)
omar a63fbbca8b Added ImGuiHoveredFlags_AnyWindow, ImGuiFocusedFlags_AnyWindow. Obsoleted IsAnyWindowHovered()/IsAnyWindowFocused() in favor of IsWindowHovered(ImGuiHoveredFlags_AnyWindow)/IsWindowFocused(ImGuiFocusedFlags_AnyWindow). Added to demo. (#1382) ago%!(EXTRA string=7 years)
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. (#1541) ago%!(EXTRA string=7 years)
omar 168200f915 Popups: Comments, reorganize bits of the header section, renamed parameters. ago%!(EXTRA string=7 years)
omar a8e5542d78 BeginPopup: Exposed extra_flags publicly. (#1533) ago%!(EXTRA string=7 years)
omar 407955d9fb Examples: Using IM_OFFSETOF macro. + Comments ago%!(EXTRA string=7 years)
omar 0a0b252bb6 DragDrop: Removed IsDragDropActive() (introduced a few days ago, revert 06bea369c0) as our use case doesn't need it anymore. Will add it if there is a real need. ago%!(EXTRA string=7 years)
omar 9fbecac87e Demo: Improved Selectable() examples. (#1528) ago%!(EXTRA string=7 years)
omar 3c6fbe0849 Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData. ago%!(EXTRA string=7 years)
omar fbf2435f38 Exposed IM_OFFSETOF() helper in imgui.h ago%!(EXTRA string=7 years)
omar eef9120e07 Reorganized comments in the IMGUI_DISABLE_OBSOLETE_FUNCTIONS function. Added an IM_ASSERT(0). ago%!(EXTRA string=7 years)
omar 2dd2ca0096 Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side. ago%!(EXTRA string=7 years)
omar 06bea369c0 DragDrop: Added IsDragDropActive() helper which is useful for binding to decide how to handle mouse inputs. ago%!(EXTRA string=7 years)
omar 49eed6e2d1 Version 1.54 WIP ago%!(EXTRA string=7 years)
omar d9034bf2d8 ListBox() changed signature of ListBox() to match Combo(). Still not very happy about not using const char** anymore. (#931) ago%!(EXTRA string=7 years)
Branimir Karadžić 149523a101 Fixing error: declaration of ‘size’ shadows a member of 'this' [-Werror=shadow] ago%!(EXTRA string=7 years)
omar e916310b2e Version 1.53 ago%!(EXTRA string=7 years)
omar 3d48f5b8c2 Demo: BeginCombo() demo code ago%!(EXTRA string=7 years)
omar 1b86e7343f Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete). ago%!(EXTRA string=7 years)
omar e9ceef4762 ImVector: Revert 6172e93272 actually problematic with our current use (because we don't construct the instances). ago%!(EXTRA string=7 years)
omar a5739a0aa3 Fixed warning with Clang+MSVC using __int64 to define the helper ImU64 type (#1184) ago%!(EXTRA string=7 years)