Commit Graph

  • e59803ec5c Tables: Browse settings list in Metrics (outside of Table entry). omar 2020-05-07 23:52:17 +0200
  • caa25a2da7 Tables: Internals: Added FindTableByID(), removing trailing spaces. omar 2020-04-15 11:05:50 +0200
  • 638acb2a69 Tables: Internals: Added TableGetColumnResizeID(), renamed InstanceNo > InstanceCurrent. omar 2020-04-06 17:20:17 +0200
  • 7ff8921a3c Tables: Added ImGuiTableColumnFlags_NoReorder. omar 2020-03-20 18:53:44 +0100
  • 33e7ed3e2d Tables: Locking IndentX per-row so multiple columns with IndentEnabled don't get indent shearing. omar 2020-03-19 14:55:42 +0100
  • a4d09f19d0 Tables: Renaming Table's DisplayOrder[] -> DisplayOrderToIndex[], Columns's IndexDisplayOrder -> DisplayOrder omar 2020-03-18 18:20:17 +0100
  • 40928122b2 Tables: Using same allocation for our Columns and DisplayOrder array. Mostly designed to facilitate adding new arrays. omar 2020-03-18 18:17:22 +0100
  • d6632109f1 Internals: added ImSpanAllocator<> helper. omar 2020-03-18 17:49:13 +0100
  • de10fb270a Internals: added ImSpan helper structure. omar 2020-03-18 12:20:53 +0100
  • cc7b2e7dc2 Tables: Fix scrolling with more than 32 columns (3058). Fix limit of 63 columms instead of 64. Added BitArray. ocornut 2020-03-13 18:58:55 +0100
  • 996e86e2c2 Tables: Tidying up TableDrawMergeChannels() with a struct. (3058) ocornut 2020-03-13 16:16:20 +0100
  • 4cf653af41 Tables: Comments, renamed merge_set_xxx to merge_group_xxx. Removed unused array and incorrect assert, replaced with earlier correct assert. (3058) ocornut 2020-03-13 11:49:52 +0100
  • ddc3c8e5d2 Tables: Fixed demo layout when clipped. Fixed warnings. ocornut 2020-03-09 11:09:54 +0100
  • e18788e92f Tables: Added TableSetColumnWidth() api variant aimed at becoming public facing. ocornut 2020-03-05 14:31:13 +0100
  • 00a85356ab Tables: Fix sort direction (issue 3023). Remove SortOrder from ImGuiTableSortSpecsColumn. Made sort arrow smaller. Added debug stuff in metrics. Omar 2020-02-17 15:09:50 +0100
  • b2f0fab29b Tables: Added ImGuiTableFlags_NoKeepColumnsVisible wip flag useful for layout purpose. (WIP) omar 2020-02-10 15:48:08 +0100
  • 4dcc869b36 Tables: Fixed content size calculation creating feedback loops. Fixed handling of _DefaultSort with _PreferSortXXXflags (@parbo). Comments. omar 2020-02-06 18:34:37 +0100
  • 33a89f7f82 Tables: Fixed headers closing popups. omar 2020-01-22 17:04:54 +0100
  • 5b6f412003 Tables: TableHeader() uses provided row min header rather than incremental one to allow multi-item multi-line in header cells. Demo TableHeader() - will caveat, comments. omar 2020-01-20 12:41:23 +0100
  • 9ddc568420 Tables: Honor width/weight passed to TableSetupColumn() after .ini load since we don't actually restore that data currently. omar 2020-01-09 22:02:16 +0100
  • f4f5553670 Tables: Made only first column honor Indent by default (like Columns api) and exposed flags. Added simple Tree demo. omar 2020-01-09 21:10:45 +0100
  • 2122c9985f Tables: Storing per-column SkipItems as a shortcut. Comments, Spacings. omar 2020-01-09 17:31:26 +0100
  • 7d2b3fcb9a Tables: Fix for hiding first column (fix fcceff5c + reading PrevLineTextBaseOffset in EndCell of inactive column). omar 2020-01-06 12:21:15 +0100
  • 44e0f4f825 Tables: Support for multi-line columns name. Renaming of some fields from BackupXXX to HostXXX. Comments. omar 2020-01-06 11:53:04 +0100
  • 1705acab63 Tables: Fix reordering across hidden columns. Fix for frozen columns to never be larger than scrolling visible rect width. omar 2020-01-03 18:27:11 +0100
  • a32a27c084 Tables: Clarify internal calculations of row height so that TableGetCellRect() include expected paddings. Add demo code. Comments. omar 2020-01-03 00:31:06 +0100
  • 76465184f5 Tables: Moved border colors to the Style (maybe temporarily?) instead of hardcoding them. omar 2019-12-30 16:31:18 +0100
  • 3f3ff6ccc9 Tables: Separating inner/outer borders flags per axis so it is possible to remove outer vertical borders to mimic old columns. omar 2019-12-30 15:14:15 +0100
  • a672d8148f Tables: Fix scroll when releasing resize for multi-instances. Comments. Renaming. omar 2019-12-30 13:01:36 +0100
  • 7a0b24bf6d Tables: Demo: Moved Columns section into Tables & Columns section under a Legacy section. omar 2019-12-29 19:48:10 +0100
  • 08d61ac936 Tables: Disable initial output prior to NextRow call to avoid misleading users. omar 2019-12-29 17:35:12 +0100
  • bacf4c7ec3 Tables: Return false when window is Collapsed (consistent + helpful for doc) + Fix empty context menu. omar 2019-12-29 17:12:09 +0100
  • 587fbeab74 Tables: Comments, better assert, moved some internal flags out of the way. omar 2019-12-29 17:10:42 +0100
  • 0922e44949 Tables: Double-clicking on fixed column to resize. Extracted code BeginTableEx(). omar 2019-12-28 19:34:19 +0100
  • 226e9d1c0c Tables: Handle columns clipped due to host rect omar 2019-12-28 19:17:59 +0100
  • 74c04fec76 Tables: Columns with no policy in a scrolling table will default to WidthFixed instead of WidthAlwaysAutoResize if an explicit value is passed to TableSetupColumn() omar 2019-12-28 17:45:15 +0100
  • 6d75e4c8c0 Tables: Support for multiple Tables using same id where most settings are synced. omar 2019-12-26 11:15:56 +0100
  • c18d9587e9 Tables: Initial demo code. omar 2019-12-19 14:52:18 +0100
  • c8cf35511c Tables: Initial commit. [Squashed 123+5 commits from tables_wip/] omar 2019-12-19 14:50:21 +0100
  • 8596f2b0fc Merge branch 'master' into docking omar 2020-05-08 17:07:40 +0200
  • 4f33dd15c4 Internals: stand-in for large branches to facilitate merging. omar 2020-05-08 16:55:37 +0200
  • 5f752a5ba9 Internals: shuffling some sections (2) omar 2020-05-08 16:30:14 +0200
  • f466cfc2ca Internals: shuffling some sections, added index. omar 2020-05-08 16:21:00 +0200
  • 3aa1684129 Comments omar 2020-05-08 15:59:39 +0200
  • 538d28e29e Merge branch 'master' into docking omar 2020-05-08 00:00:03 +0200
  • c0d5b3f55a Fix to facilitate branch merges omar 2020-05-07 23:58:35 +0200
  • 53ebd6a02f Metrics: Added Table settings block. omar 2020-05-07 23:51:47 +0200
  • 574ff0a280 Docking, Settings: Allow reload of settings data at runtime. (#2573) omar 2020-05-07 23:28:29 +0200
  • 51e568f9dc Docking: Fix to allow basic reload of non-docking .ini data (following d33021d8) + moved settings blocks omar 2020-05-07 22:46:06 +0200
  • 1fd259d0e4 Fixed OBJECT_DELETED_WHILE_STILL_IN_USE on viewport resizing. Tested with detaching/attaching a viewport and resizing it. DX12 debug layer is clean. Ivan Zinkevich 2020-05-07 23:50:51 +0300
  • 582f4db59b Merge branch 'master' into docking omar 2020-05-07 22:13:47 +0200
  • d33021d828 Settings: Made it possible to load window .ini data mid-frame. Added clear and post-read handlers. (#2573) omar 2020-05-07 21:28:17 +0200
  • b6a04d7750 Settings: Added Clear Settings in Metrics. (#2188) + Preserve last loaded copy in internal buffer used for save (so it can be browsed easily). omar 2020-05-07 21:10:10 +0200
  • 9ee442d3f0 Metrics: Added a "Settings" section with some details about persistent ini settings. InputText: Assert early on null buffer. omar 2020-05-07 18:00:11 +0200
  • 510f301c9f Internals: Removed seemingly unnecessary size_on_first_use arg to CreateNewWindow(), extracted code into ApplyWindowSettings. omar 2020-05-07 18:58:29 +0200
  • eb915d9cfd
    Merge 1e68c78a5b into 5116eee108 Rokas Kupstys 2020-05-07 14:49:02 +0000
  • 1e68c78a5b WIP Rokas Kupstys 2020-01-27 10:11:13 +0200
  • 6510c4de19 A helper to visualize virtual/pixel grids of monitors. Rokas Kupstys 2020-01-21 15:12:50 +0200
  • 173772ce22 Initialize FontScaleRatioInv. Rokas Kupstys 2020-01-20 15:26:15 +0200
  • 0a5b28e8f9 Mostly fix popup positioning near border between monitors with different DPIs. Menu positioning still needs love. Rokas Kupstys 2020-01-20 13:37:33 +0200
  • dc51962567 Add more operators to ImVec2 and ImRect4. Rokas Kupstys 2020-01-20 13:36:12 +0200
  • fc702d72ea Fix mouse handling when window spans multiple monitors with different DPI and mouse is on the monitor that does not have current window DPI scale. Rokas Kupstys 2020-01-06 12:39:36 +0200
  • 62519f11ba Fix password filtering. Rokas Kupstys 2020-01-06 12:09:03 +0200
  • f298cc484e Trade two divisions to one multiplication when rendering characters. Rokas Kupstys 2020-01-06 11:49:49 +0200
  • 6d80ef07f7 Revert ImFloor/ImRound to doing traditional flooring/rounding and introduce ImFloorToPixel/ImRoundToPixel which do dpi-aware rounding to physical pixel. Rokas Kupstys 2020-01-06 11:27:58 +0200
  • 0621ef5485 Add extra rounding for font pixel size after it is scaled by DPI. Rokas Kupstys 2020-01-06 11:02:59 +0200
  • 4f0be0faca Fix imprecise text width reporting for small text snippets (single character). Rokas Kupstys 2020-01-06 11:02:30 +0200
  • 2db8790318 Fix imprecise mouse drag information. Rokas Kupstys 2019-12-30 17:45:56 +0200
  • 39aa4797e1 Fix broken cursor positioning in InputText() widget. Rokas Kupstys 2019-12-24 10:40:19 +0200
  • 01eaa056fb Keep track of expected viewport platform size and position and use those values instead of constantly converting size and pos from imgui space. Rokas Kupstys 2019-12-19 13:43:21 +0200
  • 4932295460 Take into account fixed SDL DPI reporting on MacOS. Better naming for osx helper function. Rokas Kupstys 2019-12-19 13:41:46 +0200
  • e60c707743 Rework per-dpi font duplication once again to handle situations where new monitor with new DPI is attached. Rokas Kupstys 2019-12-19 11:17:59 +0200
  • 9f72b0b57c * Rework font DPI to not upscale font PixelSize. * Rework per-dpi font duplication to work with multiple atlas rebuilds. * Fix windows being created of wrong size when viewport dpi scaling is disabled. Rokas Kupstys 2019-12-16 20:07:52 +0200
  • 84395bb4df Add missing window viewport scaling for directx backends. Rokas Kupstys 2019-12-16 19:05:42 +0200
  • 529b2939d7 Fix check for incorrectly set viewport dpi scaling flag. Rokas Kupstys 2019-12-11 16:51:11 +0200
  • 1928fc2102 Add FramebufferScale handling to dx9-dx12 backends. Rokas Kupstys 2019-12-09 11:28:21 +0200
  • 1c167b9172 Fix FloatReverseComparer(). Thanks @thedmd o7 Rokas Kupstys 2019-12-02 16:03:43 +0200
  • 48476df686 Use DisplayFramebufferScale when viewport dpi scaling is not enabled. Rokas Kupstys 2019-12-02 12:10:01 +0200
  • 1be3a55749 Implement support for ImGuiConfigFlags_DpiEnableScaleViewports flag. Rokas Kupstys 2019-12-02 12:05:10 +0200
  • 29d1a24432 Improve safety of obtaining scaling factor on MacOS by using a point to detect NSScreen we need. Rokas Kupstys 2019-11-12 13:55:47 +0200
  • 8749829f38 Fix sorting when creating per-dpi fonts and simplify reverse comparer function. Rokas Kupstys 2019-11-12 11:48:21 +0200
  • 36694e665f Fix vulkan samples after we started relying on FramebufferScale to do DPI scaling. Rokas Kupstys 2019-11-12 11:46:46 +0200
  • ef2969cd5f Fix DPI scaling on MacOS. Rokas Kupstys 2019-11-11 16:58:56 +0200
  • c21f0f4ff6 Clean up ImRound() and ImFloor() functions. IM_FLOOR()/IM_ROUND() macros do simple flooring and rounding now and ImRound()/ImFloor() do per-pixel rounding and flooring. Rokas Kupstys 2019-11-06 13:47:47 +0200
  • 662cd93e03 Add CursorStartPos and CursorMaxPos to window metrics. Rokas Kupstys 2019-11-05 18:12:30 +0200
  • 33f0f4795e Enable DPI-awareness for SDL and DX12 examples and include imgui_impl_win32.* in VS solutions of those examples. Rokas Kupstys 2019-10-08 11:36:50 +0300
  • ae2232353b Fix broken display scaling breaking mouse input. Rokas Kupstys 2019-10-08 11:33:34 +0300
  • 0699ab198b Implement HDPI upscaling in opengl2, opengl3 and vulkan backends. Rokas Kupstys 2019-10-02 17:20:41 +0300
  • 0761d76338 Per-DPI font upscaling. Rokas Kupstys 2019-10-02 16:25:18 +0300
  • f1615d11af Add ability to scale anti-alias fringe. This enable users to keep geometry sharp while scaling vertex buffer content. thedmd 2019-10-02 16:15:01 +0300
  • 0679e05677 Internals: Added code in TempInputScalar() to clamp values, NOT used by stock Drag/Float (#3209, #1829, #946, #413) omar 2020-05-07 12:14:49 +0200
  • 673d6df85f Demo: Clamping font scale. Added helpers in demo. Comments. Update sponsors. (#3206) omar 2020-05-07 11:38:45 +0200
  • f3dfd0ca19
    add --preload-file for font support Mohammed Alyousef 2020-05-06 17:35:03 +0300
  • bcadefb5a7
    Lower the GLS version required Albert Vaca 2020-05-06 12:41:24 +0200
  • 30e54df59f Don't do a full restore. CSGO has some sort of issue where this causes the textures to go nuts. Josh Li 2020-05-06 04:01:46 -0400
  • 3a1aeb3d4c add build instructions MoAlyousef 2020-05-06 02:59:02 +0300
  • 8cbb537ea8
    Create CMakeLists.txt Mohammed Alyousef 2020-05-06 02:50:43 +0300
  • f152fac4f1 Demo: Wrapped many (not all) code and comments lines to 120 characters to fit below GitHub viewer limit. (#3193) omar 2020-05-05 19:39:24 +0200
  • f0742d64fd
    Fix imgui_impl_opengl3 on MacOS Albert Vaca 2020-05-05 20:59:46 +0200
  • 419f905f91 Demo: Extracted some code out of ShowStyleEditor() into NodeFont(). omar 2020-05-05 19:53:54 +0200