ocornut
64d8d302fb
ImDrawList: Fixed VtxOffset change leading to unnecessary leading empty ImDrawCmd in certain cases.
2020-06-10 19:16:14 +02:00
ocornut
16da8e6da6
Revert "Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). ( #125 )"
...
This reverts commit 9b3ce494fd
.
2020-06-10 17:54:19 +02:00
ocornut
53f0f97273
Added FAQ entry about DPI. Added Japanese font loading example.
2020-06-09 17:29:26 +02:00
ocornut
40b799023b
Docs: Update fonts.md ( #2861 ) + update all references to FONTS.txt
2020-06-09 16:56:48 +02:00
Scott
a72754886f
Docs: Initial draft of fonts documentation ( #2861 )
2020-06-09 16:56:45 +02:00
ocornut
9b3ce494fd
Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). ( #125 )
...
This change benefits Columns but was primarily made with Tables in mind.
2020-06-08 23:18:23 +02:00
ocornut
84862ec78e
ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where changing channels with different TextureId, VtxOffset would incorrectly apply new settings to draw channels. ( #3129 , #3163 )
2020-06-08 20:58:30 +02:00
ocornut
3bef743df4
ImDrawList: Clarifying and guarateeing that CmdBuffer.back()->UserCallback should be always be NULL.
2020-06-08 20:58:30 +02:00
ocornut
b1f2eacdf3
ImDrawList: Prefixed internal functions with underscore, renamed UpdateClipRect() to _OnChangedClipRect(), UpdateTextureID() -> _OnChangedTextureID()
2020-06-08 20:58:30 +02:00
ocornut
e35a813d57
ImDrawList: Separating PrimXXX sections from more internals helper in the header file.
2020-06-08 20:58:30 +02:00
ocornut
117d57df5b
ImDrawList: Additional comments and extracted bits into ImDrawList::PopUnusedDrawCmd()
2020-06-08 20:58:29 +02:00
ocornut
a6bb047bab
ImDrawList: Store header/current ImDrawCmd in instance to simplify merging code. Amend 0320e72
, toward #3163 , #3129
2020-06-08 19:36:02 +02:00
ocornut
57191fe3d0
Comments about limiting WindowRounding to a reasonable size.
2020-06-08 14:17:49 +02:00
ocornut
f6120f8e16
ImDrawList, ImDrawListSplitter, Columns: Fixed an issue where starting a split when current VtxOffset was not zero would lead to draw commands with wrong VtxOffset. ( #259
2020-06-06 21:31:31 +02:00
ocornut
41f47c853b
ImDrawList: Amend 0320e72
removed an unnecessary test.
2020-06-06 20:35:29 +02:00
ocornut
0320e7257b
ImDrawList: Small refactor to create empty command when beginning the frame, allowing to simplify some functions.
...
+ Missing clearing two fields in ClearFreeMemory() (was hamrless)
2020-06-06 20:27:24 +02:00
ocornut
003153b3ac
ImDrawList: Tweaks to make style consistent (using pointers, same local names). Added comments. Should be no-op.
2020-06-06 20:26:04 +02:00
thedmd
e22e3f300a
ImDrawList: Fixed an issue when draw command merging or cancelling while crossing the VtxOffset boundary would lead to draw command being emitted with wrong VtxOffset value. ( #3129 , #3163 , #3232 )
2020-06-06 18:54:53 +02:00
ocornut
78d5ccfb90
ImDrawList: PushColumnsBackground(): Fixed incorrect assert. ( #3163 )
2020-06-06 18:54:46 +02:00
Rokas Kupstys
5af8a8c7e8
CI: Extra warnings for builds with Clang. Backends: OpenGL3: Fix sign conversion warnings.
2020-06-05 15:50:12 +02:00
Rokas Kupstys
dc49b14e29
Misc: Fix examples of using other OpenGL3 bindings in Makefiles.
2020-06-05 14:05:39 +02:00
Mark Jansen
6eb66fbef3
Backends: Win32: Cache the result of a windows version check. ( #3283 )
...
This is not expected to change while the application is running :)
2020-06-05 01:23:18 +02:00
ocornut
79fbab543d
Minor fix to avoid undefined behavior sanitizer triggering ( #3276 )
2020-06-04 18:59:04 +02:00
ocornut
53dfccbe4b
imgui_freetype: Fix for rare case where FT_Get_Char_Index() succeed but FT_Load_Glyph() fails. ( #618 )
2020-06-04 17:53:50 +02:00
omar
5e976e9b05
Title capitalization ( #3280 )
2020-06-03 22:04:14 +02:00
ocornut
41e8837f59
Comments, adding some spacing in ImVec2() constructors.
2020-06-02 18:13:54 +02:00
Giovanni Funchal
3f26a07ee1
Backends: OpenGL: Fixed loader auto-detection to not interfere with ES2/ES3 defines. ( #3246 )
2020-05-25 18:57:23 +02:00
ocornut
5ddf60d8ce
Commit to facilitate branches merges
2020-05-25 18:28:25 +02:00
ocornut
a06eb83359
Examples: GLFW+Vulkan, SDL+Vulkan: Fix for handling of minimized windows. ( #3259 )
2020-05-25 18:15:59 +02:00
Rokas Kupstys
6b688561aa
CI: Test building without C++ runtime on GCC/Clang.
2020-05-25 14:43:18 +02:00
ocornut
bb2529dd48
Backends: SDL: Report a zero display-size when window is minimized, consistent with other backends.
2020-05-25 12:26:59 +02:00
ocornut
a056603d8b
Backends: Vulkan: Rename internal helper ImGui_ImplVulkanH_CreateWindow to ImGui_ImplVulkanH_CreateOrResizeWindow
2020-05-25 12:12:02 +02:00
ocornut
9c209d5a90
Minor amend 9028088 ( #3261 )
2020-05-25 11:42:45 +02:00
Nicolas Burrus
43f79aa210
Backends: OSX: import the glfw workaround to avoid missing mouse clicks. ( #3261 )
2020-05-25 11:42:45 +02:00
Nicolas Burrus
39d17ca07f
Examples: Apple: catch events from the right and other mouse buttons when using Cocoa. ( #3260 )
2020-05-25 11:29:41 +02:00
omar
d29157ce58
Moved static array with non-trivial constructors outside of function seems to remove requirement of linking with libstdc++ on some compilers.
2020-05-24 12:32:31 +02:00
omar
c8cde28cf3
IO: AddInputCharacters function ignore 0 input. ( #3252 )
...
Amend ef13d954
+ c8ea0a01
(#2541 , #2538 , #2815 )
2020-05-20 17:56:08 +02:00
Espyo
f44962c01a
Backends: Allegro: Don't call AddInputCharacter if the pressed key has no character. ( #3252 )
2020-05-20 17:48:21 +02:00
omar
75bbbda645
Examples: Update comments to get SDL2 package with msys2's pacman ( #3251 )
2020-05-20 11:44:00 +02:00
ocornut
417ac68f82
Internals: AddPolyline: Add spaces for consistency, renaming.
2020-05-18 12:07:53 +02:00
Mr. Metric
39c978f499
Fix typo/bug introduced by 0679e056
( #3231 , #3209 , #1829 , #946 , #413 )
2020-05-15 10:51:51 +02:00
omar
476daf9aac
Settings: Added ReadInitFn pre-load handler.
...
(docking branch already has it, so it'll probably conflict with same contents)
2020-05-13 23:51:29 +02:00
omar
5fdfa32cce
Update README.md
2020-05-12 15:42:29 +02:00
Maru
6b80bd9cc3
Fix GetGlyphRangesKorean() end-range to end at 0xD7A3 (instead of 0xD79D). ( #348 , #3217 )
...
https://en.wikipedia.org/wiki/Hangul_Syllables
2020-05-11 18:01:42 +02:00
Rokas Kupstys
a6f4b0fd70
Nav, Menus: Fix vertical wrap-around in menus or popups created with multiple appending calls to BeginMenu()/EndMenu() or BeginPopup/EndPopup(). ( #3223 , #1207 )
...
First call to EndPopup() called NavRequestTryWrapWindow() which performed wrap-around operation while we were not done composing menu. This resulted in navigation wrapping around to first item.
Since wrap-around operation is only valid in last call to EndPopup() and there is no way to know which call is last - this operation is delayed to the end of the frame.
2020-05-11 15:30:12 +02:00
omar
7b3d379819
FocusWindow(NULL) correctly steal active id from previous window. ( #1738 ) amend b0a9bbf6
2020-05-08 18:36:05 +02:00
Albert Vaca
685ca27d84
Backends: OpenGL: On OSX, if unspecified by app, made default GLSL version 150. ( #3199 )
2020-05-08 17:32:34 +02:00
omar
4f33dd15c4
Internals: stand-in for large branches to facilitate merging.
2020-05-08 17:00:11 +02:00
omar
5f752a5ba9
Internals: shuffling some sections (2)
2020-05-08 16:30:14 +02:00
omar
f466cfc2ca
Internals: shuffling some sections, added index.
2020-05-08 16:21:00 +02:00