194 Commits (fdc2324d9ab2389bdff78a9b6efcea1a6da8ed69)

Author SHA1 Message Date
Rokas Kupstys c2d6d26139 ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags ago%!(EXTRA string=4 years)
ocornut d8c88bd943 Tables: Fixed unaligned accesses when using TableSetBgColor(ImGuiTableBgTarget_CellBg). (#3872) ago%!(EXTRA string=4 years)
ocornut b47aa46d81 Tables: TableSetupColumn() user id uses ImGuiID as intended (typedef ImU32). internals: added GetCurrentTable(), LeftMostEnabledColumn. Demo/docs tweaks. ago%!(EXTRA string=4 years)
ocornut 30b7545841 Version 1.82 WIP ago%!(EXTRA string=4 years)
ocornut 4df57136e9 Version 1.81 ago%!(EXTRA string=4 years)
freddii 90a518c501 Fixed typos (#3782) ago%!(EXTRA string=4 years)
ocornut 929563c3a7 Log/Capture: Fixes for handling \n in strings. Improve the look of various widgets. Added LogSetNextTextDecoration helper. Fixup/amend dbaf74d75. ago%!(EXTRA string=4 years)
ocornut 9d576a96a5 Tables: added internal TableSetColumnEnabled() helper. Comments. ago%!(EXTRA string=4 years)
ocornut 2ed47e5822 Version 1.81 WIP ago%!(EXTRA string=4 years)
ocornut 58075c4414 Version 1.80 ago%!(EXTRA string=4 years)
ocornut 5178c3ce21 Tables: added ImGuiTableFlags_NoHostExtendX instead of using outer_size.x == 0.0f. Changed default outer_size to (0.0f, 0.0f). (#3605) ago%!(EXTRA string=4 years)
ocornut 3b409d2b68 BeginChild: half-fixed child window name longer than 255 conflicting, merely raised the limit by using our shared large buffer. Comments. ago%!(EXTRA string=4 years)
ocornut ae0d2dd614 Tables: rework submission of content size and ideal content size to outer window (now using IdealMaxPos introduced in 6af92b0). ago%!(EXTRA string=4 years)
thedmd f379dc28a3 ImBitArray: Rename ClearBits() to ClearAllBits() and add SetAllBits(). ImBitArraySetBitRange work on range [n..n2) instead of [n..n2] ago%!(EXTRA string=4 years)
ocornut 3fef132f62 Tables: Clear scroll value when reactivating scroll. Assert when passing width/weight to TableSetupColumn() without an explicit sizing policy at either table or column label. ago%!(EXTRA string=4 years)
ocornut 4d419d1211 Tables: fixed ColumnsAutoFitWidth for resizable fixed columns reporting ideal width. ago%!(EXTRA string=4 years)
ocornut 3e712631da Tables: more moving of code in EndTable(), should have no side-effect. ago%!(EXTRA string=4 years)
ocornut 626e3e2b3b Tables: fix reported inner-width for scrolling tables off by a small padding amount + moved code. ago%!(EXTRA string=4 years)
ocornut 3edfc042ff Tables: Internals: Renaming, tweaks preparing ahead for trickier changes (should be all no-op). ago%!(EXTRA string=4 years)
ocornut 9e281c12a8 Tables: Fixed very small tables edge cases: inverted clip rect with freezing + scroll, missing borders. ago%!(EXTRA string=4 years)
ocornut b0db741770 Demo tweaks. Moved Tabs to Widgets section. Added to Tables demo. Increased version following 00b35c08. ago%!(EXTRA string=4 years)
ocornut 00b35c081e Tables: (breaking) removed ImGuiTableColumnFlags_WidthAuto which now can be expressed as _Fixed + _NoResize. WidthRequest gets updated when RequestOutputMaskByIndex is set rather than Visible. ago%!(EXTRA string=4 years)
ocornut 8cea3e3ed3 Tables: fixed border straying out of rect when using ImGuiTableFlags_NoBordersInBody with small height. ago%!(EXTRA string=4 years)
ocornut 002ba1a69f Tables: comments, tweak. CollapsingHeader: comments. (#3715) ago%!(EXTRA string=4 years)
ocornut 31a2f0c164 Tables: fixed outer_width misreported to layout for use with SameLine when ScrollY is set but not ScrollX (#3704, #3414) ago%!(EXTRA string=4 years)
ocornut e18abe3619 Tables: (Breaking) Added ImGuiTableFlags_SizingFixedSame, ImGuiTableFlags_SizingStretchProp. Removed ImGuiTableFlags_SameWidths. ago%!(EXTRA string=4 years)
ocornut 0e3ba37e6d Tables: Tidying up. Shuffle some columns fields to facilitate debugging + comments + demo tweaks + metrics highlight. ago%!(EXTRA string=4 years)
ocornut 414f82254b Tables: (Breaking) rename ImGuiTableFlags_SizingPolicyFixed > ImGuiTableFlags_SizingFixedFit, ImGuiTableFlags_SizingPolicyStretch > ImGuiTableFlags_SizingStretchSame in prevision for new policies. ago%!(EXTRA string=4 years)
ocornut 8b5f3798e0 Tables: Moved demo chunks. Made right-most non-resizable same-width column hidden to alleviate the issue where they are off by 1 pixel. ago%!(EXTRA string=4 years)
ocornut 0a5f399805 Tables: Fix hiding column right after the frozen line. Fix hovering/resising column delimiter scrolled under frozen columns. (#3678) ago%!(EXTRA string=4 years)
ocornut 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. ago%!(EXTRA string=4 years)
ocornut 68faa16e1d Tables: report auto-fit width in EndTable(), extracted TableGetColumnWidthAuto(). fix minor flickering with IsPreserveWidthAuto (which is a debug feature still), moved some code. ago%!(EXTRA string=4 years)
ocornut 3573195112 Tables: (breaking) rename ImGuiTableFlags_ColumnsWidthStretch > ImGuiTableFlags_SizingPolicyStretch, ImGuiTableFlags_ColumnsWidthFixed > ImGuiTableFlags_SizingPolicyFixed in prevision for other policies. ago%!(EXTRA string=4 years)
ocornut 3fbb928c9f Tables: explicit/custom width in TableSetupColumn() is reapplied when table or column becomes not resizable. Comments. ago%!(EXTRA string=4 years)
ocornut 956435768f Tables: (breaking) renamed ImGuiTableColumnFlags_WidthAutoResize to _WidthAuto., default to WidthFixed policy when host window has auto-resize. ago%!(EXTRA string=4 years)
ocornut 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. ago%!(EXTRA string=4 years)
ocornut 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 ago%!(EXTRA string=4 years)
ocornut 1aa59f90d0 Minor API comments and tweaks, standardize index used in imgui.h. Tables: tweaked TableSetupColumn() assert to use IM_ASSERT_USER_ERROR(). ago%!(EXTRA string=4 years)
ocornut 2e48c2da81 Removed redirecting functions/enums names that were marked obsolete in 1.63 (August 2018) + tables tweaks. ago%!(EXTRA string=4 years)
ocornut ae63d56426 Tables: remove ImGuiTableFlags_NoHeadersWidth since it is so rarely used and can be specified on a per-column basis. ago%!(EXTRA string=4 years)
ocornut 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. ago%!(EXTRA string=4 years)
ocornut 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. ago%!(EXTRA string=4 years)
ocornut 30468829c2 Tables: Internal: Maintain InnerRect to further clarify some code. Renamed Bg1 fields to Bg2 (used by Selectable) as the other handles Bg0+Bg1. ago%!(EXTRA string=4 years)
ocornut ad83976b35 Tables: Added ImGuiTableFlags_NoHostExtendX (#3605) marked as WIP, will probably rename. ago%!(EXTRA string=4 years)
ocornut c4dbab8f5e Tables: reset all width apply to hidden stretch columns. Comments. ago%!(EXTRA string=4 years)
ocornut 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) ago%!(EXTRA string=4 years)
ocornut 892b48e2d6 Tables: Lock contents width while resizing down an horizontal scrolling table. Headers declare ideal width regardless of clipping. Misc comments. ago%!(EXTRA string=4 years)
ocornut bd899efbd0 Tables: fixed "resize to default" of multiple stretch column (added 3b3503e, broken 7a61f340). ago%!(EXTRA string=4 years)
ocornut f2df804fcc Tables: four small fixes. ago%!(EXTRA string=4 years)
ocornut 738606a294 Tables: added ImGuiTableFlags_SortTristate. Renamed ImGuiTableFlags_MultiSortable to ImGuiTableFlags_SortMulti. Removed now unused FlagsIn storage. ago%!(EXTRA string=4 years)