1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-12-18 18:46:13 +01:00
Commit Graph

8520 Commits

Author SHA1 Message Date
ocornut
d78e823449 InputText: added ImGuiInputTextFlags_ElideLeft. (#1442, #1440, #4391, #7208, #8216) 2024-12-09 15:00:04 +01:00
ocornut
d2645423de InputText: reactivating last activated InputText() doesn't restore horizontal scrolling.
Honestly not sure if the opposite is preferable or not (added commented out in the inactivate render path to test that).
Current behavior added along with recycling: f9928e96c7
2024-12-09 14:31:15 +01:00
ocornut
f3147f446a Backends: OpenGL3: call glGetString(GL_VERSION) even in GS ES 2.0 path. (#8197)
Apparently as per specs works. I reckon the best way to confirm it is to try.
2024-12-09 12:58:32 +01:00
ocornut
921c22f5ad Examples: GLFW+OpenGL3, SDL3+OpenGL3: Provide ES3 context creation code + failure handling. (#8197)
Untested for GLFW example.
2024-12-09 12:56:38 +01:00
Thomas Hope
6b348622bb Examples: SDL2+OpenGL3: Provide ES3 context creation code + failure handling. (#8197) 2024-12-09 12:53:31 +01:00
ocornut
fce07bb1cb Don't enable SSE4 under Emscripten - Fix. (#8213, #8169, #4933) 2024-12-09 12:43:49 +01:00
bmarques1995
53dd7552dc Backends: DX12: let the user specifies the DepthStencilView format. (#8217)
This is particullarly important for those who use RenderPasses.
2024-12-09 12:23:09 +01:00
slowriot
2671f68f7f Don't enable SSE4 under Emscripten (#8213, #8169, #4933)
Amend 326dc95f9
2024-12-09 12:14:43 +01:00
ocornut
3f3c62a3c9 ScrollbarEx: clarify use of flags and make them optional. (#8215) 2024-12-09 11:43:00 +01:00
ocornut
18e5d769fd Backends: DX10: create sampler outside of ImGui_ImplDX11_CreateFontsTexture().
Analoguous to 90dd510 for DX11.
2024-12-05 13:09:37 +01:00
ocornut
43fbd7ce84 Backends: standardized top of file comments. 2024-12-05 12:43:04 +01:00
ocornut
566558b17c Replacing NULL with nullptr in examples/backends when they creeped back. (#6313, #7071, #4537) 2024-12-05 12:25:02 +01:00
Jack Holmes
6f6ac84228
Demo: Assets Browser: use correct axis for layout computation, to allow making items non-square. (#8207) 2024-12-04 18:59:51 +01:00
ocornut
70b6ba4240 Clarify that IMGUI_USE_BGRA_PACKED_COLOR requires backend support. (#8201) 2024-12-04 10:38:19 +01:00
Thomas Hope
923ca4765a Backends: OpenGL3: Fix compile error with IMGUI_IMPL_OPENGL_ES2 and IMGUI_IMPL_OPENGL_DEBUG (#8197) 2024-12-02 13:38:47 +01:00
ocornut
43c51eb12d Tables: fixed SetNextWindowScroll() value being ignored by BeginTable() during the first frame or when scrolling flags have changed. (#8196) 2024-12-02 13:23:18 +01:00
ocornut
ee2119d7cb imgui_freetype: Fix build broken by 19a1f2a (#8107) 2024-11-29 19:10:39 +01:00
ocornut
19a1f2a5d2 Fonts: fixed AddCustomRect() not being packed with TexGlyphPadding + not accounted in surface area. (#8107) 2024-11-29 18:58:01 +01:00
Diego Mateos
9b26743c6b
SliderAngle: only write back to value v_rad on value_changed. (#8193) 2024-11-29 13:31:11 +01:00
ocornut
dda7672008 Backends: Vulkan: removed sizeof(ImTextureID) check.
(not necessary anymore and it happens to when with a later coming change of ImTextureID, so best removed earlier).
2024-11-28 19:23:01 +01:00
ocornut
c1123fd8d0 Backends: Vulkan: small refactor to use a texture struct. 2024-11-27 14:57:38 +01:00
ocornut
90dd510df1 Backends: DX11: create sampler outside of ImGui_ImplDX11_CreateFontsTexture(). 2024-11-27 14:57:33 +01:00
ocornut
96877eb9c3 Backends: Vulkan: fixed build with VK_NO_PROTOTYPES. (#8172, #4867)
Amend 61ab94d
2024-11-27 12:38:12 +01:00
ocornut
2d660108b2 Misc: amend crc32 to use _mm_crc32_u32. (#8169, #4933) 2024-11-27 12:34:16 +01:00
Teselka
326dc95f9c Misc: use native crc32 instructions on SEE 4.2 targets. (#8169, #4933) 2024-11-27 12:23:27 +01:00
Teselka
e6dd8f626a Misc: changed CRC32 table to use crc32c polynomial in order to be compatible with SSE 4.2 instructions. (#8169, #4933) 2024-11-27 12:20:00 +01:00
Arseny Kapoulkine
61ab94d553 Backends: Vulkan: Make descriptor pool optional (#8172, #4867)
Comments/amends by ocornut
2024-11-27 11:54:05 +01:00
ocornut
9b27329437 Comments on ImageButton(). (#8165) + comments on Emscripten -sSINGLE_FILE option. (#8153) 2024-11-25 19:11:40 +01:00
ocornut
5b7feebfd8 Backends: DX9: extract RGBA convert loop as we are going to need it more often. 2024-11-21 16:58:02 +01:00
ocornut
dfbf1b4f6b Backends: DX9: cache result of ImGui_ImplDX9_CheckFormatSupport() as we are going to need it more often. 2024-11-21 15:24:11 +01:00
ocornut
20360e00ce Merge miscellaneous small changes to reduce drift with texture update branch.
- ImGuiDebugLogFlags_EventFont is yet unused.
2024-11-20 21:46:47 +01:00
ocornut
551b6c4d66 Tools: binary_to_compressed_c: added -u8/-u32/-base85 export options. 2024-11-20 14:32:44 +01:00
ocornut
d0e870aad2 Misc: changed embedded ProggyClean encoding to save a bit of binary space (~12kb to 9.5kb). (#8161)
Encoding as char to ensure compatibility with big endian (#81)
2024-11-20 14:16:34 +01:00
chuikingshek
5ae3dd52a0 Fonts: added IMGUI_DISABLE_DEFAULT_FONT macro. (#8161) 2024-11-20 13:45:42 +01:00
ocornut
eb0ad66d88 Demo: example tree used by Property Editor & Selection demos properly freed on app closure. (#8158) 2024-11-18 18:46:27 +01:00
ocornut
142827f7d8 Backends: DX12: rework legacy path for handling ImGui_ImplDX12_Init() being called with space for a single descriptor. 2024-11-18 15:16:41 +01:00
ocornut
08400f5be7 Backends: DX12: tidying up, added a ImGui_ImplDX12_Texture helper struct. 2024-11-15 19:15:28 +01:00
ocornut
40b2286d16 (Breaking) Backends: DX12: changed ImGui_ImplDX12_Init() signature. Added ImGui_ImplDX12_InitInfo. Added support for Srv allocators.
Ref 7708
2024-11-15 19:15:25 +01:00
ocornut
3260ea6954 Examples: Win32+DX12: Tweaks. 2024-11-15 17:29:43 +01:00
ocornut
8be0723fb7 Amend Changelog to better document how changing button behavior of InputInt/InputFloat step buttons affected some mis-uses (#8149) 2024-11-13 16:55:06 +01:00
ocornut
e97b97467e Error Handling: fixed cases where recoverable error handling would crash. (#1651) 2024-11-12 19:09:00 +01:00
ocornut
3381ab423b Version 1.91.6 WIP + fixed typo in tooltip. 2024-11-12 11:56:21 +01:00
ocornut
f401021d5a Version 1.91.5 2024-11-07 19:57:33 +01:00
ocornut
31b967f098 Fix 01d27a4 (sorry I cherry-picked from wrong branch) 2024-11-07 19:35:00 +01:00
ocornut
01d27a4acd Internals: added IM_LIKELY(), IM_UNLIKELY() helper macros (yet unused). Added ImFontGetCharAdvanceX() macro. 2024-11-07 19:33:25 +01:00
ocornut
419a9ada16 Ignore clang warning Wnontrivial-memaccess (#8129, #8135)
Amend 88e2327
Use void* cast in backend where the memset are infrequent.
2024-11-07 19:08:37 +01:00
ocornut
17bd417a3d AddCustomRectFontGlyph: added storage for Colored bool in ImFontAtlasCustomRect. (#8133) 2024-11-07 14:58:15 +01:00
ocornut
3b683927ee imgui_freetype: Fixed a crash in build font atlas when using merged fonts and the first font in a merged set has no loaded glyph. (#8081) 2024-11-07 14:39:54 +01:00
ocornut
3543dfda95 Docs: document removal of ImFont const qualifier as potentially breaking. 2024-11-06 18:14:44 +01:00
ocornut
d97bbf1904 Tabs, Style: made ImGuiCol_TabDimmedSelectedOverline alpha 0 (not visible) in default styles. 2024-11-06 18:08:15 +01:00