omar
|
3b85a8b6a0
|
Demo: Added an extra test related to baseline and fixed an id collision.
|
7 years ago |
omar
|
0106dcbd02
|
Fixed IsItemHovered() - part of the processing has to be done in ItemAdd() because the widget may alter clipping rectangle temporarily.
|
7 years ago |
omar
|
99c7622a1b
|
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().
|
7 years ago |
omar
|
9e1ad7295f
|
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.
|
7 years ago |
omar
|
10bb9524eb
|
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.
|
7 years ago |
omar
|
a34edb810e
|
Demo: Fixed overlay demo keeps resizing (in case, e.g.: font changes)
|
7 years ago |
omar
|
4b82759598
|
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.
Demo: Simple-overlay window uses the SetWindowPos pivot to select a corner to position itself at.
|
7 years ago |
omar
|
1ff27d7db8
|
Added io.WantMoveMouse flags from Nav branch so Examples/Binding can already implement it. (#787)
|
7 years ago |
omar
|
564c97b87e
|
Comments
|
7 years ago |
omar
|
b409d399c8
|
Demo: style editor output tweak so it is easier to modify the output code.. + TODO list update
|
7 years ago |
omar
|
9e2f202f05
|
Demo: Not using the undesirable Begin() overload.
|
7 years ago |
omar
|
6a1ba317c7
|
Demo: Minor coding style tweaks so bgfx copy needs less patching.
|
7 years ago |
omar
|
37f3a718c6
|
Marked all fmt + va_list functions with format attribute so GCC/Clang can warn about them. Not ignoring -Wsuggest-attribute=format anymore for GCC/Clang.
|
7 years ago |
omar
|
40f608ce9b
|
Version 1.52 WIP
|
7 years ago |
omar
|
55a6209931
|
Version 1.51
|
7 years ago |
omar
|
82c3116b4f
|
Demo: Displaying version number in test window.
|
7 years ago |
omar
|
54bdd00df7
|
Columns: Fix for explicit content width and scrollbar. (#519, #125)
|
7 years ago |
omar
|
1ebd7ec049
|
Demo: Columns: Added Horizontal Scrolling demo. Tweaked another Columns demo. (#519, #125, #913)
|
7 years ago |
omar
|
19a42cb2fd
|
Columns: Moved BeginColumns/EndColumns/flags from #913 to imgui_internals.h + minor shallow tweaks. Removed demo code temporarily. (#125)
|
7 years ago |
omar
|
b4eeb4aa8d
|
Renamed GetStyleColName() to GetStyleColorName() for consistency. Extra comments in Api Breaking Changes section.
|
7 years ago |
omar
|
91d841dd5f
|
Added PushStyleColor(ImGuiCol idx, ImU32 col) overload. (Which _might_ cause an "ambiguous call" compilation error if you are using ImColor() with implicit cast. Cast to ImU32 or ImVec4 explicily to fix.)
|
7 years ago |
omar
|
52f1a4124c
|
Demo: Tweaked Fonts section.
|
7 years ago |
omar
|
68bf5ecbc1
|
Marked the weird IMGUI_ONCE_UPON_A_FRAME helper macro as obsolete. prefer using the more explicit ImGuiOnceUponAFrame. Removed the broken __LINE__ from IMGUI_ONCE_UPON_A_FRAME
|
7 years ago |
omar
|
668a4bf1bc
|
Demo: style editor output tweak so it is easier to modify the output code.. + TODO list update
|
7 years ago |
omar
|
18b50f8eba
|
Comments
|
7 years ago |
omar
|
97fccbdb73
|
Demo: Fixed conflicting id introduced in be9628494a . Added tooltip.
|
7 years ago |
omar
|
5eef7dd82f
|
Demo: Consoles: Added "Copy" button to demonstrate LogToClipboard
|
7 years ago |
omar
|
7e452ec737
|
Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
|
7 years ago |
omar
|
be9628494a
|
Demo: Rearranged everything under Widgets in a more consistent way.
|
7 years ago |
omar
|
d888de4483
|
Demo: Merged a few demo tweaks from navigation branch to minimize drift.
|
7 years ago |
omar
|
942cb0e1f2
|
Added SetColorEditOptions(). ColorPicker4: context menu to select picker type and alpha bar. Reorganized flags (again!). (#346)
|
7 years ago |
omar
|
d952a8d3bf
|
Demo: Color widget demo tweaks (#346)
|
7 years ago |
omar
|
e36b41cbd0
|
Fixed Y scroll aiming when Horizontal Scrollbar is enabled (#665). Tweak log demo.
|
7 years ago |
omar
|
233a6efeba
|
Fixed GetScrollMaxX(), GetScrollMaxY(). Tweak demo to display more data. Using functions in Begin(). (#1271)
|
7 years ago |
omar
|
cdea8ca94f
|
Demo: Comment about 'static' and some tweaks (#1267)
|
7 years ago |
omar
|
f6460970c5
|
ColorPicker: Hue wheel + SV triangle picker mode (mode selection flags still wip, missing context menu and persistent options). (#346)
|
7 years ago |
omar
|
3075d8bcd4
|
ColorEdit4: Preliminary support for ImGuiColorEditFlags_HDR flag (currently only lift limits). (#346)
|
7 years ago |
omar
|
91a4f5df25
|
Demo: Tweaks
|
7 years ago |
omar
|
90fcd4a829
|
Renamed ImGuiColorEditFlags_NoColorSquare to ImGuiColorEditFlags_NoSmallPreview (#346)
|
7 years ago |
omar
|
4d844ffde1
|
Demo: custom ColorPicker popup example tweaks (#346)
|
7 years ago |
omar
|
f040547a5f
|
Demo: custom ColorPicker popup example (#346)
|
7 years ago |
omar
|
fef8aac523
|
ColorPicker4: hue/alpha bars draw arrows that would look right on all background. RenderArrow helper. (#346)
|
7 years ago |
omar
|
35186a1165
|
Demo: Comments (#346)
|
7 years ago |
omar
|
3926bd08e1
|
ColorPicker: Added ImGuiColorEditFlags_NoSidePreview flag + optional reference color. Added more demo code. (#346)
|
7 years ago |
omar
|
6bc1572d31
|
ColorPicker: Comments. Single input value mode allow access to context-menu options. (#346)
|
7 years ago |
omar
|
973d4a361b
|
ColorPicker: Forward AlphaPreview flag to its individual inputs/sliders. Split code into extra lines to make logic more readable. (#346)
|
7 years ago |
omar
|
cdcda9ff68
|
ColorEdit4: Store edit options per window. Demo: Letting user change edit mode. (#346)
|
7 years ago |
omar
|
c36d59a42a
|
ColorEdit, ColorPicker: AlphaPreview, AlphaPreviewHalf are explicit. Updated demo and using in style editor. 3x3 checkerboard more readable in half mode. (#346)
|
7 years ago |
omar
|
b7a563276d
|
ColorTooltip: Honor ImGuiColorEditFlags_HalfAlphaPreview flag by calling ColorButton(). Added HalfAlphaPreview to demo. (#346)
|
7 years ago |
omar
|
2e37db9002
|
ColorEdit4: Fix not forwarding ImGuiColorEditFlags_AlphaBar flag to ColorPicker4 (#346)
|
7 years ago |