omar
f152fac4f1
Demo: Wrapped many (not all) code and comments lines to 120 characters to fit below GitHub viewer limit. ( #3193 )
5 years ago
omar
419f905f91
Demo: Extracted some code out of ShowStyleEditor() into NodeFont().
5 years ago
omar
11a3e75f47
Backends: Win32: Fix _WIN32_WINNT < 0x0600 (MinGW defaults to 0x502 == Windows 2003). ( #3183 )
5 years ago
omar
b4dd28ffbb
Style: Added style.TabMinWidthForUnselectedCloseButton settings.
Set to 0.0f (default) to always make a close button appear on hover (same as Chrome, VS).
Set to FLT_MAX to only display a close button when selected (merely hovering is not enough).
Set to an intermediary value to toggle behavior based on width (same as Firefox).
5 years ago
omar
099091280f
Backends: DX10/DX11: Minor tweaks.
5 years ago
Silent
1e9abf60d1
Backends: Keep shader blobs as local variables. ( #3176 )
5 years ago
Rokas Kupstys
794bf7a28d
CI: Implement builds with IMGUI_DISABLE_WIN32_FUNCTIONS, IMGUI_DISABLE_FILE_FUNCTIONS, IMGUI_USE_BGRA_PACKED_COLOR IM_VEC2_CLASS_EXTRA, IM_VEC4_CLASS_EXTRA and building library as a DLL.
5 years ago
omar
d5ce3b43ae
Backends: Vulkan: Fixed error in if initial frame has no vertices. ( #3177 )
5 years ago
Clownacy
a2454f2a45
Use __NEWLIB__ instead of __SWITCH__ and __CYGWIN__ for alloca.h-detection ( #3070 )
Cygwin uses newlib, so it's covered by the __NEWLIB__ check.
You can see how it defines __NEWLIB__ here: https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=newlib/configure.in#l453
5 years ago
Ryan Pavlik
8cbff5ccb2
Fix various typos. ( #3161 )
(found by Debian's lintian on a package that uses imgui.)
(found by codespell.)
5 years ago
Rokas Kupstys
2593b6a1c8
Drag and Drop: Fix unintended fallback "..." tooltip during drag operation when drag source uses _SourceNoPreviewTooltip flags. ( #3160 )
5 years ago
Chris Savoie
73c30aa085
Backends: Vulkan: Don't skip drawing when there's no vertexes to ensure that user callbacks are still processed.
5 years ago
Matt Haynie
d3212482fe
Fix multiple macro definitions of GLFW_INCLUDE_NONE ( #3157 )
5 years ago
omar
5ac5d3674f
Removed unncessary ID (first arg) of ImFontAtlas::AddCustomRectRegular() function.
5 years ago
omar
223297b075
Clarified comments about popups input blocking and ImGuiHoveredFlags_AllowWhenBlockedByPopup flag. ( #3154 )
5 years ago
Silent
fd6d3155c0
Fix wrong comment in ImGuiCond_ ( #3139 )
5 years ago
u3shit
528b12eb7a
Fix glClipControl(GL_UPPER_LEFT) handling in opengl3.
5 years ago
ocornut
c0283c1289
TestEngine: Changed PushID hooks into GetID(), makes more sense and catches more information.
5 years ago
omar
37f665b619
Backends: Win32: Support for #define NOGDI, won't try to call GetDeviceCaps(). ( #3137 , #2327 )
5 years ago
András Kucsma
388bf66247
Fix missing comma in FAQ.md ( #3134 )
5 years ago
omar
9f9ff84ba1
TestEngine: Added PushID() hooks.
5 years ago
omar
b0e9092d6f
TestEngine: Added extra storage and global enable flag. Added missing ItemInfo hooks.
5 years ago
omar
3233fbff0e
Internals: Added SetNextWindowScroll() ( #1526 )
5 years ago
omar
1fd9e131e4
TreeNode: Fixed bug where dragging a payload over a TreeNode() with either _OpenOnDoubleClick or _OpenOnArrow would open the node. ( #143 )
5 years ago
omar
54b38d88f7
TreeNode: Fixed bug where BeginDragDropSource() failed when the _OpenOnDoubleClick flag is set. Added basic demo code. (Amend 05420ea
)
5 years ago
omar
e8c986b34e
Version 1.77 WIP
5 years ago
omar
5503c0a12e
Version 1.76
+ fixed PVS warning, update demo binaries, update readme image
5 years ago
omar
7ee623d9b1
Internals: FocusScope not inherited by popups, modals. Amend a5041c88
2ebe08be
)
5 years ago
omar
ec7294d890
Backends: OpenGL3: Fixed version check mistakenly testing for GL 4.0+ instead of 3.2+ to enable ImGuiBackendFlags_RendererHasVtxOffset, leaving 3.2 contexts without it. ( #3119 , #2866 , #2852 )
5 years ago
SergeyN
977ac53dd8
Examples: Win32+DX12: Fixed resizing main window, enabled debug layer. ( #3087 , #3115 )
5 years ago
omar
f7852fa8e8
Internals: Extracted GetWindowScrollbarRect() out of Scrollbar() and tidying up code to make it more obvious how to draw over scrollbars. ( #3114 )
5 years ago
omar
fb70d90fef
Made default clipboard handlers for Win32 and OSX use a buffer inside the main context instead of a static buffer, so it can be freed properly on Shutdown. ( #3110 )
5 years ago
omar
832fda8488
Fixed stray end of line blanks, added comments in .editorconfig, tweaked some headers.
5 years ago
omar
4e7ceb5f90
Plot: Internals: Added hovered index to PlotEx() function. ( #2670 )
5 years ago
omar
e9366b4c73
Regretfully moved .gitignore file from examples/ into root directory because OSX keeps pooping its DS_Store/ artifacts everywhere. ( #3088 )
5 years ago
omar
cc0e43e631
Backends: Comments next to include, misc minor comments/tweaks, fix imgui_impl_osx.h using IMGUI_API instead of IMGUI_IMPL_API. ( #3105 )
5 years ago
OmarEmaraDev
00927105ba
Backends: Include imgui.h in implementation headers. ( #3105 )
Currently, the implementation headers don't include the imgui.h header.
Which means that the compilation will fail if the implementation header
was included before the imgui.h header in the compilation unit. For
instance, a compilation unit with the following will work:
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
But a compilation unit with the following will fail because IMGUI_IMPL_API
and possibly other symbols will not be defined:
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include "imgui.h"
This patch includes imgui.h in the implementation headers to make
inclusions order-invariant, which is a recommended practice.
5 years ago
omar
752436219d
Metrics: Made Tools section more prominent, added options, made mesh viewer more accessible.
5 years ago
omar
cc0d4e346a
Misc: Added an explicit compile-time test for non-scoped IM_ASSERT() macros to redirect users to a solution + fixed our stb wrappers.
+ Nav: Use nav layer enum, comments.
5 years ago
omar
b7e1b13ca7
Update docs, FAQ, comments (mainly related to io.WantCaptureMouse / WantCaptureKeyboard flags).
5 years ago
omar
11116eee80
Columns: undid the change in 1.75 were Columns()/BeginColumns() were preemptively limited to 64 columns with an assert. ( #3037 , #125 )
Essentially reverting 9d444062f9
.
5 years ago
omar
3490046c97
Nav: Disabled clipping g.NavId and fixed interactions with ImGuiListClipper. ( #787 )
5 years ago
omar
fd56de1144
Nav: Store key mods associated to a nav request (for range_select) + use io.KeyMods.
+ renamed NavScoringRectScreen > NavScoringRect
5 years ago
omar
05420ea2cf
TreeNode: Made clicking on arrow with _OpenOnArrow toggle the open state on the Mouse Down event rather than the Mouse Down+Up sequence (this is rather standard behavior).
5 years ago
Dylan
68c5d030cd
Typo in readme ( #3078 )
5 years ago
omar
ec2a24a5f1
Selectable: Allow using ImGuiSelectableFlags_SpanAllColumns in other columns than first. Comments. ( #125 )
5 years ago
omar
5be5add1ad
Selectable: Removed extraneous WindowPadding.x worth of width when auto-sized selectable label goes off available width (would not be noticeable) + Renamed ImGuiSelectableFlags_DrawFillAvailWidth to ImGuiSelectableFlags_SpanAvailWidth.
5 years ago
omar
b4d1287011
Selectable: Clarifying the code around use of ImGuiSelectableFlags_DrawFillAvailWidth (with intent of trying to remove it).
Amend old 6251d379
, 2bcafc86
5 years ago
omar
7c11997bcc
Selectable: Fixed honoring style.SelectableTextAlign with unspecified size. ( #2347 , #2601 )
5 years ago
omar
ac2247f551
Selectable: Removed seemingly ineffective text clipping offset in SpanAllColumns handling path + tweaks.
made max_x absolutely to reduce confusion.
amend cf481e1
5 years ago