omar
19c6a9c0e0
ColorButton, ColorPicker: painfully made RenderColorRectWithAlphaCheckerboard more friendly to using Rounding and Border in style, still not perfect :( ( #346 ) + comments
ago%!(EXTRA string=8 years)
omar
6796e771fd
ColorEdit, ColorPicker: added ImGuiColorEditFlags_NoAlphaPreview flag ( #346 ). Reorder flags again.
ago%!(EXTRA string=8 years)
omar
ce203f99f5
ColorButton: Push a text baseline offset if higher than g.FontSize. ( #346 )
ago%!(EXTRA string=8 years)
omar
78a8f798c5
ColorEdit, ColorPicker, ColorButton: Display grid under transparent colors (WIP) ( #346 )
ago%!(EXTRA string=8 years)
omar
9d0e5beaa7
GetColorU32(ImGuiCol): avoid using GImGui twice since some implementation make it a TLS-ish variable with non-trivial accessors.
ago%!(EXTRA string=8 years)
omar
95fe11b5bf
Added GetColorU32(u32) variant that does the style alpha multiply without a floating point round trip. Not 100% sure about that before the signature may seem ambiguous? But also make using imgui+drawlist more consistent in end-user extensions.
ago%!(EXTRA string=8 years)
omar
4f1f251bd2
ColorEdit, ColorPicker: Context / options menu allows to toggle between u8 and float display. Using short words to avoid localization. ( #346 )
ago%!(EXTRA string=8 years)
omar
8d32e8dae6
ColorPicker: Handle out of 0..1 range colors when displaying the cross hair. ( #346 )
ago%!(EXTRA string=8 years)
omar
7b2d79cffd
ColorEdit: Added ImGuiColorEditFlags_Float flag to display and edit drag values in 0.0..1.0 range instead of 0..255. ( #346 )
ago%!(EXTRA string=8 years)
omar
a8b202782f
ColorPicker,ColorButton: Honor Border/Shadow style settings ( #346 )
ago%!(EXTRA string=8 years)
omar
790d0eb5be
ColorPicker: Added ImGuiColorEditFlags_AlphaBar option ( #346 )
ago%!(EXTRA string=8 years)
omar
4355b2e422
ColorPicker: Honor ImGuiColorEditFlags_NoColorSquare flag + comments ( #346 )
ago%!(EXTRA string=8 years)
omar
15be7e1a71
ColorPicker: new prototype for ColorButton() .Added _NoTooltip, _NoLabel flags. Changing _Alpha flag to _NoAlpha makes so much much sense and allow to revert default parameters to zero. ColorEdit4/Picker4 don't attempt to read/write fourth component, making ColorEdit3/Picker3 shorter/faster. Tooltip and Picker called from ColorEdit can have a title. Picker shows colored square. Moved ColorTooltip() to imgui_internal.h ( #346 )
ago%!(EXTRA string=8 years)
omar
dd9c2f97a8
ColorPicker: Renamed _NoSliders to _NoInputs ( #346 )
ago%!(EXTRA string=8 years)
omar
eba33deaf3
ColorPicker: Longer white line for hue/alpha selection, scale down according to ItemInnerSpacing. ( #346 )
ago%!(EXTRA string=8 years)
omar
1edeea2f5a
ColorPicker: Removed extraneous ImGui:: prefixes + minor comments ( #346 )
ago%!(EXTRA string=8 years)
omar
e79d7553b0
ColorPicker: Don't use Alpha setting when enabling all 3 sliders ( #346 )
ago%!(EXTRA string=8 years)
omar
97bedd704c
Better, unified color tooltip ( #346 )
ago%!(EXTRA string=8 years)
omar
138a9dbaeb
Tooltip: SetTooltip() is expanded immediately into a window, honoring current font / styling setting. Add internal mechanism to override tooltips (not exposed in BeginTooltip yet because bools are evil) ( #862 )
ago%!(EXTRA string=8 years)
omar
e4007f7145
Internals: Move GetVisibleRect() a few functions above so it gets to hang out with its peers.
ago%!(EXTRA string=8 years)
omar
85d9c8fb46
Internals: renaming IndexWithinParent to OrderWithinParent
ago%!(EXTRA string=8 years)
omar
25f3717a1c
Removed IsPosHoveringAnyWindow() which was severaly broken and misleading (most people want to use io.WantCaptureMouse). Added dummy function with assert for now. ( #1237 )
ago%!(EXTRA string=8 years)
omar
41f944238b
Comments about GlyphExtraSpacing ( #1192 )
ago%!(EXTRA string=8 years)
omar
be7fa76fdd
Fixed Clang unknown-warning-ignored warning by ignoring it..... we are truly living in a special time ( #1090 )
ago%!(EXTRA string=8 years)
omar
cb6d893a13
Comments ( #383 , #1224 )
ago%!(EXTRA string=8 years)
omar
d3f4309491
Comments about ImGuiStyleVar enum ( #1198 )
ago%!(EXTRA string=8 years)
omar
a5e0210902
Revert 978c84d2e9
because int32 >> 32 tends to warns on some compilers/settings. Add ImU64 type. ( #1184 )
ago%!(EXTRA string=8 years)
omar
e47cf79773
Comments tweaks, typos ( #1188 )
ago%!(EXTRA string=8 years)
omar
4c8d87d3fb
Comments ( #1188 )
ago%!(EXTRA string=8 years)
omar
978c84d2e9
Removed dependency on int64_t type (unvailable in VS2008) by rewording an assert ( #1184 )
ago%!(EXTRA string=8 years)
omar
12d265fa31
Version 1.51 WIP tag
ago%!(EXTRA string=8 years)
omar
5e1caaaef3
Version 1.50
ago%!(EXTRA string=8 years)
omar
7ad84b22f8
Comments
ago%!(EXTRA string=8 years)
omar
62c4698a73
Further clarifications of the key indices passed to IsKeyXXX functions ( #1159 )
ago%!(EXTRA string=8 years)
omar
9da53bcecd
ImFontConfig: Removed MergeGlyphCenterV in favor of a more multipurpose ImFontConfig::GlyphOffset. (Breaking change)
ago%!(EXTRA string=8 years)
omar
bd9868f447
Scrollbar: Avoid rendering when sizes are negative to reduce glitches (not sure how this ever slipped through - perhaps because of WindowMinSize settings).
ago%!(EXTRA string=8 years)
omar
dbfd5d6e9a
Ignoring unreasonnable Clang -wformat-pedantic warning ( #1090 )
...
See e.g.
http://clang-developers.42468.n3.nabble.com/The-p-conversion-and-cast-to-void-td4044226.html
ago%!(EXTRA string=8 years)
omar
a0a6c8a2ef
Renamed ImDrawList::PathFill() to ImDrawList::PathFillConvex() for clarity. (breaking API)
ago%!(EXTRA string=8 years)
omar
d878462866
End() avoid calling Columns() if no columns set is open, not sure what it wasn't the case.
...
Pros: Faster. Avoid early crashes StackId underflow that are meant to be more gracefully caught by CheckStacksSize() (with more explicit assert). Cons: Excercise less code.
ago%!(EXTRA string=8 years)
omar
bbd44b4edd
Clarified asserts in CheckStacksSize() when there is a stack mismatch
ago%!(EXTRA string=8 years)
Michael Link
8df58e2cfd
MenuItem should only be selected on release
ago%!(EXTRA string=8 years)
omar
0e1950f7d6
Comments about child menu positioning ( #1086 )
ago%!(EXTRA string=8 years)
Codecat
fdd11658eb
Fix ColorButton showing wrong hex value for alpha
ago%!(EXTRA string=8 years)
omar
b8043d3ee5
Internal: Renamed ImLoadFileToMemory to ImFileLoadToMemory to be consistent with ImFileOpen + fix mismatching .h name ( #917 )
ago%!(EXTRA string=8 years)
omar
6257b5814a
Added an explicit (internal) ClearActiveID() helper and removed the default NULL window parameter to internal SetActiveID(),
ago%!(EXTRA string=8 years)
ocornut
bb4d19ff7c
Merge branch 'master' - merge fix
ago%!(EXTRA string=9 years)
ocornut
baa2e3b451
Minor documentation tweaks
ago%!(EXTRA string=9 years)
Nicolas Guillemot
36d78e0565
const correctness for Combo and ListBox
...
Since Combo and ListBox only read and display the list of items, they
should not modify the pointers inside the array of pointers passed in.
Adding "const" here makes it possible to call these functions with such
an array of const pointers. Previously, a cast to "const char**" was
required as a workaround, otherwise there was a compile error.
ago%!(EXTRA string=9 years)
ocornut
55d651812d
Renaming and massaging internal Settings/Ini functions ( #923 )
ago%!(EXTRA string=9 years)
ocornut
0b6211f907
Fixed clicking on a window's void while staying still overzealously marking .ini settings as dirty ( #923 )
ago%!(EXTRA string=9 years)