760 Commits (c36d59a42abbf8921d20c3e95e41c5f6291a1bcf)

Author SHA1 Message Date
omar c36d59a42a ColorEdit, ColorPicker: AlphaPreview, AlphaPreviewHalf are explicit. Updated demo and using in style editor. 3x3 checkerboard more readable in half mode. (#346) ago%!(EXTRA string=8 years)
omar 27e5b09af1 ColorButton: ImGuiColorEditFlags_HalfAlphaPreview flag to render both opaque and alpha-with-checkerboard versions of the peak preview (#346) ago%!(EXTRA string=8 years)
omar 6796e771fd ColorEdit, ColorPicker: added ImGuiColorEditFlags_NoAlphaPreview flag (#346). Reorder flags again. ago%!(EXTRA string=8 years)
omar c84acf3f56 Comments 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 f39cd61bf0 Reorder ImGuiColorEditFlags_ (#346) 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 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 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 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 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 d1145e990d Comments tweak (#1231) ago%!(EXTRA string=8 years)
omar 41f944238b Comments about GlyphExtraSpacing (#1192) ago%!(EXTRA string=8 years)
omar 8261d9ff30 Comments (#1172, #1231) ago%!(EXTRA string=8 years)
omar 03e6bfe84a Comments ago%!(EXTRA string=8 years)
omar d3f4309491 Comments about ImGuiStyleVar enum (#1198) ago%!(EXTRA string=8 years)
omar 1e981f00e5 Comments 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 12d265fa31 Version 1.51 WIP tag ago%!(EXTRA string=8 years)
omar 5e1caaaef3 Version 1.50 ago%!(EXTRA string=8 years)
omar 2acbd1ac2d Using ImTextureID instead of void* in ImFontAtlas, not sure why I didn't do that earlier, make things more clear 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 c5c77a3476 ImFontConfig: Added GlyphOffset to explicitely offset glyphs at font build time, useful for merged fonts. May remove MergeGlyphCenterV soon. ago%!(EXTRA string=8 years)
omar a0a6c8a2ef Renamed ImDrawList::PathFill() to ImDrawList::PathFillConvex() for clarity. (breaking API) ago%!(EXTRA string=8 years)
omar 6517d68cdf ImDrawList::AddImage* renamed uv_ parameters to be more consistent. Fix AddImageQuad to use IM_COL32_A_MASK (#1009) ago%!(EXTRA string=8 years)
Peter 659b3fd259 Add ImDrawList::AddImageQuad ago%!(EXTRA string=8 years)
Mikulas Florek 7a37a1c3f6 do not export inline function, it causes problems on some compiers ago%!(EXTRA string=8 years)
Mikulas Florek 316555f9de missing API ago%!(EXTRA string=8 years)
omar e10ceebd36 ImFont: Store the texture surface used to get an idea of how costly each font is. ago%!(EXTRA string=8 years)
omar 931bc61345 Comment about ImGuiInputTextFlags_CtrlEnterForNewLine for InputTextMultiline() ago%!(EXTRA string=8 years)
omar 6384eee34f Minor comments (#998) ago%!(EXTRA string=8 years)
omar cffdbfe01b Comments (#972) ago%!(EXTRA string=8 years)
ocornut db593220fc Comments, clarified use of io.MouseDelta (#942) ago%!(EXTRA string=8 years)
Nicolas Guillemot 36d78e0565 const correctness for Combo and ListBox ago%!(EXTRA string=9 years)
ocornut b376b68326 Font: Added io.FontDefault in ImGuiIO structure to make it easier to change default font from third-party or demo code ago%!(EXTRA string=9 years)
ocornut 0d3f8807c7 Added a void* user_data parameter to Clipboard function handlers. (#875) ago%!(EXTRA string=9 years)
ocornut d649bc485b Minor comments ago%!(EXTRA string=9 years)
ocornut 31dc7d8d63 Added ImGuiMouseCursor_None for usage by app/binding ago%!(EXTRA string=9 years)
ocornut d567595dde ImDrawList: AddRect(), PathRect() default rounded_corner 0x0F->~0/-1 so it appears less obscure in IDE completions ago%!(EXTRA string=9 years)
ocornut e07d45709f ImDrawList: Uses IM_COL32_A_MASK macro instead of hardcoded zero alpha testing (#844) ago%!(EXTRA string=9 years)
ocornut 68c81739bf Minor tidying up following merge BGRA color PR (#844) ago%!(EXTRA string=9 years)
Michał Cichoń 1999c01db8 Apply Omar feedback and convert remaining 0xAABBGGRR's into IM_COL32(RR,GG,BB,AA) format. ago%!(EXTRA string=9 years)
Michał Cichoń d75d2b1871 Introduce IMGUI_USE_BGRA_PACKED_COLOR in imconfig.h. ago%!(EXTRA string=9 years)
ocornut 56cdbe434d Style: Added ButtonTextAlign, ImGuiStyleVar_ButtonTextAlign (#842) ago%!(EXTRA string=9 years)
ocornut 0f303d363a Refactor text alignment options to use ImVec2, removed ImGuiAlign (#842, #222) ago%!(EXTRA string=9 years)
ocornut c5b8c6303a Refactor PushStyleVar/PopStyleVar so it is constant time + can receive integers (yet unused) (#842) ago%!(EXTRA string=9 years)