2017-09-27 |
ItemAdd(): re-ordering the tests, submission should now be faster.
omar
committed
on 27 Sep 2017
|
---|---|
ItemAdd(), not performing computation for IsItemRectHovered() which does them itself, allowing us in the next commit to optimize ItemAdd() and make its logic more consistent with IsHovered().
omar
committed
on 27 Sep 2017
|
|
Moved implementation of Hovered-related functions next to each others + comments, before I attempt to work on them. No functional change here.
omar
committed
on 27 Sep 2017
|
|
Examples: Avoid using ImColor() to not tempt newcomers into looking at it
omar
committed
on 27 Sep 2017
|
|
Fixed not being able to move a window by clicking on one of its child window (#1337, #635), broken by https://github.com/ocornut/imgui/commit/313d388bba42e0634a02b976dcdbae238d25eddc
omar
committed
on 27 Sep 2017
|
|
Removed extraneous ImGui:: prefixes. Declared ColorEditOptionsPopup in imgui_internals.h. Tweaked internal signatures.
omar
committed
on 27 Sep 2017
|
|
ImFontAtlas: Fixed calling Clear() and rebuilding (broken in
3fe2ecf ) thanks @pdoane @mikesart
omar
committed
on 27 Sep 2017
|
|
2017-09-26 |
Combo: Cleaned up, removed unnecessary code (looks like this part went untouched for a long time!).
omar
committed
on 26 Sep 2017
|
ImFontAtlas: Added support for CustomRect API to submit custom rectangles to be packed into the atlas / and map them as font glyphs
omar
committed
on 26 Sep 2017
|
|
Minor comments
omar
committed
on 26 Sep 2017
|
|
ImFont: Renamed (supposedly internal) fields (e.g. XAdvance to AdvanceX). Custom text renderers might be affected if they didn't use the GetCharAdvance() helper function.
omar
committed
on 26 Sep 2017
|
|
ImFont: Renamed ImFont::Glyph to ImFontGlyph (for consistency and so ImFontAtlas types can use it without ordering half of the file). Left a redirection type.
omar
committed
on 26 Sep 2017
|
|
ImFontAtlas: Refactored internals API to 1) avoid building lookup table multiple times for merged fonts + 2) allow the mapping of custom icons inside fonts (wip, uncommited)
omar
committed
on 26 Sep 2017
|
|
ImFontAtlas: Comments and minor reorganization of declaration in header file.
omar
committed
on 26 Sep 2017
|
|
ImFont: Split some building code into a AddGlyph() helper (that custom rect code and imgui_freetype can use)
omar
committed
on 26 Sep 2017
|
|
Separator(): output vertical separator when used in horizontal layout mode, so it works in menu bars.
omar
committed
on 26 Sep 2017
|
|
Horizontal layout does the minimum job to be usable internally - not exposed (#97)
omar
committed
on 26 Sep 2017
|
|
Comments, debug code (commented), todo list
omar
committed
on 26 Sep 2017
|
|
Fix static misusage error with decent compilers. Error introduced in
4b82759
omar
committed
on 26 Sep 2017
|
|
2017-09-25 |
WantCaptureMouse: Tweaked logic so WantCaptureMouse can stay false when e.g. hovering over void while an InputText() is active. (#621)
omar
committed
on 25 Sep 2017
|
Exposed PushMultiItemsWidths() to imgui_internal.h
omar
committed
on 25 Sep 2017
|
|
Merge pull request #1113 from Urmeli0815/ImGuiSelectableFlags_MenuItem
...
omar
authored
on 25 Sep 2017
GitHub
committed
on 25 Sep 2017
|
|
Begin: Fixed auto-fit calculation code that predict the presence of ascrollbar so it works in the case size constraints are used. I actually don't need this fix now, but earlier experiment with BeginCombo() required this fix.
omar
committed
on 25 Sep 2017
|
|
Begin: Moving some code into a CalcSizeAutoFit() function.
omar
committed
on 25 Sep 2017
|
|
BeginCombo(): rework internals a little to make it easier to provide custom combo-like elements relying in BeginCombo().
...
omar
committed
on 25 Sep 2017
|
|
Demo: Fixed overlay demo keeps resizing (in case, e.g.: font changes)
omar
committed
on 25 Sep 2017
|
|
SetNextWindowPos: added a ImVec2 pivot parameter for positioning a given a center, bottom-right position, etc. As a generalization of SetNextWindowPosCenter() which is now obsolete. This will be useful for combo-like popups as well.
...
omar
committed
on 25 Sep 2017
|
|
Begin(): Minor tidying up of flow
omar
committed
on 25 Sep 2017
|
|
Window: Tweaked ApplySizeFullWithConstraint() -> CalcSizeFullWithConstraint() so it can be used without side-effect
omar
committed
on 25 Sep 2017
|
|
Popups: Exposing a little more of popups internals in imgui_internals.h
omar
committed
on 25 Sep 2017
|