omar
6ab20ff9bf
Minor tweaks to the user guide.
7 years ago
omar
edafbcd630
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.cpp
# imgui.h
7 years ago
omar
77df1ba9e0
Version 1.53 WIP
7 years ago
omar
c0b366b316
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.h
7 years ago
omar
9f200d10d5
Version 1.52
7 years ago
omar
fc25881207
Merge branch 'master' into navigation
7 years ago
omar
1f3372b7f1
ImFormatString, ImFormatStringV(): clarifying specs so that passing a NULL buffer should return the desired length. ( #1038 )
7 years ago
omar
d769e2515a
Merge branch 'master' into navigation
7 years ago
omar
fce41d0b55
Demo: Fixed Fonts "set as default button" not having collading id on collapsed nodes.
7 years ago
omar
e4bb9102f9
Merge branch 'master' into navigation
7 years ago
omar
6ab737a4bb
Popups: Fixed right-click to close popups not handling modal windows properly. (~#439)
7 years ago
omar
1172ff62e1
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.cpp
# imgui.h
# imgui_demo.cpp
# imgui_internal.h
7 years ago
omar
695ea45fca
IsWindowHovered(): Changed default behavior to now return false is a widget from another window is active + Added support for ImGuiHoveredFlags_AllowWhenBlockedByActiveItem. (relate to drag'n drop idoms: #143 )
7 years ago
omar
564ff2dfd3
IsItemHovered(), IsWindowHovered(): added flags to enable various and more specific behavior. Will enable improvements for popups/context menus and drag'n drop. (relate ~#439, #1013 , #143 , #925 )
...
The legacy confusing IsItemRectHovered(), IsWindowRectHovered() can be completely removed now.
Changed IsWindowHovered() behavior with default parameter: it now return false is the window is blocked by a popup.
Demo: Added tests for those two functions.
7 years ago
omar
2a32a2e662
Demos: Tweaks of popups/context/menus section.
7 years ago
omar
a03093b2d4
CollapsingHeader(bool*) variant: fixed for IsItemHovered() to work properly in the nav branch.Basically the close button now has to use ItemAdd() to be navable into, which overwrite the IsItemHovered data. ( #600 , #787 )
7 years ago
omar
29a652adee
CollapsingHeader(bool*) variant: fixed for IsItemHovered() to work properly in the nav branch.Basically the close button now has to use ItemAdd() to be navable into, which overwrite the IsItemHovered data. ( #600 , #787 )
7 years ago
omar
d96b6ecf88
Merge branch 'master' into navigation
...
# Conflicts:
# imgui_demo.cpp
7 years ago
omar
2739b6ebcd
Begin: Work toward obsoleting the 5-arguments Begin() overload. Removed bg_alpha from internal BeginEx(). (3)
7 years ago
omar
1a35766356
BeginPopupContextItem() now supports a NULL string identifier and uses the last item ID if available. For interactive items (that have an ID) this works! For non interactive items we assert.
7 years ago
omar
3833f1f7a2
Merge branch 'master' into navigation
7 years ago
omar
43b4a81b3e
Rnamed AlignFirstTextHeightToWidgets() to AlignTextToFramePadding(). Kept inline redirection function (will obsolete).
7 years ago
omar
c6e370a77a
TreeNode: Added ImGuiTreeNodeFlags_FramePadding flag
7 years ago
omar
59c6f35bf6
Added ActivateItem(), GetItemID() functions.
7 years ago
omar
518f02f4de
Demo: better demo for SetKeyboardFocusHere()
7 years ago
omar
0046c618b0
Nav: Allow to collapse tree nodes with NavLeft and open them with NavRight ( #787 , #1079 )
7 years ago
omar
cf308f4039
Nav: Fixed SetItemDefaultFocus from stealing default focus when we are initializing default focus for a menu bar layer ( #787 )
7 years ago
omar
3b85a8b6a0
Demo: Added an extra test related to baseline and fixed an id collision.
7 years ago
omar
7c2926de17
Demo: Added an extra test related to baseline and fixed an id collision.
7 years ago
omar
d394c7ad0b
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
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
cc26db8ec7
Merge branch 'master' into navigation
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
8fd4beddb8
Merge branch 'master' into navigation
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
7e8069dd23
Merge branch 'master' into navigation
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
44e8d94aba
Merge branch 'master' into navigation
7 years ago
omar
709653c330
Merge branch 'master' into styles
7 years ago
omar
38ed66f55e
Merge branch 'master' into navigation
...
# Conflicts:
# imgui_demo.cpp
7 years ago
omar
9e2f202f05
Demo: Not using the undesirable Begin() overload.
7 years ago
omar
5c4fda0fbc
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.cpp
# imgui_internal.h
7 years ago
omar
6a1ba317c7
Demo: Minor coding style tweaks so bgfx copy needs less patching.
7 years ago
omar
807322c9a5
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.cpp
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
444792f75f
Merge fixes from ,master branch
7 years ago
omar
53e73182ff
Merge branch 'master' into navigation
...
# Conflicts:
# imgui_internal.h
8 years ago
omar
54bdd00df7
Columns: Fix for explicit content width and scrollbar. ( #519 , #125 )
8 years ago
omar
1ebd7ec049
Demo: Columns: Added Horizontal Scrolling demo. Tweaked another Columns demo. ( #519 , #125 , #913 )
8 years ago
omar
19a42cb2fd
Columns: Moved BeginColumns/EndColumns/flags from #913 to imgui_internals.h + minor shallow tweaks. Removed demo code temporarily. ( #125 )
8 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
b4eeb4aa8d
Renamed GetStyleColName() to GetStyleColorName() for consistency. Extra comments in Api Breaking Changes section.
8 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.)
8 years ago
omar
bf0d9c123e
Merge branch 'master' into navigation
8 years ago
omar
24a78767d2
Merge branch 'master' into styles
...
# Conflicts:
# TODO.txt
8 years ago
omar
52f1a4124c
Demo: Tweaked Fonts section.
8 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
8 years ago
omar
668a4bf1bc
Demo: style editor output tweak so it is easier to modify the output code.. + TODO list update
8 years ago
omar
18b50f8eba
Comments
8 years ago
omar
9bf5028fd3
Merge branch 'master' into navigation
8 years ago
omar
97fccbdb73
Demo: Fixed conflicting id introduced in be9628494a
. Added tooltip.
8 years ago
omar
5eef7dd82f
Demo: Consoles: Added "Copy" button to demonstrate LogToClipboard
8 years ago
omar
73f9c9d80c
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.cpp
# imgui_demo.cpp
8 years ago
omar
7e452ec737
Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
8 years ago
omar
059e838b2c
Merge branch 'master' into navigation
8 years ago
omar
be9628494a
Demo: Rearranged everything under Widgets in a more consistent way.
8 years ago
omar
d888de4483
Demo: Merged a few demo tweaks from navigation branch to minimize drift.
8 years ago
omar
30d1e5712a
Merge branch 'master' into navigation
...
# Conflicts:
# imgui.cpp
# imgui.h
# imgui_internal.h
8 years ago
omar
942cb0e1f2
Added SetColorEditOptions(). ColorPicker4: context menu to select picker type and alpha bar. Reorganized flags (again!). ( #346 )
8 years ago
omar
d952a8d3bf
Demo: Color widget demo tweaks ( #346 )
8 years ago
omar
03700ad15e
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
omar
1c991b525a
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
8 years ago
omar
e36b41cbd0
Fixed Y scroll aiming when Horizontal Scrollbar is enabled ( #665 ). Tweak log demo.
8 years ago
omar
233a6efeba
Fixed GetScrollMaxX(), GetScrollMaxY(). Tweak demo to display more data. Using functions in Begin(). ( #1271 )
8 years ago
omar
cdea8ca94f
Demo: Comment about 'static' and some tweaks ( #1267 )
8 years ago
omar
f6460970c5
ColorPicker: Hue wheel + SV triangle picker mode (mode selection flags still wip, missing context menu and persistent options). ( #346 )
8 years ago
omar
3075d8bcd4
ColorEdit4: Preliminary support for ImGuiColorEditFlags_HDR flag (currently only lift limits). ( #346 )
8 years ago
omar
91a4f5df25
Demo: Tweaks
8 years ago
omar
90fcd4a829
Renamed ImGuiColorEditFlags_NoColorSquare to ImGuiColorEditFlags_NoSmallPreview ( #346 )
8 years ago
omar
4d844ffde1
Demo: custom ColorPicker popup example tweaks ( #346 )
8 years ago
omar
f040547a5f
Demo: custom ColorPicker popup example ( #346 )
8 years ago
omar
fef8aac523
ColorPicker4: hue/alpha bars draw arrows that would look right on all background. RenderArrow helper. ( #346 )
8 years ago
omar
35186a1165
Demo: Comments ( #346 )
8 years ago
omar
3926bd08e1
ColorPicker: Added ImGuiColorEditFlags_NoSidePreview flag + optional reference color. Added more demo code. ( #346 )
8 years ago
omar
6bc1572d31
ColorPicker: Comments. Single input value mode allow access to context-menu options. ( #346 )
8 years ago
omar
973d4a361b
ColorPicker: Forward AlphaPreview flag to its individual inputs/sliders. Split code into extra lines to make logic more readable. ( #346 )
8 years ago
omar
cdcda9ff68
ColorEdit4: Store edit options per window. Demo: Letting user change edit mode. ( #346 )
8 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 )
8 years ago
omar
b7a563276d
ColorTooltip: Honor ImGuiColorEditFlags_HalfAlphaPreview flag by calling ColorButton(). Added HalfAlphaPreview to demo. ( #346 )
8 years ago
omar
2e37db9002
ColorEdit4: Fix not forwarding ImGuiColorEditFlags_AlphaBar flag to ColorPicker4 ( #346 )
8 years ago
omar
6796e771fd
ColorEdit, ColorPicker: added ImGuiColorEditFlags_NoAlphaPreview flag ( #346 ). Reorder flags again.
8 years ago
omar
d29a4c5e5c
Demo: Removed the color button from the context menu example because it is misleading now that our color widget have tooltip/context menus themselves. ( #346 )
8 years ago
omar
7b2d79cffd
ColorEdit: Added ImGuiColorEditFlags_Float flag to display and edit drag values in 0.0..1.0 range instead of 0..255. ( #346 )
8 years ago
omar
4def2ce339
ColorPicker: Demo tweaks ( #346 )
8 years ago
omar
790d0eb5be
ColorPicker: Added ImGuiColorEditFlags_AlphaBar option ( #346 )
8 years ago
omar
91bf8fd689
ColorPicker,ColorEdit: Demo code ( #346 )
8 years ago
omar
c8553817d9
Merge branch 'master' into 2016-02-colorpicker
8 years ago
omar
100d30a0a1
Comments about IMGUI_DISABLE_TEST_WINDOWS ( #1240 , #169 )
8 years ago
omar
3e4cb40d45
Merge branch 'master' into 2016-02-colorpicker
8 years ago
omar
8261d9ff30
Comments ( #1172 , #1231 )
8 years ago
omar
12d265fa31
Version 1.51 WIP tag
8 years ago
omar
5e1caaaef3
Version 1.50
8 years ago
omar
8228dc20df
Merge branch 'master' into 2016-07-navigation
8 years ago
omar
c038339a4c
Merge branch 'master' into 2015-02-colorpicker
8 years ago
omar
026d021df1
Demo: Fixed warnings introduced in 0828a1fd6c
8 years ago
omar
0828a1fd6c
Fixed computation of ImFont::MetricsTotalSurface not taking oversampling into account
8 years ago
omar
497381dc3d
Comments
8 years ago
omar
89b1497843
Merge branch 'master' into 2016-02-colorpicker
8 years ago
omar
288dccd5a5
Merge branch 'master' into 2016-07-navigation
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
b6c0227add
Merge branch 'master' into 2016-02-colorpicker
8 years ago
omar
c76be71acf
Merge branch 'master' into 2016-07-navigation
8 years ago
omar
714beb217c
Demo: Console: Fixed a completion bug when multiple candidates are equals and match until the end.
8 years ago
ocornut
68df09cf47
Fixed word-wrapping which would never wrap after a 1 character word. (thanks @sronsse)
8 years ago
ocornut
a60b2cc645
Merge branch 'master' into 2016-02-colorpicker
8 years ago
ocornut
fdc70456f4
Merge branch 'master' into 2016-07-navigation
8 years ago
ocornut
52308a54f8
Demo: comments
8 years ago
ocornut
3028ccc25b
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
f4cf972ea9
Merge branch 'master' into 2016-02-colorpicker
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
fdbad2708c
Ignore GCC 6 warnings ( #883 )
8 years ago
ocornut
775ac24d45
Fixed overzealous GCC warnings ( #883 ) + partly undo 8553bab241
8 years ago
ocornut
8553bab241
Ignoring overzealous GCC warnings ( #883 )
8 years ago
ocornut
941cf1b436
Merge branch 'master' into 2016-07-navigation
8 years ago
ocornut
ccb3db94da
Merge branch 'master' into 2016-02-colorpicker
8 years ago
ocornut
faafcf418d
Demo: Comments, even though nobody appears to read the comments.
8 years ago
ocornut
b2f0ea6c0d
Font: Default font given explicit name "ProggyClean.ttf"
8 years ago
ocornut
b376b68326
Font: Added io.FontDefault in ImGuiIO structure to make it easier to change default font from third-party or demo code
8 years ago
ocornut
357167f917
Demo: Custom Rendering: Tweak so end of line can be dropped outside of canvas, more pleasing.
8 years ago
James Fulop
6fa3aaf7c0
outdated dragging API mentioned in demo text
...
Looks like you changed the API on dragging, but did not update the description text for it.
https://github.com/ocornut/imgui/issues/167
8 years ago
ocornut
e4deb7a190
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
404979e48d
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
8 years ago
Jeongseok Lee
1d7e05327b
Fix clang warning: unknown warning group '-Wreserved-id-macro'
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
82dcdc9dfc
ShowStyleEditor: tweak font map display to show glyph details when hovered.
8 years ago
ocornut
f5b37dbc52
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
fea0fcb7c3
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
d7c518e6cc
ShowStyleEditor: show font map / grid in more details.
8 years ago
ocornut
ed279c0095
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
1b5bbf725b
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
8 years ago
ocornut
56cdbe434d
Style: Added ButtonTextAlign, ImGuiStyleVar_ButtonTextAlign ( #842 )
8 years ago
ocornut
612b17ef57
Fixing minor english typos ( #827 )
8 years ago
ocornut
ef10b984fe
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
9 years ago
ocornut
67fd805839
Merge remote-tracking branch 'origin' into 2016-07-navigation
9 years ago
ocornut
252f094101
Nav: Undo 87eb749cbc
, agressively including nav focus test in IsItemHovered() ( #323 )
9 years ago
Max Thrun
4f389b7f6a
Add null terminator to ShowStyleEditor output_type combo options
...
Without a null terminator the Combo() function indexes outside of the "items_separated_by_zeros" string.
9 years ago
ocornut
996eb080fa
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
9 years ago
ocornut
785f51227a
Demo tweaks
9 years ago
ocornut
dcff032429
Nav: Moving all nav inputs to io.NavInputs[] float array, new enum labelled for gamepad. ( #323 )
9 years ago
ocornut
4e91b521ee
Demo: Arrange some inputs panels.
9 years ago
ocornut
d0801057ba
Demo: Tweak handling of "animate" flag in graph demo so it doesn't keep running.
9 years ago
ocornut
a154625a56
Nav: Not exposing ImGuiWindowFlags_NavFlattened because it requires much more work ( #323 )
9 years ago
ocornut
b3cba62b80
Nav: Added experiment ImGuiWindowFlags_NavFlattened flag to cross over between parent and non-scrolling child windows ( #323 )
9 years ago
ocornut
d88dcc26cc
Demo: console text input keeps focus in a less harsher and more navigation friendly way ( #323 )
9 years ago
ocornut
e2dd48ae65
Nav: Split _NoNav window flag into _NoNavInputs and _NoNavFocus ( #323 )
9 years ago
ocornut
04157da291
Nav: first committed pass for manual moving and manual scrolling (after a bunch of attempts) ( #323 )
9 years ago
ocornut
c2cb2a6928
Gamepad/Keyboard navigation support, initial commit, WIP ( #323 )
9 years ago
ocornut
e72e3b2cbc
Demo: tweaks.
9 years ago
ocornut
91e1c56da6
Minor bits.
9 years ago
ocornut
de61fcc619
Minor bits
9 years ago
ocornut
1ef7980e17
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
4fddfa4b5e
Demo: extra (somehow duplicate) Selectables+Columns demo
9 years ago
ocornut
d6a5fd06d7
Demo: Added an extra 3-way columns demo
9 years ago
ocornut
d1c073a199
Comments, tweaks
9 years ago
ocornut
5d4cf1c3f3
Version 1.50 WIP
9 years ago
ocornut
adb85d800d
Version 1.49
9 years ago
ocornut
3ddb50a925
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
1483a69c11
Demo: Tree: showing how to align tree node label with current x position ( #324 , #581 )
9 years ago
ocornut
a0a48f6e59
Added TreeAdvanceToLabelPos() ( #581 )
9 years ago
ocornut
806a146198
TreeNodeEx(): ImGuiTreeNodeFlags_AlwaysOpen->ImGuiTreeNodeFlags_Leaf, + added ImGuiTreeNodeFlags_Bullet ( #324 , #581 )
9 years ago
ocornut
b5521a81d4
Demo: fixed multi-selection tree nodes demo to not replace selection when clicking on single-item that's already part of selection ( #581 )
9 years ago
ocornut
8f4b123e1b
SetNextWindowSizeConstraint -> SetNextWindowSizeConstraints ( #668 )
9 years ago
ocornut
e3d8055d90
Speculative 64-bit warning fix ( #668 )
9 years ago
ocornut
b7ebeb1610
Added SetNextWindowSizeConstraint() + demo code ( #668 )
9 years ago
ocornut
102d03a7eb
Resizing window doesn't rely on MouseDelta anymore, but rather recompute expected size based absolute mouse coords. ( #668 )
...
Storing ActiveIdClickOffset to generalize pattern already used by
columns.
9 years ago
ocornut
69a29e4715
Added NewLine() (very shy reminder that #97 isn't done)
9 years ago
ocornut
7a28f5bb81
ImGuiListClipper new version, detect height automatically, fix compatibility with SetScrollPosHere ( #662 )
9 years ago
ocornut
fa5ae60bce
Demo: added decorated label to some vertical sliders.
9 years ago
ocornut
339e191c53
Demo: Console: Add a "Scroll to bottom" button ( #662 )
9 years ago
ocornut
9e6ed0991d
Demo: clarified misleading example ( #660 )
9 years ago
ocornut
a2a5d71582
Demo: Tweak irritating pink color.
9 years ago
ocornut
b628acbb52
StyleEditor: comments ( #652 )
9 years ago
omar
10d3da6b73
Merge pull request #641 from cosmy1/errors-fix
...
Fix compilation errors when disabling test windows.
9 years ago
ocornut
8648346eab
Modal: fixed non-child window stacked over a modal losing its hoverabilty/focusability ( #615 , #604 )
9 years ago
Branimir Karadžić
a59a04f4d0
Fixed iOS/OSX build.
9 years ago
cosmy1
4b5a4cae09
Fix compilation errors when disabling test windows.
9 years ago
Sergej Reich
6e8579fc14
Ignore implicit conversion warnings
9 years ago
ocornut
ce4d731486
Minor comments, tweaks
9 years ago
ocornut
79ad22e1f2
Fixed various Clang -Weverything warnings ( #626 )
9 years ago
ocornut
4ce6cf0512
Demo: Moved "Fonts" section style editor
9 years ago
ocornut
89d5026187
Renamed majority of use of "opened" to "open" for clarity. Renamed SetNextTreeNodeOpened() to SetNextTreeNodeOpen(). ( #625 , #579 )
9 years ago
ocornut
bb674ccee6
TreeNode: added ImGuiTreeNodeFlags_AlwaysOpen flag ( #581 , #324 )
9 years ago
ocornut
f79b2d6ce3
TreeNode: added ImGuiTreeNodeFlags_OpenOnArrow flag ( #581 , #324 , #190 )
9 years ago
ocornut
dc8446d048
Demo: Added simple tree node selection demo ( #581 , #516 , #190 )
9 years ago
ocornut
df749e3f13
Added CollapsingHeader() variant with close button, obsoleted 4 parameters version. Refactored code into TreeNodeBehavior. ( #600 )
...
New flag and declaration makes uses of SetNextTreeNode() functions on
collapsing header more obvious as well (#579 ).
9 years ago
ocornut
6bcc31e575
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
ea6b615179
Made ImGui::PushClipRect()/PopClipRect() public. Changed ImDrawList::PushClipRect() prototype. Fixed demo. ( #610 )
9 years ago
ocornut
7da2d51480
MenuBar fixed missing lower border
9 years ago
ocornut
77177c18f0
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
1588eda1ac
Version 1.49 WIP
9 years ago
ocornut
95cbcdca3f
Version 1.48
9 years ago
ocornut
4c25de950c
Warning fixes for clang. Using int64_t, may be an issue?
9 years ago
cheriff
2ee76bbff6
Trivial format string fix in demo
9 years ago
ocornut
e808b7cfca
Style: removed WindowFillAlphaDefault which was confusing and redundant, baked into WindowBg color. Renamed TooltipBg > PopupBG. ( #337 )
...
bg_alpha parameter of 5-parameters version of Begin() is an override,
however that function may become obsolete someday.
9 years ago
ocornut
4c1d4233b2
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
a6399f120f
IO: Added "Super" keyboard modifiers (corresponding to Cmd on Mac and Windows key in theory although the later is hard to read) ( #473 )
...
NB: Value not used.
9 years ago
ocornut
326c4e40f8
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
2b7eeba143
Trim trailing spaces
9 years ago
ocornut
baabe3b62c
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
5bed7144fe
ImDrawList: Added AddTriangle() function
9 years ago
ocornut
a274a09955
Renamed GetWindowFont()->GetFont(), GetWindowFontSize()->GetFontSize() (related to #340 )
9 years ago
ocornut
9cbc6e196b
ImDrawList: AddRect() added optional thickness parameter + updated demo
9 years ago
ocornut
459af7683c
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
b816d05e33
Minor tidying up following ( #516 ) - renamed ImGuiSelectableFlags_HandleDoubleClick to ImGuiSelectableFlags_AllowDoubleClick + comments
9 years ago
ocornut
6846873f23
Merge branch 'master' of https://github.com/zapolnov/imgui into zapolnov-master
9 years ago
ocornut
d45044fe54
CaptureKeyboardFromApp() / CaptureMouseFromApp(): allow to enforce clearing the capture flag ( #533 ) + demo + made code a little less messy
9 years ago
ocornut
cf12bc7dea
InputText: Added BufTextLen in ImGuiTextEditCallbackData. Requesting user to maintain it. Zero-ing structure properly before use. ( #541 )
9 years ago
ocornut
ba80a457b9
Demo: plot code doesn't use ImVector to avoid heap allocation + comment ( #538 )
9 years ago
ocornut
4afe67cdc8
Demo: Fixed malloc/free mismatch and leak when destructing demo console (if it has been used) ( #536 )
9 years ago
ocornut
f8fede1d8b
Added ColorPicker3/ColorPicker4, refactoring ColorEdit3/ColorEdit4 adding a bunch of flags and access to picker (wip #346 )
...
Still pretty much experimenting so may break API
9 years ago
ocornut
dafedc3246
Demo: use locally defined strdup because compilers/standard librairies are an annoyance ( #520 )
9 years ago
ocornut
2c6bc95dd5
Demo: InputText password demo filters out blanks ( #515 )
9 years ago
Nikolay Zapolnov
a908c109c0
Added flag for selectables to handle double clicks.
9 years ago
ocornut
bf6f6ba858
Demo: extra comments and example for PushItemWidth(-1)
9 years ago
ocornut
81c86dd5e7
Various minor fixes following a pass of cppcheck static analyzer
9 years ago
ocornut
68bde7b862
Clarify comment ( #455 )
9 years ago
ocornut
6dbdc69131
ImDrawList: Fixed AddCircle() to fit precisely within bounding box like AddCircleFilled() and AddRectFilled() (followup #457
9 years ago
ocornut
668a247af0
Demo: added more draw primitives in the Custom Rendering example ( #457 )
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
e4cf44e967
Minor rebranding "ImGui" -> "dear imgui" ( #21 )
9 years ago
ocornut
2e5352786a
Bullet(), BulletText(): vertical and horizontal alignment fixes (namely for widget sized line height). (followup to #414 , #282 )
9 years ago
ocornut
558430ca8f
TreeNode() fixed alignment of collapse arrow to it matches bullet (broken in 4006fb77bc
)
9 years ago
ocornut
5084f90a0d
Added ProgressBar() ( #333 )
9 years ago
ocornut
02ce1a2b32
Demo: Display extra info from ImFontConfig in the font display
9 years ago
ocornut
18223fd3ab
Demo: Tweak window option and style display
9 years ago
ocornut
a9bdda0d95
Demo: Added style editor in demo menu + exposed WindowFillAlphaDefault
9 years ago
ocornut
a500c0daf7
Demo: some TreeNode layout examples ( #414 , #282 )
9 years ago
ocornut
4006fb77bc
TreeNode,CollapsingHeader: sizing fixes to support laying out item on same line before/after ( #414 , #282 )
9 years ago
ocornut
eb6575508f
Demo: Tweaked Clipping example.
9 years ago
ocornut
b2b4bbe5ea
Demo: Fixed variable shadowing warning.
9 years ago
ocornut
79b09e7d10
Fixed int>void* warnings for 64-bits architectures and fancy warnings
9 years ago
ocornut
ba77166432
Demo: comments ( #414 )
9 years ago
ocornut
32d2768734
Demo: Moved property editor demo to its own mini example applet ( #414 )
9 years ago