omar
99b9f1c93c
Fix static misusage error with decent compilers. Error introduced in 4b82759598
ago%!(EXTRA string=8 years)
omar
82748df71a
WantCaptureMouse: Tweaked logic so WantCaptureMouse can stay false when e.g. hovering over void while an InputText() is active. ( #621 )
ago%!(EXTRA string=8 years)
omar
69d0d33451
Exposed PushMultiItemsWidths() to imgui_internal.h
ago%!(EXTRA string=8 years)
omar
24f21bd4d4
Merge pull request #1113 from Urmeli0815/ImGuiSelectableFlags_MenuItem
...
MenuItem: only activate on Release, not on Click (nb: and not on ClickRelease to allow opening menu and selecting something with a single click. Windows seems to behave the same, allowing to click and hold to e.g. Open then move cursor, release on Save and save gets activated)
ago%!(EXTRA string=8 years)
omar
c0547d358d
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.
ago%!(EXTRA string=8 years)
omar
4b2781fe87
Begin: Moving some code into a CalcSizeAutoFit() function.
ago%!(EXTRA string=8 years)
omar
0d56140b4a
BeginCombo(): rework internals a little to make it easier to provide custom combo-like elements relying in BeginCombo().
...
BeginPopupEx() doesn't enforce AlwaysAutoResize flag anymore.
ago%!(EXTRA string=8 years)
omar
a34edb810e
Demo: Fixed overlay demo keeps resizing (in case, e.g.: font changes)
ago%!(EXTRA string=8 years)
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.
ago%!(EXTRA string=8 years)
omar
0a55573288
Begin(): Minor tidying up of flow
ago%!(EXTRA string=8 years)
omar
9f34925b2a
Window: Tweaked ApplySizeFullWithConstraint() -> CalcSizeFullWithConstraint() so it can be used without side-effect
ago%!(EXTRA string=8 years)
omar
0a5fb24f10
Popups: Exposing a little more of popups internals in imgui_internals.h
ago%!(EXTRA string=8 years)
omar
3dd3d0b248
Examples: DirectX11: allow creating device with feature level 10 sinec we don't really need much for that example. ( #1333 )
ago%!(EXTRA string=8 years)
omar
229921541b
TODO list
ago%!(EXTRA string=8 years)
omar
9b2672a99f
Update README.md
ago%!(EXTRA string=8 years)
omar
2fc07c1b7d
Update README.md
ago%!(EXTRA string=8 years)
omar
ba12d37719
Merge pull request #1324 from waywardmonkeys/improve-clang-warnings
...
FIxes zealous Clang warning.
ago%!(EXTRA string=8 years)
omar
479e532f18
ColorEdit: fixed weird ternary pattern that makes some compiler warning (fair)
ago%!(EXTRA string=8 years)
ocornut
d5d825debb
Nav/Examples: honoring the io.WantMoveMouse flag in most common examples ( #323 )
...
Missing support Vulkan (#549 ), Apple (#575 , #247 ), SDL (#58 , #356 ),
Allegro, Marmalade (#368 , #375 )
ago%!(EXTRA string=8 years)
omar
1ff27d7db8
Added io.WantMoveMouse flags from Nav branch so Examples/Binding can already implement it. ( #787 )
ago%!(EXTRA string=8 years)
omar
79ce9b74d5
BeginTooltipEx() internal tweaks
ago%!(EXTRA string=8 years)
omar
105f3b14e4
Merge branch 'master' into styles
ago%!(EXTRA string=8 years)
omar
564c97b87e
Comments
ago%!(EXTRA string=8 years)
omar
f0f86213db
ImVector: added resize() variant with initialization value
ago%!(EXTRA string=8 years)
omar
b409d399c8
Demo: style editor output tweak so it is easier to modify the output code.. + TODO list update
ago%!(EXTRA string=8 years)
omar
9693fd5351
PushStyleVar/PopStyleVar: internal tweaks
ago%!(EXTRA string=8 years)
omar
7c9e38f60a
Style: Moving code in a function to make incoming diff easier to parse.
ago%!(EXTRA string=8 years)
omar
709653c330
Merge branch 'master' into styles
ago%!(EXTRA string=8 years)
omar
2aa9a538c0
Merge pull request #1323 from waywardmonkeys/remove-commas-at-end-of-list
...
Remove commas after last item in enumeration to stay compatible with older compilers.
ago%!(EXTRA string=8 years)
omar
c4c042bcec
Typo
ago%!(EXTRA string=8 years)
omar
052999a6ab
More consistently uses "Dear ImGui"
ago%!(EXTRA string=8 years)
omar
83645aa593
More consistently uses "Dear ImGui"
ago%!(EXTRA string=8 years)
Bruce Mitchener
2fcdeb7f12
Remove commas after last item in enumeration.
...
This brings these enums to match the rest of the code and fixes
2 warnings under clang about using C++11 extensions.
ago%!(EXTRA string=8 years)
Bruce Mitchener
4c794be41d
Improve warning configuration for clang.
...
Clang 4.0 introduced -Wdouble-promotion, so check for and disable
that on clang as we do on gcc.
The old style casts warning is already disabled globally in this file
for clang, so it doesn't need to be re-disabled within this scope.
ago%!(EXTRA string=8 years)
omar
54d30d758f
Implicit "Debug" window uses a "Debug##Default" identifier to allow the user creating such window with custom flags
ago%!(EXTRA string=8 years)
omar
65632d2682
Fixed alloca include for SunOS ( #1319 )
ago%!(EXTRA string=8 years)
omar
3420080a35
Merge pull request #1319 from RyuKojiro/more_portable_alloca_include-ocornut
...
Simplify alloca.h include condition (fix for NetBSD)
ago%!(EXTRA string=8 years)
Daniel Loffgren
cf6ba9dd2d
Don't do a bunch of OS gymnastics. alloca.h is only for glibc, everyone else uses stdlib.h
ago%!(EXTRA string=8 years)
omar
cb2775ae54
Internals: ImGuiItemFlags comments
ago%!(EXTRA string=8 years)
omar
f63c03c464
Internals: moved ButtonRepeat and AllowKeyboardFocus bools/stacks to a generic ItemFlags stack. Merged from Navigation branch.
ago%!(EXTRA string=8 years)
omar
51fcef0c21
BeginCombo() tweaks, merged from Navigation branch.
ago%!(EXTRA string=8 years)
omar
9e2f202f05
Demo: Not using the undesirable Begin() overload.
ago%!(EXTRA string=8 years)
omar
2169bf6895
Fixed WantTextInput from being true when an activated Drag or Slider was previously turned into an InputText(). ( #1317 )
ago%!(EXTRA string=8 years)
omar
790605e359
Minor comments + renaming internal fields
ago%!(EXTRA string=8 years)
omar
8971d70149
Merge pull request #1313 from thevaber/master
...
Improved ColorPicker hue wheel color interpolation
ago%!(EXTRA string=8 years)
Václav Patejdl
e1a7aa41cb
Improved ColorPicker hue wheel color interpolation
ago%!(EXTRA string=8 years)
omar
2600b28f5d
Begin(): fixed calling Begin() more than once per frame setting `window_just_activated_by_user` which in turn would set Appearing to true for that frame.
ago%!(EXTRA string=8 years)
omar
6400f2900a
Begin(): renamed locals.
ago%!(EXTRA string=8 years)
omar
a9c6a0f6ec
Begin(): Removed unnecessary code (at the time of 1.18 commit e9e0e36f98
, CursorPos was used to compute SizeContentsFit and this was necessary)
ago%!(EXTRA string=8 years)
omar
89cae37b49
Begin(): Tidying up some code, should be a no-op.
ago%!(EXTRA string=8 years)