Commit Graph

  • 5def10c3a0 Fixed OpenGL error when calling Shutdown without calling NewFrame Gustav 2016-08-27 00:32:20 +0200
  • e69de80c90 add a glut example. Bugs: (1) the imgui windows won't update if the mouse position does not change. (2) mouse sroll events, tab, backspace bindings. bitxue 2016-08-26 20:15:28 +0800
  • df7b9ab7f0 Ignoring wireframe setting in client with glPolygonMode Lior David 2016-08-26 01:12:58 +0300
  • b36ba12929 Travis test fix omar 2016-08-25 16:20:34 +0200
  • 5ae71aa04a Examples: Renaming opengl_example/ to opengl2_example/ for clarity (1/2 because git) ocornut 2016-08-25 10:25:51 +0200
  • 3c384c2f10 Examples: Renaming opengl_example/ to opengl2_example/ for clarity (1/2 because git) ocornut 2016-08-25 10:18:09 +0200
  • ef10b984fe Merge remote-tracking branch 'origin' into 2016-02-colorpicker ocornut 2016-08-23 17:00:47 +0200
  • f39513ac47 Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-08-23 17:00:11 +0200
  • 63d47bc5a4 ImFormatString() Fixed an overflow handling bug with implementation of vsnprintf() that do not return -1 (#793) ocornut 2016-08-23 16:55:06 +0200
  • e8e5c6d788 Nav: Comments. Fixed two -Wall warnings. Removed unused function. (#787) ocornut 2016-08-23 08:58:51 +0200
  • 3883a2027f Nav: Fixed Selectable() crash introduced earlier today in 43ee5d73 + added comments/assert (#323) ocornut 2016-08-21 17:52:42 +0200
  • df9bdf38f9 Nav: NavActivateId, NavInputId are no repeat actions. Repeat buttons handle it themselves already anyway. (#323) ocornut 2016-08-21 17:32:15 +0200
  • 67fd805839 Merge remote-tracking branch 'origin' into 2016-07-navigation ocornut 2016-08-21 16:13:40 +0200
  • c6c7371a4c Nav: Removed unnecessary test following 49ca1c2b88 (#323) ocornut 2016-08-21 16:11:53 +0200
  • 49ca1c2b88 Nav: InitDefaultRequest saves a fallback item so PadMenu on a collapsed window gets us to the collapse button (#323) ocornut 2016-08-21 16:07:55 +0200
  • 2303b67c40 Close button submitted after collapse button. Should have no effect. Consistent with expectation & will be used as fallback for nav (#323) ocornut 2016-08-21 16:05:19 +0200
  • 252f094101 Nav: Undo 87eb749cbc, agressively including nav focus test in IsItemHovered() (#323) ocornut 2016-08-21 15:26:40 +0200
  • fddf9ca10e Nav: Fixed nav highlight clipping (affected non non-menu items within menubar) (#323) ocornut 2016-08-21 15:25:29 +0200
  • 78b7e2dfb3 Nav: Process and apply mouse move request immediately after move request result comes (#323) ocornut 2016-08-21 14:53:26 +0200
  • f71cdd13b7 Internal tidying up, moved code to CalcNextScrollFromScrollTargetAndClamp() so it can be reused by upcoming nav code. ocornut 2016-08-21 14:39:13 +0200
  • 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