Commit Graph

  • 5641115568
    Update README.md omar 2018-02-09 12:08:53 +0100
  • f38979b266
    Update README.md omar 2018-02-09 11:57:23 +0100
  • 3b163ac35b Internals: Clarified internal storage for RootWindow with specific semantic (the Docking branch will need to introduce finer differenciation there.) omar 2018-02-08 23:11:51 +0100
  • 88dcbeb7ff Styles: Comments and re-ordered. omar 2018-02-08 21:14:57 +0100
  • cdec58a9d7 Removed IMGUI_HAS_NAV chunks. omar 2018-02-07 13:24:10 +0100
  • 3e4a890079 Merge branch 'master' into tabs omar 2018-02-07 13:23:24 +0100
  • 8099f8c270 Comments omar 2018-02-06 23:19:53 +0100
  • 35804b4438
    Update README.md omar 2018-02-06 21:05:49 +0100
  • 1d5a5ca12e README update, updated binaries, sponsors omar 2018-02-06 21:04:12 +0100
  • 2493f609ef Examples: Vulkan: Fix (something changed in GLFW not including vulkan.h, was unwillingly relying on that) omar 2018-02-06 20:57:33 +0100
  • d17d21da1b Warning fix. (#1565) omar 2018-02-06 20:21:29 +0100
  • 7c16d52f72 Updated version to 1.60 WIP to emphasis on the addition of required calls CreateContext/DestroyContext + merged the massive Navigation branch (#1565, #787) omar 2018-02-06 20:20:34 +0100
  • f0364aa359 Merge branch 'context' omar 2018-02-06 20:16:03 +0100
  • 07ee539017 Merge branch 'navigation' omar 2018-02-06 20:13:55 +0100
  • 4e5b7612ae Nav: Documentation tweaks. (#787) omar 2018-02-06 20:05:21 +0100
  • ae30efc0fd Nav: Examples: Added commented out io.NavFlags |= ImGuiNavFlags_EnableKeyboard to all examples. (#787) omar 2018-02-06 19:58:23 +0100
  • 3171f90a1a Nav: Keyboard is now automatically mapped based on io.KeyDown[]. (#787) omar 2018-02-06 19:54:30 +0100
  • 9e3a807813 Removed comments omar 2018-02-06 19:34:09 +0100
  • 057807f4a7 Added ImGuiKey_Space, mapped in every examples. Will be required for navigation. (#787) omar 2018-02-06 19:29:31 +0100
  • 7e32fc7109 Nav: Toward automatically mapping keyboard input. Renamed ImGuiNavInput_PadXXX to ImGuiNavInput_XXX. Renamed ImGuiNavInput_KeyXXX to ImGuiNavInput_KeyXXX_ (internal). (#787) omar 2018-02-06 19:23:12 +0100
  • ed4bbc4fd4 Nav: Comments, guides. omar 2018-02-06 18:26:42 +0100
  • cea8017e0b Merge branch 'master' into context omar 2018-02-06 18:04:44 +0100
  • 3b7bd4563a ImVec2: added [] operator. This is becoming desirable for some types of code, better added sooner than later. omar 2018-02-06 16:32:51 +0100
  • ad09396672 ImVec2: added [] operator. This is becoming desirable for some types of code, better added sooner than later. omar 2018-02-06 16:32:51 +0100
  • db071184a0 Merge branch 'master' into navigation omar 2018-02-06 13:51:09 +0100
  • b50dce54ea Drag and Drop: TreeNode as drop target displays rectangle over full frame. Added optional internal storage for item display rect. Will expose later. (#1597, #143) omar 2018-02-06 13:46:14 +0100
  • c6ba7c8231 Internals: TreeNode: Renaming local to be more consistent with other widgets. omar 2018-02-06 13:41:46 +0100
  • e6926d9f7c Internals: Refactored bool LastItemRectHovered into flags. (#1597) omar 2018-02-06 13:34:41 +0100
  • ce2b8d3255 Nav: Comments, removed extraneous parameter. omar 2018-02-06 13:16:44 +0100
  • 0c0d811859 Nav: SetItemDefaultFocus() doesn't make the navigation cursorr highlight visible. Renamed NavInitResultExplicit to NavInitRequestFromMove. (#787) omar 2018-02-05 23:53:40 +0100
  • 4b49f03a40 Examples: SDL+GL3: Added Navigation keyboard mapping. (#787) omar 2018-02-05 23:16:40 +0100
  • 7e1496e994 Merge branch 'master' into navigation omar 2018-02-05 23:14:42 +0100
  • fcf1c9d151 Examples: SDL: Using SDL_GetPerformanceCounter() / SDL_GetPerformanceFrequency() to handle framerate over 1000 fps properly. Noticed bad inputs artefacts in Nav branch at 2000 fps without this. (#996) omar 2018-02-05 23:09:14 +0100
  • 60fb7d31fd Examples: SDL2: Enabling vsync. Using scancode consistently, fixed keyboard weirdness. omar 2018-02-05 22:35:29 +0100
  • 73d493c780 Examples: Organized header files to make available features more visible. omar 2018-02-05 20:34:11 +0100
  • fb9fecea5e Nav: Sliders and Drags are toggle activated instead of requiring user to cross Cross/Space. (#787) omar 2018-02-05 20:16:38 +0100
  • 4932303e62 Nav: DragBehavior: Tweaks (to take the noise out of the next commit). omar 2018-02-05 20:15:31 +0100
  • e5e3cc617e Nav: Maintaining a NavActivatePressedId field that widget can conveniently use along with NavActivateDownId. omar 2018-02-05 19:07:26 +0100
  • fb7cf4a475 Nav: Removed old unnecessary ifdefs. omar 2018-02-05 18:25:03 +0100
  • f35734c925 Nav: Debugging code. (#787) omar 2018-02-05 17:02:30 +0100
  • 92ee6b1185 Nav: Sets io.WantCaptureKeyboard when navigation is active. This is a little agressive but probably the best default and also a good way to get feedback. Added ImGuiNavFlags_NoCaptureKeyboard to disable this behavior. Comments. (#787) omar 2018-02-05 16:02:21 +0100
  • 348c46d21e Merge branch 'master' into navigation omar 2018-02-05 15:50:28 +0100
  • 5c83b55d04 Nav: Added ImGuiWindowFlags_NoNav shortcut, comments. (#787) omar 2018-02-05 15:49:35 +0100
  • 11d0fc8220 Tooltip: BeginTooltip() sets NoInputs flag. omar 2018-02-05 15:10:07 +0100
  • 1dedbf8091 Style: Fixed missing style.MouseCursorScale initialization (#939), messed up original commit badly. omar 2018-02-05 15:07:25 +0100
  • 533fe8cb55 Merge branch 'master' into navigation omar 2018-02-05 14:55:57 +0100
  • 8ad88f725c Nav: Minor tidying up. (#787) omar 2018-02-05 14:53:07 +0100
  • 3f297e74e4 Merging the minor/shallow changes from Navigation branch. omar 2018-02-05 14:52:28 +0100
  • bed55a41e1 Internals: ImRect: Added IsInverted() helper. omar 2018-02-05 14:51:28 +0100
  • 2081fc15b5 Added assert in BeginChild(ImGuiId id). omar 2018-02-05 12:46:13 +0100
  • 223be68d77 Nav: Debugging stuff. omar 2018-02-05 00:05:13 +0100
  • cf6b39600b imgui_freetype: comments about correct blending and sRGB (#618, #578) omar 2018-02-05 11:21:06 +0100
  • a33b86dac7 Removed root .gitignore. (#1594) omar 2018-02-05 09:14:33 +0100
  • b76cf9cc87
    Merge pull request #1594 from gerryhernandez/fix-apple-example omar 2018-02-05 09:12:51 +0100
  • 4786321754 Fix iOS code; fixes entire XCode build for Apple example Gerry Hernandez 2018-02-04 21:47:08 -0500
  • 66ff820eaa Nav: Ensure g.NavScoringRectScreen is always finite and not inverted. (#787) omar 2018-02-04 18:30:46 +0100
  • e2654a097b ImRect: added IsInverted() helper. omar 2018-02-04 18:30:37 +0100
  • 0bd15b52a6 Merge branch 'master' into navigation omar 2018-02-04 13:16:13 +0100
  • 7b005bd7de imgui_freetype: Documentation, tweaks. (#618) omar 2018-02-04 12:44:31 +0100
  • e9a617b22a Moved imgui_freetype from imgui_club (#618) omar 2018-02-04 12:35:17 +0100
  • 147ec8d1e2 Style Added style.MouseCursorScale, may remove (#939). omar 2018-02-04 12:17:35 +0100
  • 648de2fc00 Nav: Press Left on a child with ImGuiTreeNodeFlags_NavCloseFromChild moves you to parent node instead of closing it immediately. More standard. (#787, #1079) omar 2018-02-02 18:38:18 +0100
  • ce9d7baaba Nav: TreeNode: Added ImGuiTreeNodeFlags_NavCloseFromChild flag, allow closing a TreeNode() from any of child. The explicit flag is not great, perhaps allowing some form of inheritance would help. (#787, #1079) omar 2018-02-02 17:47:05 +0100
  • 9120938200 Nav: Revert 5c9ea4d53a with comments. (#787) omar 2018-02-01 23:53:00 +0100
  • 6a83a9152f Natvis: Showing some flags for ImGuiWindow. omar 2018-02-01 23:39:02 +0100
  • 96ddfbc973 Nav: Modal windows can't be closed with Nav PadCancel. (#787) omar 2018-02-01 23:36:22 +0100
  • efbd8cebe7 Nav: Comments (#787) omar 2018-02-01 22:43:37 +0100
  • c4fc879508 CloseButton: Fixed cross positioning. omar 2018-02-01 22:32:52 +0100
  • 942c140710 CloseButton: Fixed cross positioning. omar 2018-02-01 22:32:52 +0100
  • 68d3e139a7 Nav: When focusing a parent window while closing a popup, hide its highlight for one frame to avoid potential double highlight and flicker with the common pattern of menu items leading to the opening other windows. (#787) omar 2018-02-01 22:28:58 +0100
  • 950f260a32 Nav: Fixed Selectable/MenuItem Nav Highlight from using rounding when outer highlight stays square. (#787) omar 2018-02-01 22:25:25 +0100
  • c7b7b181b5 Nav: CloseButton reacts when clipped. (#787) omar 2018-02-01 22:13:25 +0100
  • 5c9ea4d53a Nav: Fixed press Left on sub-menu when parent wasn't a menu - we were just checking at the wrong level. (#787) omar 2018-02-01 21:33:23 +0100
  • eb737e0a42 Nav: Child window is restored on focus follow up. Fix bdd868704f. (#787, ~#727) One visible issue was pressing Left to leave a child menu. omar 2018-02-01 21:26:52 +0100
  • 95f9c74b9a Metrics: Displaying some of the important internal window flags. omar 2018-02-01 19:21:44 +0100
  • 79ff3c2d49 Merge branch 'master' into navigation omar 2018-02-01 18:33:12 +0100
  • 07163804df Internals: Renamed CloseInactivePopups() to a better ClosePopupsOverWindow(). Exposed in imgui_internal.h omar 2018-02-01 18:31:41 +0100
  • 5812d0b751 Nav: Using CTRL+TAB / PadFocusNext/Prev to Focus a window closes the previous window popups. (#787) omar 2018-02-01 18:29:30 +0100
  • fd6d8863f7 Nav: SetFocusID() clears NavInitRequest for consistency (repro would a same frame interaction / race condition). (#787) omar 2018-02-01 18:19:36 +0100
  • ef2c3bcdee Nav: Fixed InitRequest leaking when changing window (repro was to navigate inside File->Options->[Child] then press Left and notice how we would land on parent window on the fist item after the current one). (#787) omar 2018-02-01 18:02:55 +0100
  • 8cc2dbc3bd Internals: Nav: Extracted code into IsWindowNavFocusable(). (#787) omar 2018-02-01 14:56:56 +0100
  • bdd868704f Nav: Child window is restored on focus when returning to layer 0 or refocusing. This is a little experimental and potentially error-prone right now. (#787, vaguely relate to ~#727) Ideally we should maintain a non-sorted last-focused list that include childs windows. omar 2018-02-01 00:50:42 +0100
  • 7b22a91578 Nav / Slider: Fixed reaching edge of integer slider with navigation input, bug introduced on January 25 in Nav branch 10a4a77b27. (#787) omar 2018-02-01 00:08:13 +0100
  • eaa6f490a2 Merge branch 'master' into navigation omar 2018-01-31 23:38:05 +0100
  • 9bc5c089b6 Internal: Avoid needlessly bringing parent of front-most child back to front. This is mostly to reduce flicker/confusion in Metrics when traversing windows. We could aim at separating the child windows from non-child windows at some point. omar 2018-01-31 22:14:33 +0100
  • dbdbf01b9f Demo: Tweaked the Child demos, added a menu bar to the second child to test some navigation functions. omar 2018-01-31 19:13:20 +0100
  • 76d8af4036 Nav: when browsing a window that has no activable items (scroll only) we keep a highlight on the child. (#787) omar 2018-01-31 21:25:52 +0100
  • aa2dda7610 Nav: Tweak code to be easier to follow + updated todo list after clarifying an issue. omar 2018-01-31 21:06:47 +0100
  • 38d45ee73f Demo: Tweaked the Child demos, added a menu bar to the second child to test some navigation functions. omar 2018-01-31 19:13:20 +0100
  • e6c0b212e8 Nav: Fixed initial movement (which sends an InitRequest) from clearing NavDisableHighlight and fully enabling Nav feedbacks. (#787) NB: Setting g.NavInitResultExplicit = false on InitRequest match was added in initial commit c2cb2a6928 omar 2018-01-31 18:53:15 +0100
  • 9c8fb804ed Log: Comments and extraneous assets to clarify intent. (#1584) omar 2018-01-31 17:41:26 +0100
  • 684d80df17 Merge branch 'master' into tabs omar 2018-01-31 16:03:31 +0100
  • 27980d9688 Merge branch 'master' into context omar 2018-01-31 16:02:26 +0100
  • 47e81a6194 Merge branch 'master' into navigation omar 2018-01-31 16:00:25 +0100
  • cd3dd886de Moved extra_fonts/ to misc/fonts/. Moved .natvis file to misc/natvis/ (#1569) omar 2018-01-31 16:00:07 +0100
  • 23c11e9764 Merge branch 'master' into navigation omar 2018-01-31 15:43:19 +0100
  • dd41a1650a Comments omar 2018-01-31 15:41:48 +0100
  • 6c38aa2dc7 Examples: Apple: Tweak code and sync with other examples better (untested). omar 2018-01-31 00:16:44 +0100
  • cca9c3e3da Examples: Using Dark theme by default. (#707). Tweaked demo code. omar 2018-01-31 00:15:47 +0100
  • 596b6d6de2 Style: Enable window border by default. (#707) omar 2018-01-31 00:03:11 +0100