Commit Graph

  • ac7826c8a5 ImRect: Added Translate() helper, removed redundant and misleading Reduce() ocornut 2016-08-21 14:37:48 +0200
  • 87eb749cbc Added IsItemHoveredOrFocused() (provisional name), better handling of popup/tooltip positioning when using mouse+nav (#323) ocornut 2016-08-21 13:25:40 +0200
  • ea2425ad9a Nav: Fixed entering child with PadActivate not setting ActiveIdSource to Nav (#323) ocornut 2016-08-21 12:44:59 +0200
  • 43ee5d73e9 Nav: Hovering MenuItem/Selectable with mouse makes NavId, matching what seems to be Windows beahvior at least for menus (#323) ocornut 2016-08-21 11:45:50 +0200
  • 30c04d0dbe Nav: Mouse pos passed to backend always rounded, so that lossy application of non-integer mouse pos doesn't lead to undesirable movement (#3 ocornut 2016-08-21 00:10:48 +0200
  • bf42657850 Nav: Clearing mouse hover flag using MouseClicked[] test instead of MouseDown[] so that invalid mouse button won't keep breaking nav (#323) ocornut 2016-08-20 23:59:54 +0200
  • 695ca7bb45 Nav: Tidying up. Comments. (#323) ocornut 2016-08-20 23:27:25 +0200
  • 4f7c63a7af Nav: Fixed a bug where mouse positioning requests would be sent while opening submenus with mouse (#323) ocornut 2016-08-20 23:25:53 +0200
  • e4c099d67c Nav: Comments + fixed handling of PadLeft in menus (fix e55882f) (#323) ocornut 2016-08-20 22:11:00 +0200
  • e3fec8c0aa Renamed function (#323) ocornut 2016-08-20 19:19:58 +0200
  • 82768e05f3 Ignore list for Visual Studio ocornut 2016-08-20 13:30:42 +0200
  • 787a802f2e Merge branch 'martty-master' ocornut 2016-08-20 13:30:10 +0200
  • 4bc6a951fe tabs to space, remove braces Marcell Kiss 2016-08-20 13:27:03 +0200
  • 3234f81cb1 maxImageCount may be 0; add missing sType; change to 1 push constant range Marcell Kiss 2016-08-20 13:08:34 +0200
  • b73b0215e1 Add stable state to layout. Horizontal/Vertical alignment will not be applied until layout tree became stable for first time. Without that weird visual artifact may be spoted when layout aligned to center grow to full size and actually overshot parent layout for one frame. There is no legitimate way in ImGui to move widgets after they are drawn, what is actually required to fix this issue for good. With 'IsStable' at least initial experience isn't weird. Michał Cichoń 2016-08-19 20:44:35 +0200
  • 622715725d Merge pull request #783 from bear24rw/patch-1 omar 2016-08-19 18:00:27 +0200
  • 7474cc0fa6 Move Layouts into ImGuiWindow DC. Michał Cichoń 2016-07-29 21:44:59 +0200
  • a320a3bb12 Remove debug code and fix warnings. Michał Cichoń 2016-07-26 19:21:47 +0200
  • ac62cd4b73 Add 'align' parameter to BeginHorizontal/BeginVertical so default align may be override for single layout scope. Alignment is not inherited by nested layouts. Add SuspendLayout()/ResumeLayout() to restore original ImGui positioning inside layout. This make it possible to create a regular group or display more complicated controls like Combo. Michał Cichoń 2016-07-26 15:21:35 +0200
  • 7d561b8158 Recalculate layouts hierarchically to resolve all dependencies. Add loop friendly API to begin layouts. Michał Cichoń 2016-07-25 15:40:28 +0200
  • 194777976e Use proper enum to indicate why layout is dirty. Michał Cichoń 2016-07-25 07:22:35 +0200
  • 78e17ec634 Cleanup naming to match ImGui style. Michał Cichoń 2016-07-25 00:57:56 +0200
  • 70eaf0b17f Remove use of 'auto'. Michał Cichoń 2016-07-25 00:57:38 +0200
  • bd149139ef Add demo of stack layout. Michał Cichoń 2016-07-22 00:33:42 +0200
  • f71ef965cb Implement basic BeginHorizontal/EndHorizontal, BeginVertical/EndVertical layout API with springs and inner item alignment. Michał Cichoń 2016-07-21 19:09:55 +0200
  • bdca3a63b6 Convert Indent and ColumnOffset to ImVec2 and update that depends on them. Michał Cichoń 2016-07-21 19:02:09 +0200
  • 4f389b7f6a Add null terminator to ShowStyleEditor output_type combo options Max Thrun 2016-08-18 11:00:23 -0700
  • ead79dcdac Metrics: 64-bit display fix ocornut 2016-08-15 17:34:17 +0200
  • 3ab0d5cdfd Nav: NavHighlight gets its own color (default to Header color), made rectangle thicker (#323) ocornut 2016-08-15 13:07:39 +0200
  • cf16ba6572 Nav: Exposed RenderNavHighlight() in imgui_internal.h to increase discoverability and reordered arguments to be more consistent (#323) ocornut 2016-08-15 11:52:02 +0200
  • 6c19d7b13c Nav: Fixed clipping rect of navigation highlight, notably for collapsing arrow (#323) ocornut 2016-08-15 11:41:56 +0200
  • 9501cd9991 InputText: Fixed calling callback on frame of losing active id, fix part of 848e62bfe0 (nav branch only) ocornut 2016-08-13 14:22:34 +0200
  • cff815fd2d Merge branch 'master' into 2016-02-colorpicker ocornut 2016-08-11 23:22:15 +0200
  • a83f9b7885 Merge branch 'master' into 2016-07-navigation ocornut 2016-08-11 23:21:04 +0200
  • 0f9addb002 Minor shuffle to ease merging branches. (tentative. fugly but those fields will be removed anyway) ocornut 2016-08-07 20:05:24 +0200
  • bfe1e163b8 Merge remote-tracking branch 'origin' into 2016-02-colorpicker ocornut 2016-08-11 23:01:48 +0200
  • 2afffcdeb9 Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-08-11 23:00:47 +0200
  • 4bc3f9d1f7 Minor shuffle to ease merging branches. ocornut 2016-08-11 22:59:44 +0200
  • 996eb080fa Merge remote-tracking branch 'origin' into 2016-02-colorpicker ocornut 2016-08-11 22:53:26 +0200
  • df1d1b5b25 Nav: DragBehavior: Adjust minimum step to displayed precision when using navigation (#323, #180) ocornut 2016-08-07 20:40:57 +0200
  • 09cba02d3f Nav: DragBehavior: Fix for fast speed (#323 #180) ocornut 2016-08-07 20:31:51 +0200
  • 761a74c62b Selectable/MenuItem: Not activated on Click but only on Release is more standard (#126, #245, #323) ocornut 2016-08-07 20:21:18 +0200
  • 8828889d5e Refactored rare transient bool stacks into a set of flags, added unexposed ImGuiItemFlags_SelectableDontClosePopup (#323) ocornut 2016-08-07 20:05:24 +0200
  • 785f51227a Demo tweaks ocornut 2016-08-07 19:07:24 +0200
  • 525ef5b357 Nav: Tweaked default highlight clipping (clipped by scrollbar) and removed subtle background (#323) ocornut 2016-08-07 15:31:00 +0200
  • a68132948b Nav: Added ImGuiCol_NavWindowingHighlight into style (#323) ocornut 2016-08-07 15:26:04 +0200
  • 6aa8019763 Nav: Fixed bug where pressing NavInput(Triangle) to turn slider/drag into text input would then change subsequent NavActivate as well (#323) ocornut 2016-08-07 15:19:29 +0200
  • e55882f74b Nav: Allow PadLeft to close a menu (#323) ocornut 2016-08-07 15:18:04 +0200
  • c203be94c6 Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-08-07 13:55:59 +0200
  • 6eb35b8a04 BulletText(): doesn't stop displaying at the ## mark ocornut 2016-08-07 13:53:41 +0200
  • 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