omar
304de0ee1b
ImFontConfig: Comments, const.
7 years ago
omar
40f608ce9b
Version 1.52 WIP
7 years ago
omar
55a6209931
Version 1.51
7 years ago
omar
bc78535bbf
Merge branch 'master' of https://github.com/ggtucker/imgui into ggtucker-master
...
# Conflicts:
# imgui.cpp
# imgui.h
8 years ago
omar
1065a7b95b
ImFontAtlas::AddFontDefault: Made it possible to override size (even if it isn't really recommended)
8 years ago
omar
8be7a60f20
ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. ( #618 )
8 years ago
omar
1086c87767
ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. ( #618 )
8 years ago
omar
4075cc58e9
ImFontAtlas; Re-arranging code to simplify implementation of imgui_freetype ( #618 )
8 years ago
omar
d970957e2d
ImFontAtlas: Draft of an api to submit custom rectangle (not exposed). Atlas default texture chunk using it. (WIP: we are still storing mouse UV outside in GImGui)
8 years ago
omar
24a78767d2
Merge branch 'master' into styles
...
# Conflicts:
# TODO.txt
8 years ago
omar
4a7e1ff4d4
ImFontAtlas: Some shallow renaming + added an assert for clarification
8 years ago
omar
0be4f66d89
ImFontAtlas: Shuffling some code inside Build() to make upcoming diffs less confusing (nb: we might break compat with forks of Build() like #618 )
8 years ago
James Wallis
9239e91dc9
Whitespace fix to previous
8 years ago
James Wallis
718f00d651
Make font atlas packing padding configurable
8 years ago
omar
18b50f8eba
Comments
8 years ago
omar
f8f382221c
ImVector: added resize() variant with initialization value
8 years ago
omar
7b7845d764
ImFont::CalcWordWrapPositionA: minor optimization
8 years ago
omar
d258287c92
Revert d2c219d
#826 + tidying up ImFont::RenderChar()
8 years ago
omar
d2c219df84
Merge pull request #826 from swetland/patch
...
ImFont: add RenderGlyph() to allow rendering of individual glyphs post-query
8 years ago
omar
6a4064e5f2
PathArcToFast: Minor renaming for clarification. Comments.
8 years ago
omar
4fd148f4f9
Added ImFontAtlas::GlyphRangesBuilder helper + doc
8 years ago
omar
e63ebd997f
Use ~IM_COL32_A_MASK instead of IM_COL32(255,255,255,0)
8 years ago
omar
df56879883
imDrawList::PathRect() uses ImGuiCorner_ enums. Should fully promote this to imgui.h at some point.
8 years ago
omar
1987e23ce5
ImDrawList::PrimReserve() minor renaming of locals to make things clearer
8 years ago
omar
afae9398cb
Comments. Removed sort-of duplicate access to GImGui->Font in ImDrawList::AddText() so it's only in one place.
8 years ago
omar
12d265fa31
Version 1.51 WIP tag
8 years ago
omar
a2f7c40e30
Fixed comment ( #1178 )
8 years ago
omar
5e1caaaef3
Version 1.50
8 years ago
omar
9da53bcecd
ImFontConfig: Removed MergeGlyphCenterV in favor of a more multipurpose ImFontConfig::GlyphOffset. (Breaking change)
8 years ago
omar
c5c77a3476
ImFontConfig: Added GlyphOffset to explicitely offset glyphs at font build time, useful for merged fonts. May remove MergeGlyphCenterV soon.
8 years ago
omar
0828a1fd6c
Fixed computation of ImFont::MetricsTotalSurface not taking oversampling into account
8 years ago
omar
a0a6c8a2ef
Renamed ImDrawList::PathFill() to ImDrawList::PathFillConvex() for clarity. (breaking API)
8 years ago
omar
6517d68cdf
ImDrawList::AddImage* renamed uv_ parameters to be more consistent. Fix AddImageQuad to use IM_COL32_A_MASK ( #1009 )
8 years ago
Peter
659b3fd259
Add ImDrawList::AddImageQuad
...
Adds a function
AddImageQuad(user_texture_id, a, b, c, d, uva, uvb, uvc, uvd, col)
that shows a texture on a full quad. This allows showing arbitrary
rotations of a texture.
8 years ago
omar
670775ac22
Added assert/comment about using MergeMode ( #1100 )
8 years ago
omar
e10ceebd36
ImFont: Store the texture surface used to get an idea of how costly each font is.
8 years ago
omar
b84eac53d8
ImFont: Reorder field initialization to match declaration order
8 years ago
omar
b8043d3ee5
Internal: Renamed ImLoadFileToMemory to ImFileLoadToMemory to be consistent with ImFileOpen + fix mismatching .h name ( #917 )
8 years ago
ocornut
68df09cf47
Fixed word-wrapping which would never wrap after a 1 character word. (thanks @sronsse)
8 years ago
Geoffrey Tucker
66c4281290
Began improvements to columns API by splitting the Columns() function into BeginColumns() and EndColumns() and adding additional flags. The columns data still needs to be placed into a stack.
8 years ago
ocornut
8553bab241
Ignoring overzealous GCC warnings ( #883 )
8 years ago
ocornut
620497e466
Font: Font name include size
8 years ago
ocornut
b2f0ea6c0d
Font: Default font given explicit name "ProggyClean.ttf"
8 years ago
ocornut
907dd2ed20
Comments ( #896 )
8 years ago
ocornut
d567595dde
ImDrawList: AddRect(), PathRect() default rounded_corner 0x0F->~0/-1 so it appears less obscure in IDE completions
8 years ago
ocornut
e07d45709f
ImDrawList: Uses IM_COL32_A_MASK macro instead of hardcoded zero alpha testing ( #844 )
8 years ago
Jeongseok Lee
1d7e05327b
Fix clang warning: unknown warning group '-Wreserved-id-macro'
8 years ago
ocornut
68c81739bf
Minor tidying up following merge BGRA color PR ( #844 )
8 years ago
Michał Cichoń
1999c01db8
Apply Omar feedback and convert remaining 0xAABBGGRR's into IM_COL32(RR,GG,BB,AA) format.
8 years ago
ocornut
35c6fd682f
Inhibiting a ??e sequence in the embedded font. Shouldn't be treated as a trigraph but consistent with encoder ( #839 )
8 years ago
ocornut
87d99fce6b
ImFont: CalcWordWrapPositionA() fixed font scaling with fallback character. (followup to 86666489df
)
8 years ago
Brian Swetland
5a47346f5a
ImFont: add RenderGlyph() to allow rendering of individual glyphs
8 years ago
ocornut
8efd05a148
Tab->Spaces, missing spaces, typos
9 years ago
Adisorn Aeksatean
4141144b21
Added GetGlyphRangesThai()
9 years ago
ocornut
4961b2ea18
Speculative build fix for FreeBSD+GLIBC configuration
...
See
a1f9b62dd0
9 years ago
ocornut
d79186931e
ImDrawList: Fixed a (rarely occuring) bug with merging with previous command + unnecessary OverlayDrawList command
9 years ago
ocornut
65a525550e
ImFont: Allowing to use up to 0xFFFE glyphs in same font (increased from previous 0x8000)
9 years ago
ocornut
5d4cf1c3f3
Version 1.50 WIP
9 years ago
ocornut
adb85d800d
Version 1.49
9 years ago
ocornut
b4302187dd
ImFontAtlas: Tweak to allow MergeMode to apply on a font that isn't the previous one, by setting the DstFont field.
9 years ago
Branimir Karadžić
a59a04f4d0
Fixed iOS/OSX build.
9 years ago
omar
8af76d56b4
Merge pull request #639 from sergof/conversion-warnings
...
Ignore various anal GCC warnings.
9 years ago
ocornut
8b428e8c74
Added CreateContext/DestroyContext/GetCurrentContext/SetCurrentContext() ( #586 , #269 )
9 years ago
Sergej Reich
6e8579fc14
Ignore implicit conversion warnings
9 years ago
ocornut
f22b6e1e09
Fixed/silenced various absurd GCC warnings from outer space ( #626 )
9 years ago
ocornut
79ad22e1f2
Fixed various Clang -Weverything warnings ( #626 )
9 years ago
ocornut
7406d64c64
PushClipRect(): not altering passed values, leave it to caller responsibility to floor properly (followup #582 )
9 years ago
ocornut
ea6b615179
Made ImGui::PushClipRect()/PopClipRect() public. Changed ImDrawList::PushClipRect() prototype. Fixed demo. ( #610 )
9 years ago
ocornut
4b6e9ac396
ImFont: Added AddRemapChar() helper ( #609 )
9 years ago
ocornut
727ca4bd17
ImFont: IndexLookup stores short instead of int, so typical ascii-set lookup fits in 256 bytes
9 years ago
ocornut
a20d69f9ce
ImFont: Tweaking layout, shaving bit of alignment and simple hot/cot split
9 years ago
ocornut
44fb99542f
ImFont: RenderText() useful directly without ImDrawList::AddText().. Changed prototype. Reserving vertices after skipping non-visible lead.
9 years ago
ocornut
fe73a23cf5
ImFont: Added RenderChar() helper.
9 years ago
ocornut
d92f1deff8
ImDrawList: Added AddQuad(), AddQuadFilled() helpers.
9 years ago
Sergej Reich
d5eb87d0a2
Fix font config propagation in FontFromMemoryCompressedTTF()
9 years ago
ocornut
1588eda1ac
Version 1.49 WIP
9 years ago
ocornut
95cbcdca3f
Version 1.48
9 years ago
omar
39c9bb73e8
Merge pull request #563 from mneumann/fix_dragonfly
...
Fix compilation on DragonFly BSD
9 years ago
ocornut
2b7eeba143
Trim trailing spaces
9 years ago
Michael Neumann
adb4d4d48b
Fix compilation on DragonFly BSD
9 years ago
ocornut
5bed7144fe
ImDrawList: Added AddTriangle() function
9 years ago
ocornut
9260d46c2c
Comments
9 years ago
ocornut
b495a52fc0
ImDrawList: Allow AddText(ImFont* font, float font_size, ...) to take NULL/0.0f as default
9 years ago
ocornut
928832a5bc
Various tidying up / comments, moved columns functions declarations, no functional changes
9 years ago
ocornut
9cbc6e196b
ImDrawList: AddRect() added optional thickness parameter + updated demo
9 years ago
ocornut
86fb3a6a3c
ImDrawList: AddCircle() takes optional thickness parameter
9 years ago
ocornut
2efaa9a86f
ImDrawList: fixed index overflow check broken by AddText(). Added extra assert. ( #514 )
9 years ago
ocornut
595684e08c
Remove dependency on <new> header ( #484 , #504 )
...
(Now expecting something to fail somewhere..)
9 years ago
ocornut
b6fe5eb4b4
Cleaned up the top of imgui.h, documenting all types / forward declarations
9 years ago
ocornut
a81a5e5235
Commented Clang warning that's not compatible with all versions. Comments.
9 years ago
ocornut
e585204d82
ImFontAtlas: heuristic increase texture width up to 4096 with 4000+ glyphs. Various comments ( #491 )
9 years ago
ocornut
76ca7c42ca
ImDrawList: Added PrimQuadUV() helper to ease custom rendering of textured quads
9 years ago
ocornut
d212401624
Fixed ImDrawList::AddRect() which used to render a rectangle 1 px too large on each axis., fixed Image(), ImageButton() as well ( #457 )
9 years ago
ocornut
6dbdc69131
ImDrawList: Fixed AddCircle() to fit precisely within bounding box like AddCircleFilled() and AddRectFilled() (followup #457
9 years ago
ocornut
dc4a07c49a
Fixed various Clang -Weverything warnings
9 years ago
ocornut
e41568f87f
Version number 1.48 WIP + Update binaries
9 years ago
ocornut
24d186753e
Version number 1.47
9 years ago
ocornut
2849596069
Comments about ImDrawList::PushClipRect
9 years ago
ocornut
e4cf44e967
Minor rebranding "ImGui" -> "dear imgui" ( #21 )
9 years ago
ocornut
0b10bec71f
ImDrawList: Simplified code and added check to avoid mis-recycling a callback command.
9 years ago