ocornut
|
1b51a88bba
Fonts: moved compare operators to internal. Removed commented out ones aimed legacy backends: not needed anymore since we didn't rename ImTextureID.
|
3 tháng trước cách đây |
ocornut
|
39f6c793b3
Fonts: proof of concept support for user textures.
|
3 tháng trước cách đây |
ocornut
|
91ed6e67b4
Fonts: fixed support for multiple atlases.
|
4 tháng trước cách đây |
ocornut
|
fad5280d4c
Fonts: fixed broken support for legacy backend due to a mismatch with initial pre-build baked id.
|
3 tháng trước cách đây |
ocornut
|
f6735c223c
Fonts: remove ImFontHooks in favor of a AddRemapChar() implementation.
|
4 tháng trước cách đây |
ocornut
|
89e880dfd1
Fonts: adding ImFontHooks for codepoint remapping.
|
4 tháng trước cách đây |
ocornut
|
b32ef3c05d
Fonts: make RasterizerDensity a dynamic field. (temporarily exposed as SetFontRasterizerDensity()).
|
4 tháng trước cách đây |
ocornut
|
8140a9d8a6
Fonts: comments on ImTextureData fields.
|
4 tháng trước cách đây |
ocornut
|
2b0d49a905
Fonts: make ImFont::Sources a vector.
|
4 tháng trước cách đây |
ocornut
|
e7efe94fd2
Fonts: shallow rework of ImFontAtlasBakedAddFontGlyph() to facilitate upcoming change.
|
4 tháng trước cách đây |
ocornut
|
c4fa9bb61f
Fonts: add ImFontGlyph::SourceIdx. Extract code out of DebugNodeFont() into DebugNodeFontGlyphesForSrcMask().
|
4 tháng trước cách đây |
ocornut
|
bcd1a94b89
Fonts: Extract ImFontAtlasBuildGetFontBaked() out of ImFont::GetFontBaked() mostly for consistency with upcoming changes + tweak locals in AddFont().
|
4 tháng trước cách đây |
ocornut
|
ed2bb2cff0
Fonts: encode additional data in ImFontAtlasRectId to detect invalid id + added Rects debug browser.
|
4 tháng trước cách đây |
ocornut
|
12599da53d
Fonts: do not mark whole ImTextureData struct as IMGUI_API to fix warning when used in ImVector<> (8559)
|
5 tháng trước cách đây |
ocornut
|
1ea9ff3677
Fonts: add optional out parameter to AddCustomRect()
|
5 tháng trước cách đây |
ocornut
|
23dc46c4f8
Fonts: added RemoveCustomRect().
|
5 tháng trước cách đây |
ocornut
|
e9cf3de58f
Fonts: moved ImFontAtlasRectId back to public API.
|
5 tháng trước cách đây |
ocornut
|
db30e1b5b6
(Breaking) Fonts: rework GetCustomRect() api. Reintroduce ImFontAtlasRect.
|
5 tháng trước cách đây |
ocornut
|
f40274702d
(Breaking) Fonts: renamed AddCustomRectRegular() -> AddCustomRect().
|
5 tháng trước cách đây |
ocornut
|
253dff7656
Fonts: Comments.
|
5 tháng trước cách đây |
ocornut
|
44498825cd
(Breaking) Fonts: PushFont() default to preserve current font size.
|
5 tháng trước cách đây |
ocornut
|
5460903f96
Fonts: awkwardly alias old TexID name to TexRef using an union (may backtrack and just keep old name)
|
5 tháng trước cách đây |
ocornut
|
a548cd9934
Fonts: avoid both ImTextureRef fields being set simultaneously.
|
5 tháng trước cách đây |
ocornut
|
0fff7ceda4
Fonts: comments, tweaks, minor amends.
|
5 tháng trước cách đây |
ocornut
|
e41bf16ff1
Fonts: fixed ImTextureID() being zero-cleared instead of using ImTextureUserID_Invalid. .
|
5 tháng trước cách đây |
ocornut
|
8bd1fc4f04
Textures: Added ImTextureRef::GetTexID() mostly for consistency.
|
5 tháng trước cách đây |
ocornut
|
41517bca0c
(Breaking) Fonts: renamed CalcCustomRectUV() to GetCustomRectUV() for simplicity.
|
5 tháng trước cách đây |
ocornut
|
f816b861fc
(Breaking) Fonts: rename GetCustomRectByIndex() to GetCustomRect(). Made return struct const.
|
5 tháng trước cách đây |
ocornut
|
85d0507580
Fonts: narrowed invalid value for ImFontAtlasRectId to -1 a we will change implementation.
|
5 tháng trước cách đây |
ocornut
|
144f444217
Fonts: fixed memory leaks, shutting down font loader, and on AddFont() failure in FreeType backend.
|
5 tháng trước cách đây |