Commit Graph

  • 7d5d5711c2 Backends: OpenGL2, OpenGL3: Backup and restore GL_SHADE_MODAL, GL_STENCIL_TEST, clear GL_NORMAL_ARRAY. Comments., (#3671, #3668) ocornut 2021-01-03 15:55:12 +0100
  • 0a5f399805 Tables: Fix hiding column right after the frozen line. Fix hovering/resising column delimiter scrolled under frozen columns. (#3678) ocornut 2021-01-03 15:10:35 +0100
  • 1c1d3b7ab5 Added 64-bit variants of CheckboxFlags() in imgui_internal.h. Improve assert on mismatched ListBoxFooter() call. Fix FAQ index. (#3687) ocornut 2021-01-03 11:31:30 +0100
  • 8ec5daf35d Happy new year! ocornut 2021-01-03 14:59:32 +0100
  • 813bbf16b9 fix error: use of the 'nodiscard' attribute is a C++17 extension Othereum 2020-12-30 14:57:39 +0900
  • fa2a8ed9a2 Add IM_NODISCARD Othereum 2020-12-30 14:46:06 +0900
  • 94fdafc6fa
    Update premake5.lua Varun Mhatre 2020-12-27 18:45:42 -0500
  • f17be83957
    Create premake5.lua Varun Mhatre 2020-12-27 18:34:43 -0500
  • fa963b9aaf Inputs: Internal: added SetItemUsingMouseWheel() and mechanism to request mouse wheel for both HoveredId and ActiveId. (#2891) ocornut 2020-12-25 17:52:01 +0100
  • 7d0e00a01f Stack Layout implementation v2.0 thedmd 2019-05-03 11:59:34 +0200
  • eb88fee052 Tables: internal tidying up, calculate WidthAuto in first loop of layout + TableSetupColumn() with unspecified stretch weight leaves it at -1.0f (unset) rather than overrding default. Amend 3b3503e. ocornut 2020-12-25 16:10:12 +0100
  • 68faa16e1d Tables: report auto-fit width in EndTable(), extracted TableGetColumnWidthAuto(). fix minor flickering with IsPreserveWidthAuto (which is a debug feature still), moved some code. ocornut 2020-12-25 14:35:57 +0100
  • 3573195112 Tables: (breaking) rename ImGuiTableFlags_ColumnsWidthStretch > ImGuiTableFlags_SizingPolicyStretch, ImGuiTableFlags_ColumnsWidthFixed > ImGuiTableFlags_SizingPolicyFixed in prevision for other policies. ocornut 2020-12-24 18:32:27 +0100
  • b015ea93fd Style tweaks, disabled default window rounding by default, reduced size of resize grip, made less prominent, increased WindowBg alpha in classic style. ocornut 2020-12-24 11:42:28 +0100
  • 3fbb928c9f Tables: explicit/custom width in TableSetupColumn() is reapplied when table or column becomes not resizable. Comments. ocornut 2020-12-23 12:11:39 +0100
  • 956435768f Tables: (breaking) renamed ImGuiTableColumnFlags_WidthAutoResize to _WidthAuto., default to WidthFixed policy when host window has auto-resize. ocornut 2020-12-22 22:32:30 +0100
  • 7b53551032 Merge branch 'master' into docking ocornut 2020-12-22 17:17:49 +0100
  • d497f112e7 Tables: simplified and tidying up TableSetColumnWidth(), fixes resizing a fixed column surrounded by stretch column (manually or via auto-fit menu). TableHeader() showing highlighted when held. ocornut 2020-12-22 16:55:40 +0100
  • 972ca8166f Tables: extracted code for TableGetMaxColumnWidth(), fixing "stuck" resize being lossy as it used an older calculation for it and didn't honor e.g. _NoKeepColumnsVisible ocornut 2020-12-22 16:40:52 +0100
  • 1aa59f90d0 Minor API comments and tweaks, standardize index used in imgui.h. Tables: tweaked TableSetupColumn() assert to use IM_ASSERT_USER_ERROR(). ocornut 2020-12-22 14:57:43 +0100
  • 2e48c2da81 Removed redirecting functions/enums names that were marked obsolete in 1.63 (August 2018) + tables tweaks. ocornut 2020-12-21 19:09:11 +0100
  • 4d8e839ddf Renamed ImDrawList::AddBezierCurve() to ImDrawList::AddBezierCubic(), ImDrawList::PathBezierCurveTo() to ImDrawList::PathBezierCubicCurveTo(). (#3127, #3664, #3665) ocornut 2020-12-21 17:11:33 +0100
  • 550bfcfc59 Amend defce31 Add ImDrawList::AddQuadBezierCurve(), ImDrawList::PathQuadBezierCurveTo() (#3127, #3664, #3665) ocornut 2020-12-21 16:25:56 +0100
  • defce31c2e Add ImDrawList::AddQuadBezierCurve(), ImDrawList::PathQuadBezierCurveTo() (#3127, #3664, #3665) Aiekick 2020-12-20 20:04:48 +0100
  • a640698123 Clipper: Fixed incorrect end-list positioning when using ImGuiListClipper with 1 item (bug in 1.79). (#3663) nyorain 2020-12-21 15:52:02 +0100
  • 22f2edac25 remove unused const var Aiekick 2020-12-20 20:21:24 +0100
  • d6cef0b21d add demo code for Quadratic/Cubic Bezier Curves in Custom Rendering Window Aiekick 2020-12-20 20:16:30 +0100
  • ff9f74ab3a * Quadratic bezier helpers add ImQuadBezierCalc add PathQuadBezierToCasteljau add PathQuadBezierCurveTo Aiekick 2020-12-20 20:04:48 +0100
  • ca35c6e5ec Fix ListClipper for single-item-list nyorain 2020-12-19 21:42:08 +0100
  • e66cf9df45
    Merge pull request #5 from ocornut/master Aiekick 2020-12-19 17:57:47 +0100
  • ae63d56426 Tables: remove ImGuiTableFlags_NoHeadersWidth since it is so rarely used and can be specified on a per-column basis. ocornut 2020-12-18 19:03:10 +0100
  • 532aa5a69b Tables: (breaking) change outer_size.x default value to -FLT_MIN, make outer_size.x == 0.0f act as ImGuiTableFlags_NoHostExtendX (#3605, ad83976b) when no scrolling and no stretch column. Which is more consistent. ocornut 2020-12-18 17:27:41 +0100
  • 9941be6528 allow injection of custom code before and after generated code Gustav 2020-12-18 16:52:02 +0100
  • 22ace4438c Tables: clarify assumption that rendering of bg/borders in bg0/bg1 are cpu-clipped allowing frozen/unfrozen to share drawcmd + remove offset on outer borders of scrolling tables. ocornut 2020-12-18 14:14:15 +0100
  • 30468829c2 Tables: Internal: Maintain InnerRect to further clarify some code. Renamed Bg1 fields to Bg2 (used by Selectable) as the other handles Bg0+Bg1. ocornut 2020-12-18 12:18:34 +0100
  • ad83976b35 Tables: Added ImGuiTableFlags_NoHostExtendX (#3605) marked as WIP, will probably rename. ocornut 2020-12-17 22:29:11 +0100
  • 51061cf8b2 add IMGUI_STATIC_LIBRARY flag devlexanderxyz 2020-12-17 18:55:56 +0000
  • c4dbab8f5e Tables: reset all width apply to hidden stretch columns. Comments. ocornut 2020-12-16 16:06:07 +0100
  • 1fb26d18c4 Tables: fixed seemingly unnecessarily copy of ImGuiTableColumnFlags_NoDirectResize_ which broken resizing from W3| in a F1 W3 F2 setup. Header only allow overlap on hover, not when active (amend f2df804f) ocornut 2020-12-16 15:27:17 +0100
  • 892b48e2d6 Tables: Lock contents width while resizing down an horizontal scrolling table. Headers declare ideal width regardless of clipping. Misc comments. ocornut 2020-12-14 19:24:48 +0100
  • bd899efbd0 Tables: fixed "resize to default" of multiple stretch column (added 3b3503e, broken 7a61f340). ocornut 2020-12-14 11:59:01 +0100
  • da2ad0e072 Add UTF-8 codepage support Othereum 2020-12-14 22:34:44 +0900
  • dc108d111a
    Non-unicode IME support Seokjin Lee 2020-12-14 19:01:04 +0900
  • f2df804fcc Tables: four small fixes. ocornut 2020-12-13 19:19:23 +0100
  • 06e87014f2 Merge branch 'master' into docking ocornut 2020-12-11 23:10:06 +0100
  • 738606a294 Tables: added ImGuiTableFlags_SortTristate. Renamed ImGuiTableFlags_MultiSortable to ImGuiTableFlags_SortMulti. Removed now unused FlagsIn storage. ocornut 2020-12-11 21:33:37 +0100
  • cad8935bfd Tables: revert setting colum cliprect.max.x to WorkMax.x instead of Max.x at it complicates header code. Fix clipped sort arrow. (amend 17536f9a) ocornut 2020-12-11 18:20:07 +0100
  • bff1836922 Internals: added facility to hide windows from render without interfering with the HiddenFramesCanSkipItems/HiddenFramesCannotSkipItems fields which have effects on layout. Compact some fields. ocornut 2020-12-11 14:29:42 +0100
  • 1ad5502f18 Tables: Closer to zero-clear constructor. Lazily clearing name offsets to avoid an iteration in BeginTable(). Removed unused TableSetColumnIsEnabled(), signature went faulty anyway. ocornut 2020-12-10 18:53:57 +0100
  • 76964a27ce Tables: moved TableNextRow(), TableBeginRow(), TableEndRow(), TableNextColumn(), TableBeginCell(), TableEndCell() to their own section. ocornut 2020-12-10 18:39:37 +0100
  • e6b875c09b Tables: Ditch old columns flags/setting if not called again. Displaying right-most border when using _SameWidths. Moving Width-related functions to their own section. ocornut 2020-12-10 16:09:11 +0100
  • 3346544cf5 Examples: Fix batch files (amend b1a18d82, #3513), standardize them + DirectX12: Move ImGui::Render() call above the first barrier to clarify its lack of effect on the graphics pipe. ocornut 2020-12-09 18:12:38 +0100
  • 17536f9add Tables: more consistent use of CellPadding.x*2 and clip-rect on right-most side of non-bordered column + fix cellbg for standalone TableHeader call. ocornut 2020-12-08 16:26:18 +0100
  • bbb7813c84 Split bindgroups Basil Fierz 2020-12-05 22:05:38 +0100
  • 279b830990
    Fix include guard error (#21) Dylan Reviczky 2020-12-04 14:03:53 -0800
  • dd4ca70b0d Merge branch 'master' into docking ocornut 2020-12-04 19:22:15 +0100
  • 9874077fc0 Merge branch 'tables' ocornut 2020-12-04 19:17:13 +0100
  • 0b14dd9e55 Tables: fixed propagation of line height from outside the table. Added outer-width demo. ocornut 2020-12-04 19:02:35 +0100
  • 6e38026627 Tables: changelog. removed TableGetHoveredColumn() from public API in favor of using TableGetColumnFlags(). renamed ImGuiTableSortSpecsColumn to ImGuiTableColumnSortSpecs. ocornut 2020-12-04 17:54:40 +0100
  • 7a61f3407b Tables: support internal TableResetSettings(), clarify lifetime, fixed missing auto-fit on column unhidden after first run, fixed resize assert when changing column sizing policy to stretch mid-frame (before of -1.0f weight) ocornut 2020-12-04 15:52:51 +0100
  • b194df413c Tables: exposed status flags via TableGetColumnFlags(), removed TableGetColumnIsSorted() ocornut 2020-12-03 18:45:15 +0100
  • 984c4cb5f8 Tables: distinguishing per-column IsVisible from IsRequestOutput which is returned to user. Clarified clipping rules/requirements. Comments. ocornut 2020-12-03 16:29:08 +0100
  • f70bf69e3b Tables: comments and tweaks on TableUpdateLayout(). changed "apply final width" loop to use natural column order. ocornut 2020-12-03 09:40:47 +0100
  • 155b8bb816 Tables: Shared menu item id for "Size all" variations. Avoid allocation on single sort specs. Fix TableGetColumnIsEnabled(). Massage TableHeaderRows(). ocornut 2020-12-02 13:58:55 +0100
  • e126a64782 Tables: using a typedef in internal code to specify column/draw channel index storage. ocornut 2020-12-01 19:19:01 +0100
  • 6aa8388e9f Tables: index tweaks, fixed some inconsistent spacings. ocornut 2020-12-01 17:51:17 +0100
  • 5877b9d722 Tables: moved TablePushBackgroundChannel(), TablePopBackgroundChannel(), TableDrawBorders() to their own section. ocornut 2020-12-01 17:34:24 +0100
  • 5180025de5 Tables: moved + renamed TableSetupDrawChannels(), TableMergeDrawChannels() to their own section. ocornut 2020-12-01 17:31:59 +0100
  • b7c83e4bac Tables: moved TableGetSortSpecs(), TableGetColumnIsSorted(), TableFixColumnSortDirection(), TableSetColumnSortDirection() to their own section. ocornut 2020-12-01 17:16:59 +0100
  • d6b1f0d13d Tables: moved TableHeadersRow(), TableHeader() to their own section. ocornut 2020-12-01 17:02:56 +0100
  • 592fc69054 Tables: moved TableDrawContextMenu(), TableOpenContextMenu() to their own section. ocornut 2020-12-01 17:01:58 +0100
  • 7aed4b152b Tables: improve index, file structure tweaks. ocornut 2020-12-01 16:46:35 +0100
  • 082f1d10d0 Tables: renamed TableBeginUpdateColumns to TableBeginApplyRequests, moved code to TableUpdateLayout, in order to ensure that enable state is not inconsistent due to TableSetupColumn column hiding requests. ocornut 2020-12-01 14:56:06 +0100
  • 79c9eaa78e Tables: Internals: renamed Visible to Enabled to avoid confusion with visibility checks. ocornut 2020-11-23 23:19:08 +0100
  • 5ef7b831c2 Tables: removed ImGuiTableSortSpecs::ColumnsMask because it needlessly exposes our 64-columns limitation which we'd eventually would like to lift ocornut 2020-11-23 17:02:00 +0100
  • e09454aec4 Tables: removed TableGetColumnIsVisible from public api, re-specced as TableGetColumnIsHidden() returning same flag as setter, clipper increase CurrentRow. ocornut 2020-11-23 12:39:05 +0100
  • a70c6aae9f Tables: demo synced tables + fix resizing indented synced tables. ocornut 2020-11-20 19:11:33 +0100
  • 0c9ab0acdd Tables: setup and maintain ItemWidth per column. ocornut 2020-11-20 16:58:48 +0100
  • 8f126d5d95 Tables: rename ImGuiTableFlags_SizingPolicyStretchX to ImGuiTableFlags_ColumnsWidthStretch, ImGuiTableFlags_SizingPolicyFixedX to ImGuiTableFlags_ColumnsWidthFixed. ocornut 2020-11-18 20:55:01 +0100
  • 41f89e0f59 Tables: added ImGuiTableFlags_SameWidths, used in demo. Reordered columns flags and exposed them all in Columns Flags section. ocornut 2020-11-18 17:28:18 +0100
  • 3a2f0bfc04 Tables: demo inner_size + scrollx + stretch, added TableGetRowIndex(), renamed _WidthAlwaysAutoResize to _WidthAutoResize. ocornut 2020-11-18 14:15:38 +0100
  • 3b3503e60f Tables: decent support for auto-resize of stretch columns (trickier than it sounds) ocornut 2020-11-16 20:25:35 +0100
  • c5dcf2fde1 Tables: rework keep-visible/max-width code to be less incorrect, but right-most column may effectively has few pixels less of visible cliprect width. ocornut 2020-11-16 12:30:17 +0100
  • 197e9c085b Tables: separate bg0 and bg1 draw channels, selectable above bg color + will facilitate drawing of borders in EndTable(). ocornut 2020-11-12 15:55:26 +0100
  • 52f24df668 Tables: comments, tweaks, added internal TableSetColumnVisible(), merged the two TableSetColumnWidth(). ocornut 2020-11-11 18:54:39 +0100
  • bf197c74f6 Tables: storing WorkMaxX, made offset_x == MinX to be clearer, clip rect merge uses ClipRect.max.x directly, removed unused ShrinkWidth code, metrics. ocornut 2020-11-06 14:44:44 +0100
  • 5465d30d67 Tables: added ImGuiTableFlags_PreciseStretchWidths. ocornut 2020-11-06 14:28:43 +0100
  • 10db896813 Tables: store RawData in a simple void* pointer, rename ContentMinX > WorkMinX, misc tidying up. ocornut 2020-11-05 17:30:30 +0100
  • 82cf41d804 Tables: tooltip on clipped TableHeader() (amended) ocornut 2020-11-04 22:37:15 +0100
  • 507db499e4 Tables: work on background draw channel handling (amend "create a separate background draw channel") + Selectable disable spacing when spanning. ocornut 2020-11-04 22:17:58 +0100
  • fe6131168a Tables: Additionally commentary about clipper in the demo + minor padding tweak. ocornut 2020-11-03 18:47:05 +0100
  • 94d99f9d0b Tables: Fixed crash when increaasing columns count with bound settings. ocornut 2020-11-03 18:08:26 +0100
  • 24a7c45b02 Tables: Fix for 64 columns (maximum of 131 temporary draw channels). ocornut 2020-11-03 15:10:22 +0100
  • e5a5256971 Tables: Garbage collection to relieve draw splitter buffers + for test engine: compact settings, remove table. ocornut 2020-11-03 11:25:36 +0100
  • f80097ca96 Tables: Fix applying WorkRect in non-scrolling tables. Fix inverted BackgroundClipRect being passed to ImDrawCmd. ocornut 2020-10-30 21:35:23 +0100
  • 557253e776 Tables: create a separate background draw channel for rows below the frozen line. ocornut 2020-10-30 20:30:53 +0100
  • fae362fd0b Tables: fixed auto-fitting columns not marking settings as dirty + fixed CellBg fill not narrow clipping on ScrollX + freeze. ocornut 2020-10-30 19:38:59 +0100
  • 9918b2f147 Tables: Shuffled ordering of draw channels merge group so vertically unfrozen ones come, allowing us to split background channels in two. ocornut 2020-10-28 18:04:59 +0100
  • d3222086f0 Tables: Moved TableSetupScrollFreeze(), TableUpdateDrawChannels() lower in more adequate spots. ocornut 2020-10-27 15:06:05 +0100
  • d9ca3939e1 Tables: Tidy up comments. Replaced some Columns by Tables in demo. Removed ImGuiTableFlags_Scroll (combining ScrollX/ScrollY) because each axis inccur different requirements/constraints. ocornut 2020-10-26 18:28:49 +0100