Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tables: Fix sorting order in demo->tables->sorting #3023

Closed
wants to merge 25 commits into from

Commits on Feb 10, 2020

  1. Configuration menu
    Copy the full SHA
    d98b226 View commit details
    Browse the repository at this point in the history
  2. Tables: Initial demo code.

    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    5df135f View commit details
    Browse the repository at this point in the history
  3. Tables: Support for multiple Tables using same id where most settings…

    … are synced.
    
    (some minor one-frame lack of sync when e.g. toggling visibility in context menu)
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    23cd2a5 View commit details
    Browse the repository at this point in the history
  4. Tables: Columns with no policy in a scrolling table will default to W…

    …idthFixed instead of WidthAlwaysAutoResize if an explicit value is passed to TableSetupColumn()
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    5d07efe View commit details
    Browse the repository at this point in the history
  5. Tables: Handle columns clipped due to host rect

    Return false in user functions, set SkipItems in window, redirect to dummy draw channel.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    2cd8658 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    aedf5f5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    27cd228 View commit details
    Browse the repository at this point in the history
  8. Tables: Return false when window is Collapsed (consistent + helpful f…

    …or doc) + Fix empty context menu.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    0d8b507 View commit details
    Browse the repository at this point in the history
  9. Tables: Disable initial output prior to NextRow call to avoid mislead…

    …ing users.
    
    Fixed some inconsistency with BeginTable/EndTable without row.
    Move some of the TableBegin() code in TableBeginUpdateColumns().
    Allow to submit multiple header lines.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    f2ee728 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    46a2ed4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e461feb View commit details
    Browse the repository at this point in the history
  12. Tables: Separating inner/outer borders flags per axis so it is possib…

    …le to remove outer vertical borders to mimic old columns.
    
    VInner or VOuter only don't have correct padding/spacing.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    bb940e8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b3321a9 View commit details
    Browse the repository at this point in the history
  14. Tables: Clarify internal calculations of row height so that TableGetC…

    …ellRect() include expected paddings. Add demo code. Comments.
    
    Remove misleading commented-out flags for now.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    26a4060 View commit details
    Browse the repository at this point in the history
  15. Tables: Fix reordering across hidden columns. Fix for frozen columns …

    …to never be larger than scrolling visible rect width.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    3fc8d8d View commit details
    Browse the repository at this point in the history
  16. Tables: Support for multi-line columns name. Renaming of some fields …

    …from BackupXXX to HostXXX. Comments.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    955bd4f View commit details
    Browse the repository at this point in the history
  17. Tables: Fix for hiding first column (fix fcceff5 + reading PrevLineTe…

    …xtBaseOffset in EndCell of inactive column).
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    aa605a5 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e4a663a View commit details
    Browse the repository at this point in the history
  19. Tables: Made only first column honor Indent by default (like Columns …

    …api) and exposed flags. Added simple Tree demo.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    3c2b9d4 View commit details
    Browse the repository at this point in the history
  20. Tables: Honor width/weight passed to TableSetupColumn() after .ini lo…

    …ad since we don't actually restore that data currently.
    
    Demo: Remove filter from Advanced Table demo since it's breaking with clipping.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    9957652 View commit details
    Browse the repository at this point in the history
  21. Tables: TableHeader() uses provided row min header rather than increm…

    …ental one to allow multi-item multi-line in header cells. Demo TableHeader() - will caveat, comments.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    2ecb9fa View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    e773d03 View commit details
    Browse the repository at this point in the history
  23. Tables: Fixed content size calculation creating feedback loops. Fixed…

    … handling of _DefaultSort with _PreferSortXXXflags (@parbo). Comments.
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    0c2b772 View commit details
    Browse the repository at this point in the history
  24. Tables: Added ImGuiTableFlags_NoKeepColumnsVisible wip flag useful fo…

    …r layout purpose. (WIP)
    ocornut committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    35d23cc View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2020

  1. Configuration menu
    Copy the full SHA
    0560b9e View commit details
    Browse the repository at this point in the history