Commit Graph

  • 8a6d209f68 Nav: Failed movement request with no current NavId fallback to an InitDefaultRequest so that we always land somewhere on first move (#323) ocornut 2016-08-07 13:34:25 +0200
  • 5ef8452509 Nav: Comments (#323) ocornut 2016-08-07 13:33:15 +0200
  • cbf24c13ca Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-08-07 12:15:21 +0200
  • 5d1a0a6f77 Removed a handful of obsolete (trivial) function redirection from 1.34 and 1.38 (march-april 2015) ocornut 2016-08-06 09:48:04 +0200
  • aa9786077c Merge branch 'thedmd-2016-08-generalized_visibility_test' ocornut 2016-08-06 09:40:38 +0200
  • b8397c2933 Tweak comments (#768) ocornut 2016-08-06 09:40:26 +0200
  • a1521534ba Merge branch '2016-08-generalized_visibility_test' of https://github.com/thedmd/imgui into thedmd-2016-08-generalized_visibility_test ocornut 2016-08-06 09:36:24 +0200
  • af33efb146 Using IM_COL32() for colors in a few spots (#767) ocornut 2016-08-06 09:35:05 +0200
  • a7f6ea592f Moved GetColorU32 out of imgui_internal.h to avoid inlining mess (#759) ocornut 2016-08-06 09:22:41 +0200
  • 1cb4a92159 Added ability to center per axis by passing -FLT_MAX to which ever axis you want to have centered, ie; ImGui::SetNextWindowPos(ImVec2(-FLT_MAX, 100); Inflex 2016-08-06 01:55:51 +1000
  • 7588dfb67e Add ability to test arbitrary rectangle for visibility without need of moving cursor. Michał Cichoń 2016-08-05 11:47:16 +0200
  • d85c1be6b6 Nav: Reordered Cancel handling code so you you can leave a child within a popup without closing the popup (#323) ocornut 2016-08-04 12:53:46 +0200
  • c263961f07 Nav: Menu: Allow PadDown to open a menu from a menu bar, PadRight from a menu (#323, #126) ocornut 2016-08-04 10:41:33 +0200
  • dcff032429 Nav: Moving all nav inputs to io.NavInputs[] float array, new enum labelled for gamepad. (#323) ocornut 2016-08-03 23:23:04 +0200
  • 4ccc87c91d Typo in commented default-value ocornut 2016-08-03 21:53:07 +0200
  • c0dcef4e16 Nav: Moving window with nav stick disables mouse hover (#323) ocornut 2016-08-03 21:02:27 +0200
  • 4e91b521ee Demo: Arrange some inputs panels. ocornut 2016-08-03 20:55:54 +0200
  • 36fa2b9523 Nav: DragBehavior removed bogus test (#323) ocornut 2016-08-01 22:23:56 +0200
  • d0801057ba Demo: Tweak handling of "animate" flag in graph demo so it doesn't keep running. ocornut 2016-08-01 20:55:54 +0200
  • 2e52bee12e Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-07-31 17:00:44 +0200
  • 907265d632 Using ImGuiID instead of ImU32 is a few places ocornut 2016-07-31 16:48:06 +0200
  • 8b190f1100 Nav: quick tap on NavMenu with no focused window doesn't focus one (holding still does) (#323) ocornut 2016-07-31 16:12:01 +0200
  • e9c881e4de Nav: fixed using NavMenu/windowing select when no window is already focused + cleanup code (#323) ocornut 2016-07-31 16:07:58 +0200
  • 1ecbf73c97 Nav: working on early bits of documentation (#323) ocornut 2016-07-31 15:41:51 +0200
  • a154625a56 Nav: Not exposing ImGuiWindowFlags_NavFlattened because it requires much more work (#323) ocornut 2016-07-31 13:40:14 +0200
  • 08a28c16ae Nav: Merge FocusedWindow and NavWindow that were basically duplicate at this point (#323) ocornut 2016-07-31 13:38:57 +0200
  • 2545d75c3b Tidying up, removed two unnecessary window flags from being exposed in imgui.h ocornut 2016-07-31 13:05:13 +0200
  • b3cba62b80 Nav: Added experiment ImGuiWindowFlags_NavFlattened flag to cross over between parent and non-scrolling child windows (#323) ocornut 2016-07-31 12:55:23 +0200
  • 769a1dd748 Nav: No scrolling while using windowing functionalities (#323) ocornut 2016-07-31 10:41:41 +0200
  • 9ab20e6c9c Merge pull request #756 from jseward/master omar 2016-07-31 09:28:21 +0200
  • 0a1d456de1 Fix compile warnings in SDL examples Jamie Seward 2016-07-30 15:26:49 -0700
  • a88d189f18 Nav: MoveRequest doesn't affect io.NavUsable so that navigation failure doesn't trigger false positive & not needed (undo part of 3cc1419df) ocornut 2016-07-30 23:52:03 +0200
  • f72e2fd1b1 Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-07-30 23:46:09 +0200
  • 954c890c67 SameLine() with explicit X position is relative to left of group/columns (ref #746, #125, #630) ocornut 2016-07-30 23:41:44 +0200
  • 68b73b61b5 Nav: Comment (#323) ocornut 2016-07-30 23:17:32 +0200
  • 79e7ece259 Nav/Examples: honoring the io.WantMoveMouse flag in most common examples (#323) ocornut 2016-07-30 23:17:11 +0200
  • d88dcc26cc Demo: console text input keeps focus in a less harsher and more navigation friendly way (#323) ocornut 2016-07-30 19:17:26 +0200
  • 3cc1419df3 Nav: making io.NavActive more suitable for end-user detecting if they should pass inputs to game (#323) ocornut 2016-07-30 19:16:41 +0200
  • cc66731c39 Nav: Calling SetItemDefaultFocus() doesn't make mouse cursor dirty if nav highlight is off (#323) ocornut 2016-07-30 19:15:12 +0200
  • 8d0186c82b Nav: programmatic call to SetKeyboardFocusHere() doesn't quality as a nav input (doesn't position mouse) (#323) ocornut 2016-07-30 19:08:20 +0200
  • e2dd48ae65 Nav: Split _NoNav window flag into _NoNavInputs and _NoNavFocus (#323) ocornut 2016-07-30 18:06:05 +0200
  • 4c4d750cae Nav: Fixed Collapse icon disappearing when Nav is disabled (since b2aaab873d) (#323) ocornut 2016-07-30 18:05:14 +0200
  • 3672105b87 Tidying up ocornut 2016-07-30 17:20:59 +0200
  • 04157da291 Nav: first committed pass for manual moving and manual scrolling (after a bunch of attempts) (#323) ocornut 2016-07-30 17:18:34 +0200
  • 4309b8c1ed Clarifying that MovedWindow* apply to mouse moving only ocornut 2016-07-30 16:25:45 +0200
  • f2d1472481 Nav: Fixed navigating outside of current scrolling bounds (bug from 0cc20fca83) (#323) ocornut 2016-07-30 15:17:12 +0200
  • efc8858328 ImRect: fixed Clip() function being the other way around (INTERNAL API BREAKING CHANGE- wasn't exposed, hoping nobody uses that) + actually fixes the function behavior. ocornut 2016-07-30 14:38:33 +0200
  • d6ce800a20 Nav: ActiveIdAllowNavMove -> ActiveIdAllowNavDirFlags for more flexibility (nav up/down typically allowed on a single-line text input) (#323) ocornut 2016-07-30 14:31:34 +0200
  • d9d6b0e629 Nav: Renamed private ImGuiNavDir_ enum to use left/right/up/down to be consistent with key enums (#323) ocornut 2016-07-30 13:45:46 +0200
  • cbe03e3108 Nav: CalcListClipping/ImGuiListClipper: fix to ensure we can navigate clipped lists (#323) ocornut 2016-07-30 11:22:18 +0200
  • b3ddae07d1 Nav: not activating widgets with NavActivate when NavMenu is held (#323) ocornut 2016-07-30 11:11:17 +0200
  • b2aaab873d Nav: collapse button is interactve, allow collapsing, tidying up, resize speed takes account of framebuffer scale (#323) ocornut 2016-07-30 10:56:52 +0200
  • 4735802096 Shallow tidying up ctrl+wheel scaling code in NewFrame() ocornut 2016-07-30 10:26:57 +0200
  • 20a0fde012 Tidying up default clipboard handler for non Windows-OS ocornut 2016-07-30 10:02:46 +0200
  • cabba0f158 Update README.md omar 2016-07-29 18:52:38 +0200
  • f34d7ea199 Fixed bad merge ocornut 2016-07-29 11:23:04 +0200
  • 5f6f4d0ffc Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-07-29 11:17:13 +0200
  • 4a4d3eab70 Merge branch 'michaelbartnett-add-osx-homeend-keys' ocornut 2016-07-29 11:06:27 +0200
  • 7086a17854 InputTextEx: got rid of unnecessary locals. ocornut 2016-07-29 11:06:16 +0200
  • 776ea6b946 InputTextEx(): more shallow tidying up, still being cautious with this function ocornut 2016-07-29 11:01:06 +0200
  • 666d83b5c7 InputText/IO: Got rid of individual OSX options in ImGuiIO, added io.OSXBehaviors (#473, #650) ocornut 2016-07-29 10:56:47 +0200
  • 0ff22dbf0b InputTextEx(): minor tidying up ocornut 2016-07-29 10:51:35 +0200
  • e5b6ddde26 InputText(): minor tidying up/simplification following changes for osx style improvements (#650) ocornut 2016-07-29 10:42:08 +0200
  • 802e91f69e Merge branch 'add-osx-homeend-keys' of https://github.com/michaelbartnett/imgui into michaelbartnett-add-osx-homeend-keys ocornut 2016-07-29 10:34:01 +0200
  • d8dacd729b Examples: SDL+OpenGL: explicitly setting GL_UNPACK_ROW_LENGTH to reduce issues because SDL changes it (#752) ocornut 2016-07-29 10:10:41 +0200
  • d96cc05031 Merge d0222a59ff into bccd3d8a32 authenticate 2016-07-26 02:51:29 +0000
  • d0222a59ff Resetting the OpenGL state for the SDL2 implementation from SDL_CreateTexture* calls. James Lammlein 2016-07-25 22:39:32 -0400
  • aeabda5a5f Navigation: Tap NavMenu to access menu and close buttons, hold to focus/resize (#323) ocornut 2016-07-24 14:56:14 +0200
  • c3aa36d9ab Navigation: Renamed ImGuiKey_NavWindowing to ImGuiKey_NavMenu (#323) ocornut 2016-07-24 14:49:16 +0200
  • 175f42420c Navigation: Can nav-out but not nav-in a window with ImGuiWindowFlags_NoNav flag (#323) ocornut 2016-07-24 14:41:27 +0200
  • 67feb5ac6c Navigation: comments + moving init block of code above in NavUpdate(), should have no side-effect (committed to simplify next commit) (#323) ocornut 2016-07-24 14:15:34 +0200
  • a424d6f805 Navigation: Fixed missing initialization (had no side-effect, would be set in Begin) (#323) ocornut 2016-07-24 14:08:50 +0200
  • 49ec65b1b5 Navigation: can't manually focus out of a modal window with controller (#323) ocornut 2016-07-24 14:00:29 +0200
  • 5cac4926c8 Fixed display of TitleBgActive color on window before a Modal window + modal window availability for navigation (#323) ocornut 2016-07-24 13:56:31 +0200
  • ba43310df1 Navigation: Renaming, shortened some unnecessary long fields names (#323) ocornut 2016-07-24 12:46:25 +0200
  • 4bbdaa4e3c Navigation: Moving NavInitWindow() around and making it static (#323) ocornut 2016-07-24 11:56:36 +0200
  • b2ad33ce41 Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-07-23 20:33:25 +0200
  • e9d8b48a4c Navigation: Allow to navigate out of text input with direction or NavCancel (#323) ocornut 2016-07-23 20:30:44 +0200
  • 2f94563564 Navigation: Collapsed window uses ImGuiCol_TitleBgActive when navigation is active (#323) ocornut 2016-07-23 20:09:41 +0200
  • afadc7cf59 Navigation: Scoring: Improved directional navigation. Not totally cancelling out dx. Better support for zero-spaced items. (#323) ocornut 2016-07-23 20:05:17 +0200
  • e74d96642f Navigation: mouse/popup position gets clamped within visible display (#323) ocornut 2016-07-23 19:42:19 +0200
  • 0cc20fca83 Navigation: Scoring uses rectangle as clipped by parent. Fix selectable extending past parent column among other things (#323) ocornut 2016-07-23 19:24:56 +0200
  • 37361419ec Add SameColumn() to have symmetry with SameLine() method. Michał Cichoń 2016-07-23 15:07:39 +0200
  • 2f1fb41579 Navigation: Fixed automatic fallback scrolling from glitching near scroll limits because of miscalculation of SizeContents (#323) ocornut 2016-07-23 16:31:23 +0200
  • ad48309047 Navigation: Fixed using NavWindowed when a menu is open. (#323) ocornut 2016-07-23 16:01:27 +0200
  • 2cab404a81 Fixed tooltip positioning issues when using navigation (#323) ocornut 2016-07-23 15:44:56 +0200
  • bccd3d8a32 Merge branch 'nProtect-master' ocornut 2016-07-20 11:39:53 +0200
  • 8efd05a148 Tab->Spaces, missing spaces, typos ocornut 2016-07-20 11:39:38 +0200
  • 4141144b21 Added GetGlyphRangesThai() Adisorn Aeksatean 2016-07-19 22:56:59 +0700
  • 0233c45655 Merge 81dd9e3155 into ffdd7d7f17 Adisorn Aeksatean 2016-07-20 04:32:18 +0000
  • 81dd9e3155 Add files via upload Adisorn Aeksatean 2016-07-20 11:32:16 +0700
  • c2cb2a6928 Gamepad/Keyboard navigation support, initial commit, WIP (#323) ocornut 2016-07-20 00:02:59 +0200
  • 4a11cc35b9 Updated code for repeat delay / repeat handling. GetKeyPressedAmount() now returns a count to support fast repeat rate (where DeltaTime > RepeatRate). Renamed from recently added IsKeyPressed() variant to GetKeyPressedAmount(). (no API breakage, added in branch, bbd3b75609) (#323) ocornut 2016-07-19 21:26:36 +0200
  • 4a06820f05 Add comment about thai support Adisorn Aeksatean 2016-07-19 23:00:27 +0700
  • a9936e6453 Add files via upload Adisorn Aeksatean 2016-07-19 22:59:59 +0700
  • 9e95bc77cb Add Thai language support Adisorn Aeksatean 2016-07-19 22:56:59 +0700
  • 88c1966629 Added IsAnyWindowFocused(). Renamed IsMouseHoveringAnyWindow() -> IsAnyWindowHovered(), IsPosHoveringAnyWindow() -> IsAnyWindowHoveredAtPos(), IsMouseHoveringWindow() -> IsWindowHoveredRect() for consistency. Kept inline rediection function. ocornut 2016-07-18 18:24:23 +0200
  • 23a81027e8 Comment on invalid comment regarding preserving keyboard focus of a closed window, due to commit 19d02becef. This is probably still what we want. (followup #727) ocornut 2016-07-18 17:17:51 +0200
  • eb405ab375 DragBehavior: Moving code around, in what should be a no-op, to simplify upcoming Nav diff (#323, #180) ocornut 2016-07-18 17:09:22 +0200
  • c816e6c742 Fixed SetScrollX() handling of center ratio (which actually wasn't exposed publicly). (#323, #246) ocornut 2016-07-18 16:55:20 +0200