2017-09-28 |
Separator(): Tweak Logging so that the separator text is aligned according to tree padding.
omar
committed
on 28 Sep 2017
|
---|---|
Fixed IsItemHovered() - part of the processing has to be done in ItemAdd() because the widget may alter clipping rectangle temporarily.
omar
committed
on 28 Sep 2017
|
|
2017-09-27 |
Refactor to move the responsability of SetHovered() to ItemHoverable() - previously IsHovered(). Simpler and the parallel to ItemAdd is clearer with the new name.
omar
committed
on 27 Sep 2017
|
Removed another msileading difference between the hovered functions (IsWindowContentHoverable() uses the root window already). Sorry for the commit spam! (making small commit to easily be able to Bisect those in case I make a mistake)
omar
committed
on 27 Sep 2017
|
|
IsItemHovered(), IsHovered(): Shallow tweaks, eventually removed all the braces.
omar
committed
on 27 Sep 2017
|
|
Internals: Moved IsWindowContentHoverable() in the file
omar
committed
on 27 Sep 2017
|
|
IsItemHovered(), IsHovered(): Shallow tweaks to make them more symetrical. Removed one set of braces.
omar
committed
on 27 Sep 2017
|
|
Internals: ButtonBehavior(), IsHovered() moved the responsability of flatten_child higher level to ButtonBehavior() - not super sure about the elegance of this
omar
committed
on 27 Sep 2017
|
|
IsItemHovered(), ItemAdd(): finishing cleaning up, moved the code to IsItemHovered() so ItemAdd() is more lightweight and the two IsXXXHovered functions are now very similar, making their differences less confusing.
omar
committed
on 27 Sep 2017
|
|
ItemAdd(): more re-ordering of tests to match IsHovered() + comments
omar
committed
on 27 Sep 2017
|
|
IsItemHovered(), ItemAdd(): Fixed seemingly unnecessary comparaison of root windows, makes IsItemHovered() more consistent with internal IsHovered().
...
omar
committed
on 27 Sep 2017
|
|
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
|
|
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
|
|
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
|
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
|
|
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
|
|
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
|
|
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
|