Elias Daler
8606d9fa11
Fix Clang/GCC's null-conversion warning: ( #2081 )
...
The warning is "implicit conversion of NULL constant to 'unsigned int' [-Wnull-conversion]". Happens when ImTextureID is not a void*, but unsigned int, for example.
ago%!(EXTRA string=7 years)
omar
ede3a3b92d
Fixes crash introduced in previous commit 9cf94d5
.
ago%!(EXTRA string=7 years)
omar
9cf94d5dd6
RenderText(), InputTextMultiline(): Optimization for large text by using memchr, wmemchr, wcschr when appropriate.
ago%!(EXTRA string=7 years)
omar
5719b23e01
ImDrawList: Fixed AddConvexPolyFilled() undefined behavior when passing points_count smaller than 3, in particular, points_count==0 could lead to a memory stomp if the draw list was previously empty.
ago%!(EXTRA string=7 years)
ice1000
201fcfd2e5
Internals: Replace unsigned short with ImWchar when dealing with character storage. ( #2078 )
ago%!(EXTRA string=7 years)
omar
eb7033e75b
Version 1.66 WIP
ago%!(EXTRA string=7 years)
omar
e0cab5664a
Version 1.65
ago%!(EXTRA string=7 years)
omar
5a679a45cc
Renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and stb_rect_pack.h to imstb_rectpack.h. ( #1718 , #2036 )
...
If you were conveniently using the imgui copy of those STB headers in your project, you will have to update your include paths.
The reason for this change is to avoid conflicts for projects that may also be importing their own copy of the STB libraries. Note that imgui's copy of stb_textedit.h is modified.
ago%!(EXTRA string=7 years)
omar
e58bc3d5b7
Refactor: Tweaked and improved the sectioning to facilitate grepping/moving around and applied to all files. ( #2036 )
ago%!(EXTRA string=7 years)
omar
bcb1441ce7
Version 1.65 WIP
ago%!(EXTRA string=7 years)
omar
48db5713d6
Version 1.64
ago%!(EXTRA string=7 years)
omar
38cfcf9fbc
Tweak comments and indexes
ago%!(EXTRA string=7 years)
omar
df37a156e8
Refactor: Moved Scrollbar function from imgui.cpp to imgui_widgets.cpp, added file index ( #2036 )
ago%!(EXTRA string=7 years)
omar
f2aa124eb8
Version 1.64 WIP
ago%!(EXTRA string=7 years)
omar
9e0f24dcb6
Version 1.63
ago%!(EXTRA string=7 years)
omar
92edb7a4e3
Internals: Tidying up, moving helpers to imgui_internal.h (in prevision of 1.64 refactor)
ago%!(EXTRA string=7 years)
omar
a082692b0a
ImFontAtlas Comments ( #2042 ) + added ImGuiFontAtlas_None for consistency.
ago%!(EXTRA string=7 years)
omar
68448c5faa
ImDrawList: Large text passed to AddText() are being scanned for their end in order to avoid pre-reserving too many vertices.
ago%!(EXTRA string=7 years)
omar
975b5a7310
ImDrawList: Fixed clipping of leading lines above the clipping rectangle from counting in the worst case vertices reservation. (fix code added in #200!)
ago%!(EXTRA string=7 years)
omar
fda9dc8e18
Internals: Extracted RenderMouseCursor() out of EndFrame(). Moved to imgui_draw.cpp along with RenderArrowPointingAt(). Comments. ( #2013 )
ago%!(EXTRA string=7 years)
omar
4d5dcdb57a
Internals: Changed signature of ShadeVerts functions to remove pointers. ( #1286 , #1700 , #1986 )
ago%!(EXTRA string=7 years)
Tommy Nguyen
b5b972d0ef
ImFontAtlas::AddFontDefault: Made it possible to override glyph ranges. ( #1965 )
ago%!(EXTRA string=7 years)
omar
6211f40f3d
Internals: Drag and Drop: default drop preview use a narrower clipping rectangle (no effect here, but other branches uses a narrow clipping rectangle that was too small so this is a fix for it) + Comments
ago%!(EXTRA string=7 years)
omar
4ebd442a24
Added asserts to catch illegal modifications of the font atlas between NewFrame() and EndFrame()/Render(). ( #1958 )
ago%!(EXTRA string=7 years)
Rokas Kupstys
7e59eb026b
Fix warning when IMGUI_DEFINE_MATH_OPERATORS is already defined by build system. ( #1950 )
ago%!(EXTRA string=7 years)
omar
5e73e969fb
Comments, exposed a few things in imgui_internal.h for consistency, added ImQsort wrapper.
ago%!(EXTRA string=7 years)
omar
23288547ec
Revert part of c7016c2
incorrectly renaming ImGuiCol_NavWindowingHighlight to ImGuiCol_NavWindowListHighlight, that was wholly unnecessary (and not documented!). (also invalidate #1939 )
ago%!(EXTRA string=7 years)
omar
c7016c25e8
Nav: Added a CTRL+TAB window list and changed the highlight system accordingly. ( #787 )
ago%!(EXTRA string=7 years)
omar
93950b8c32
Internals: Removed unused ShadeVertsLinearAlphaGradientForLeftToRightText code.
ago%!(EXTRA string=7 years)
omar
645ab6633c
Fixed a include build issue for Cygwin in non-POSIX (Win32) mode. ( #1917 , #1319 , #276 )
ago%!(EXTRA string=7 years)
omar
6e67afc500
Tweaked software mouse cursor offset to match the offset of the corresponding Windows 10 cursors. (followup to #1914 )
ago%!(EXTRA string=7 years)
omar
62b3d7c51e
Fixed software Hand cursor from not actually working. Fixed demo from crashing. Fixed typo and extraneous trailing space. Added Changelogs. ( #1913 , #1914 )
ago%!(EXTRA string=7 years)
Aiekick
ecd9a223e3
add hand cursor support (+11 squashed commit)
ago%!(EXTRA string=7 years)
omar
c1d8dee6c5
Version 1.63 WIP
ago%!(EXTRA string=7 years)
omar
fb0106fad2
Demo: Fixed incorrect response to Begin() returning false in overlay demo (which cannot happen since we don't have a title bar, but that doesn't make it a good behaving demo!).
ago%!(EXTRA string=7 years)
omar
1b74e3be02
Version 1.62
ago%!(EXTRA string=7 years)
omar
f5bf9f509c
ImFontConfig: Added GlyphMinAdvanceX/GlyphMaxAdvanceX settings useful to make a font appears monospaced, particularly useful for icon fonts. ( #1869 )
ago%!(EXTRA string=7 years)
omar
d44faa165a
Added GetGlyphRangesChineseSimplifiedCommon() helper that returns a list of ~2500 most common Simplified Chinese characters. Renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish other variants and discourage using the full set. ( #1859 )
...
Changed the accumulative encoding to remove the implicit +1 which only saved a little space and made things more confusing.
ago%!(EXTRA string=7 years)
omar
6c684ae39b
Fixed GCC pre-8 build. ( #1822 ) + added bonus the non-ASCII character pasted from GCC breaks my SourceTree/Git combo
ago%!(EXTRA string=7 years)
omar
64b1645deb
Disabled GCC 8.1.0 warnings -Wclass-memaccess ( #1822 )
ago%!(EXTRA string=7 years)
omar
d5c8f404b2
Remove trailing white spaces.
ago%!(EXTRA string=7 years)
omar
036dce634e
Version 1.62 WIP
ago%!(EXTRA string=7 years)
omar
78b28d545f
Version 1.61 + todo additions
ago%!(EXTRA string=7 years)
omar
2a2bb8970d
Added ImAtof, ImCeil, ImFloorStd to IMGUI_DISABLE_MATH_FUNCTIONS for consistency. Configuration comments.
ago%!(EXTRA string=7 years)
omar
ff033f431b
Added IMGUI_DISABLE_MATH_FUNCTIONS in imconfig.h to make it slightly easier to redefine wrappers to std maths functions such as fabsf(), fmodf(), etc. Comments.
ago%!(EXTRA string=7 years)
omar
280c05e4f8
Fix to allow compiling in unity builds where stb_rectpack/stb_truetype may be already included in the same compilation unit.
ago%!(EXTRA string=7 years)
omar
0bf43b3a1b
Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory(), io.WantSaveIniSettings. ( #923 , #993 )
ago%!(EXTRA string=7 years)
omar
6eda9ed3fb
Skip missing font glyphs V2 revert changes to stb_truetype.h (
ago%!(EXTRA string=7 years)
omar
a62f195e83
Internals: Renamed IsCharIsSpace() to IsCharIsBlank*() to match standard terminlogy and added ascii/u16 variations.
ago%!(EXTRA string=7 years)
omar
28edece04f
Comments, minor tweaks
ago%!(EXTRA string=7 years)