Commit Graph

  • bd4bc929ce Style: renamed style.ChildWindowRounding to style.ChildRounding, ImGuiStyleVar_ChildWindowRounding to ImGuiStyleVar_ChildRounding. omar 2017-11-18 18:28:21 +0100
  • 4e62118b61
    Merge pull request #1448 from codecat/minor-fixes omar 2017-11-18 14:22:53 +0100
  • 979fe30a6f Fix wrong comment in dx implementation headers Codecat 2017-11-18 13:56:59 +0100
  • da2be7bbdc Style: ScaleAllSizes() helper rounds down every values so they are aligned on integers. omar 2017-11-17 21:29:37 +0100
  • f5871c0b92 fix uninitialized atlas packing context Francisco Demartino 2017-11-16 21:45:21 -0300
  • 834fa52c8e Columns: Added ImGuiColumnsFlags_GrowParentContentsSize to internal API to restore old content sizes behavior. (#1444, #125) omar 2017-11-16 17:34:34 +0100
  • 7746dd104c Merge branch 'master' into drag_and_drop omar 2017-11-16 13:28:22 +0100
  • 44c590393c Merge branch 'master' into navigation omar 2017-11-16 13:28:10 +0100
  • 29d962069d Internals: Updating condition/allow flags with a function. omar 2017-11-13 22:15:50 +0100
  • 4ad414c8d4 Internals: Window: Store whether the windows has a close button (we need that info for window/tabs dropping preview calculation) omar 2017-11-13 23:25:13 +0100
  • 7c4be0a000 Internals: Added BringWindowToFront(), BringWindowToBack() helpers. omar 2017-11-16 13:11:16 +0100
  • 24e3757fc8 Corrected coding style. cucoman 2017-11-15 23:56:51 +0100
  • 6817f3a3d9 Merge branch 'master' into navigation omar 2017-11-15 23:44:50 +0100
  • e9a7e73bba Windows with MenuBar have a larger minimum height to avoid artefacts (I fixed most of the vertical/horizontal artefacts, but the ones in rounded corners were too hard to fix). omar 2017-11-15 23:42:18 +0100
  • f36037b384 Menu: Fixed minor rendering issues on the right size with rounded window when resizing a window small. omar 2017-11-15 23:38:17 +0100
  • 9b82d9fbef Scrollbar: Minor graphical fix for when scrollbar don't have enough visible space to display the full grab. omar 2017-11-15 23:11:36 +0100
  • f5bdf443c9 Minor comments, tweaks omar 2017-11-15 22:37:43 +0100
  • 5ea6e80da1 Make it possible to use SetNextWindowPos() on a child window. Useful internally. omar 2017-11-15 22:20:40 +0100
  • 5027311e7f Drag and drop: Standardizing payload types as defines. (#143) omar 2017-11-15 17:59:12 +0100
  • af54bf6862 Single line Input box contents align right. cucoman 2017-11-15 17:57:07 +0100
  • 44b761b308 Merge branch 'master' into drag_and_drop omar 2017-11-15 14:41:27 +0100
  • 27fd1b913b Made it guaranteed by API that after calling Begin() the last Item represent the title bar. (#823) omar 2017-11-15 14:35:45 +0100
  • ae060b1d67 Merge branch 'master' into drag_and_drop omar 2017-11-15 10:24:54 +0100
  • 64031852de Merge branch 'master' into navigation omar 2017-11-14 23:17:58 +0100
  • 64e79035d5 Scrollbar flicker fix for menus/popups (fixes 4d00dd8326 and 2df8fa95df). Hopefully right this time. omar 2017-11-14 23:17:28 +0100
  • 6001d9c7a4 Columns: Clipping columns borders on Y axis on CPU because some GPU drivers appears to be unhappy with triangle spanning large regions (not sure why tbh). (#125) Demo: Columns: Adding a billion of extra lines and using clipper. omar 2017-11-14 22:40:57 +0100
  • 0858c3d7cb Demo: Custom Rendering: Fixed clipping rectangle extruding out of parent window. omar 2017-11-14 22:21:38 +0100
  • ffad688fc8 Drag and Drop: Added payload->IsPreview() to user can render their custom preview while handling overlapping drop targets. (#143) omar 2017-11-14 22:11:43 +0100
  • 852ece3a0e Fixed build (3e06450d27 not meant for master branch, but ok) omar 2017-11-13 16:04:03 +0100
  • 2275cb8b83 Merge branch 'master' into navigation omar 2017-11-13 15:19:43 +0100
  • 3e06450d27 Internals: Added ArrowButton() helper. omar 2017-11-11 16:58:43 +0100
  • 7908cce25f Drag and Drop: Added internal BeginDragDropTargetCustom() convenient to avoid submitting dummy ItemAdd. (#143) omar 2017-11-10 13:13:28 +0100
  • 4d00dd8326 Fixed scrollbar flickering on/off when uncollapsing a window (fixes 2df8fa95df) omar 2017-11-13 15:15:48 +0100
  • 9adf4bf7b5 Merge 5536048aff into 30bf40195b Giuseppe Barbieri 2017-11-13 03:49:34 +0000
  • d153e80d0a
    Update imgui_impl_dx9.cpp Cryless Domore 2017-11-13 04:46:44 +0100
  • 30bf40195b io.OptNoCursorBlink -> io.OptCursorBlink (#1427) omar 2017-11-12 16:06:44 +0100
  • 669498ff26 Added io.OptNoCursorBlink option to disable cursor blinking. (#1427). Renamed io.OSXBehaviors to io.OptMacOSXBehaviors. Should affect users as the compile-time default is usually enough. (#473, #650) omar 2017-11-12 16:03:09 +0100
  • e1e11bdc6c Merge e6b60eca9d into a1c736fa6a Cryless Domore 2017-11-11 23:06:42 +0000
  • e6b60eca9d
    Issue #1429 Cryless Domore 2017-11-11 23:51:22 +0100
  • a1c736fa6a
    Update README.md omar 2017-11-11 18:22:00 +0100
  • 631bd8a9f8
    Added bindings omar 2017-11-11 18:12:33 +0100
  • 161670418b Update documentation for extra fonts omar 2017-11-11 16:20:34 +0100
  • 9daac64ff8 Clean g.WindowsById storage on shutdown. Branimir Karadžić 2017-11-10 22:59:06 -0800
  • 06075f20ba Merge branch 'master' into navigation omar 2017-11-10 11:42:08 +0100
  • ba09de3a39 Begin: Fixed appending into a child window with a second Begin() from a different window stack querying the wrong window for the window->Collapsed test. omar 2017-11-10 11:37:27 +0100
  • 8451855a30 ButtonBehavior: Fixed ImGuiButtonFlags_AllowOverlapMode to avoid temporarily activating widgets on click before they have been correctly double-hovered. (#319, #600) omar 2017-11-09 20:08:29 +0100
  • 4b94738c7e Drag and Drop: Drop target rectangle goes out of clipping range (#143) omar 2017-11-09 20:17:10 +0100
  • b1653cd361 Drag and Drop: Allow NULL payload (since type only can be useful). (#143) omar 2017-11-09 20:09:09 +0100
  • a297cbafdb Merge branch 'master' into navigation omar 2017-11-08 23:17:14 +0100
  • 2df8fa95df Fixed vertical scrollbar flickering/appearing, typically when manually resizing and using a pattern of filling available height (e.g. full sized BeginChild). THIS IS A GREAT FIX, this glitch was nasty and annoying (and yet somehow nobody reported it?). Hopefully haven't broken anything else... omar 2017-11-08 23:17:08 +0100
  • a4cc3d4637 Minor tweaks/comments. Note that the reordering the one subtraction caused subtle havoc before the patch in 9ac8820ee2. omar 2017-11-08 22:36:31 +0100
  • 9ac8820ee2 Fixed non-pixel aligned bounding box of window resize grip, / which triumphally led to any re-arrangement of operations inside the resize grip code outputting non-exact size_target values which led to unstable window position because clamping code uses size in a subtraction, etc etc. Lovely how a whole system can be made to act weird with a single bad input. omar 2017-11-08 22:32:22 +0100
  • b6504b8eee Drag and drop: Handle overlapping drag target priorities given their surface, which appears to make most sense for drag and drop operations. omar 2017-11-08 15:47:52 +0100
  • 2ab27be3de Child window with MenuBar use regular WindowPadding.y so layout look consistent in child or in a regular window. omar 2017-11-07 22:23:02 +0100
  • 41862b8c0e ButtonBehavior: Fixed ImGuiButtonFlags_NoHoldingActiveID from incorrectly setting ActiveIdClickOffset, which probably have no known effect, but it is more correct this way. (#1418) omar 2017-11-07 16:41:58 +0100
  • aae52522c3 Internals: Remove requirement to define IMGUI_DEFINE_PLACEMENT_NEW (#1103) omar 2017-11-07 13:11:45 +0100
  • 1870738880 LowerBound() minor tweaks omar 2017-11-07 14:05:48 +0100
  • 571b08f315 Internal: FindWindowByName() faster and doesn't touch every windows omar 2017-11-07 13:59:55 +0100
  • 8e6adc78af Examples: Constrained Resize: Added more test cases (for #1417) omar 2017-11-07 11:38:14 +0100
  • 2c7ba21417 Fixed auto-resize allocating too much space for scrollbar when SizeContents is bigger than maximum window size (fixes c0547d358d) (#1417) omar 2017-11-07 11:37:38 +0100
  • 0d4c320f88 Merge branch 'master' into navigation omar 2017-11-06 23:58:28 +0100
  • f0b4097c54 Begin: Simplified code and fixed a bug where appending into a window a second time (from a remote window) would incorrectly overwrite RootWindow with the current window in the stack. Our docking code uses this pattern. omar 2017-11-06 23:55:40 +0100
  • de1e7dc088 Drag and Drop: Moved internal fields out of public sight. (#143) omar 2017-11-06 20:02:56 +0100
  • 8b725c94cb Drag and Drop: Rework internal to allow overlapping targets (#143) omar 2017-11-06 19:39:23 +0100
  • 99661607d1 Tabs: Update the early version of Tabs to narrow gap with internal wip code (#261) omar 2017-11-06 10:28:21 +0100
  • bd1a38684f Merge branch 'drag_and_drop' into tabs omar 2017-11-06 10:26:12 +0100
  • 16a5da9521 RenderTriangle() minor tweak to align Left/Right and Up/Down arrow extents visually omar 2017-11-03 20:17:13 +0100
  • 4099aff8f2 assert when using empty string as id Mikulas Florek 2017-11-03 14:40:11 +0100
  • 553bdeedf7 Drag and Drop: Made it legal to not call SetDragDropPayload() between BeginDragDropSource() and EndDragDropSource(). (#143) omar 2017-11-02 18:30:46 +0100
  • 3461a2f296 Merge branch 'master' into drag_and_drop omar 2017-11-02 18:06:04 +0100
  • c573493085 Merge branch 'master' into tabs omar 2017-11-02 18:05:54 +0100
  • 982ce50b37 IsWindowHovered() returns true when moving window (#1382, #1404) omar 2017-11-02 16:44:32 +0100
  • ff4d4ca651 IsWindowHovered(): Added ImGuiHoveredFlags_FlattenChilds flag. Made IsRootWindowOrAnyChildHovered() obsolete in favor of IsWindowHovered( ImGuiHoveredFlags_FlattenChilds) (#1382, #1404) omar 2017-11-02 16:44:24 +0100
  • 803ac3a5c6 IsWindowHovered() Fix behavior when an item is active to use the same logic as IsItemHovered() (#1382, #1404) omar 2017-11-02 16:23:03 +0100
  • 5536048aff
    Update imgui_internal.h Giuseppe Barbieri 2017-11-02 11:52:07 +0100
  • eacdc1d332
    Update imgui.cpp Giuseppe Barbieri 2017-11-02 11:51:37 +0100
  • 243d94d697
    Update imgui.cpp Giuseppe Barbieri 2017-11-02 11:50:06 +0100
  • aa496ea010 Merge e5cc6c50dc into 1e7cc23867 Jake Stine 2017-11-02 09:43:01 +0000
  • 1e7cc23867 Merge branch 'elect86-patch-1' omar 2017-11-02 10:41:31 +0100
  • 2a3a25e792 Reordered fields in other Style functions (#1409) omar 2017-11-02 10:41:21 +0100
  • c547b97e4e Merge branch 'patch-1' of https://github.com/elect86/imgui into elect86-patch-1 omar 2017-11-02 10:40:01 +0100
  • 78f9511f4d
    Merge pull request #1410 from elect86/master omar 2017-11-01 17:58:42 +0100
  • 6fb43f2011
    Update imgui.h Giuseppe Barbieri 2017-11-01 17:56:03 +0100
  • 66f42324ad Drag and Drop: Added ImGuiDragDropFlags_SourceNoHoldToOpenOthers flag. omar 2017-11-01 17:24:17 +0100
  • db190c16f6
    Update imgui_draw.cpp Giuseppe Barbieri 2017-11-01 16:48:56 +0100
  • 63f6f2dd13 Merge branch 'master' into navigation omar 2017-11-01 15:09:23 +0100
  • fba704bf5d Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard (#1262, #1237, #1219, #635, #1058, #1051, #912, #533, #703, #446, #459, #364, #213, #52, and more) omar 2017-11-01 14:24:09 +0100
  • 59323b54da Demo: Comments (#1408) omar 2017-11-01 12:55:15 +0100
  • 6ab20ff9bf Minor tweaks to the user guide. omar 2017-11-01 12:33:38 +0100
  • e5cc6c50dc fixed BeginPopupContextWindow() to behave in an expected fashion Jake Stine 2017-10-30 07:29:41 -0700
  • e55caf0b95
    Merge pull request #1402 from elect86/patch-1 omar 2017-10-30 09:51:49 +0100
  • 7f06d385a1 Added assertions and comments for incorrect use/understanding of IsWindowFocused() etc. functions omar 2017-10-30 09:50:54 +0100
  • 9e3f9fc2dd
    Update imgui.cpp Giuseppe Barbieri 2017-10-30 09:35:42 +0100
  • 5956fff7e2 Drag and Drop: ImGuiButtonFlags_PressedOnDragDropHold focuses the target window. omar 2017-10-30 00:10:05 +0100
  • a810619555 Drag and Drop: Added support for drag and drop hold-long-to-open for CollapsingHeader() and TreeNode(). Open only! omar 2017-10-30 00:03:04 +0100
  • 1d7d8f8574 Merge branch 'master' into drag_and_drop omar 2017-10-29 23:49:24 +0100
  • b13d281356 Maintaining ActiveIdTimer and HoveredIdTimer (the later is useful for drag and drop, both will be of course for creators of custom widgets) omar 2017-10-29 23:46:32 +0100
  • d46772b429 Comments omar 2017-10-29 23:14:17 +0100
  • 0e775807b4 Drag and Drop: Added a mechanism to allow widgets with no identifiers (such as Text/Image) to be used with BeginDragDropSource() given the explicit ImGuiDragDropFlags_SourceAllowNullID flag. omar 2017-10-29 23:10:44 +0100
  • acf78da742 Drag and drop: moved to imgui.h omar 2017-10-29 21:37:14 +0100