Commit Graph

5751 Commits (a056603d8b8e2fd7f151844999cc077ac628097b)
 

Author SHA1 Message Date
omar 6796e771fd ColorEdit, ColorPicker: added ImGuiColorEditFlags_NoAlphaPreview flag (). Reorder flags again.
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. ()
omar c84acf3f56 Comments
omar ce203f99f5 ColorButton: Push a text baseline offset if higher than g.FontSize. ()
omar 78a8f798c5 ColorEdit, ColorPicker, ColorButton: Display grid under transparent colors (WIP) ()
omar df56879883 imDrawList::PathRect() uses ImGuiCorner_ enums. Should fully promote this to imgui.h at some point.
omar 9d0e5beaa7 GetColorU32(ImGuiCol): avoid using GImGui twice since some implementation make it a TLS-ish variable with non-trivial accessors.
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.
omar 6e04cedd5f Updated link to binaries
omar f39cd61bf0 Reorder ImGuiColorEditFlags_ ()
omar 4f1f251bd2 ColorEdit, ColorPicker: Context / options menu allows to toggle between u8 and float display. Using short words to avoid localization. ()
omar 8d32e8dae6 ColorPicker: Handle out of 0..1 range colors when displaying the cross hair. ()
omar 7b2d79cffd ColorEdit: Added ImGuiColorEditFlags_Float flag to display and edit drag values in 0.0..1.0 range instead of 0..255. ()
omar 4def2ce339 ColorPicker: Demo tweaks ()
omar 645875a240 Examples: Enable vsync by default in example applications (, )
omar 166e8f6261 Examples: OpenGL2+GLFW/SDL: Added commented out glUseProgram(0) in main.cpp for visibility ()
omar c8794c246e Examples: Vulkan: Batch file builds both debug and release
omar a8b202782f ColorPicker,ColorButton: Honor Border/Shadow style settings ()
omar 790d0eb5be ColorPicker: Added ImGuiColorEditFlags_AlphaBar option ()
omar 4355b2e422 ColorPicker: Honor ImGuiColorEditFlags_NoColorSquare flag + comments ()
omar 91bf8fd689 ColorPicker,ColorEdit: Demo code ()
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 ()
omar dd9c2f97a8 ColorPicker: Renamed _NoSliders to _NoInputs ()
omar eba33deaf3 ColorPicker: Longer white line for hue/alpha selection, scale down according to ItemInnerSpacing. ()
omar 1edeea2f5a ColorPicker: Removed extraneous ImGui:: prefixes + minor comments ()
omar e79d7553b0 ColorPicker: Don't use Alpha setting when enabling all 3 sliders ()
omar 97bedd704c Better, unified color tooltip ()
omar c8553817d9 Merge branch 'master' into 2016-02-colorpicker
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) ()
omar 100d30a0a1 Comments about IMGUI_DISABLE_TEST_WINDOWS (, )
omar e4007f7145 Internals: Move GetVisibleRect() a few functions above so it gets to hang out with its peers.
omar 85d9c8fb46 Internals: renaming IndexWithinParent to OrderWithinParent
omar 25f3717a1c Removed IsPosHoveringAnyWindow() which was severaly broken and misleading (most people want to use io.WantCaptureMouse). Added dummy function with assert for now. ()
omar 3e4cb40d45 Merge branch 'master' into 2016-02-colorpicker
omar d1145e990d Comments tweak ()
omar 41f944238b Comments about GlyphExtraSpacing ()
omar 1987e23ce5 ImDrawList::PrimReserve() minor renaming of locals to make things clearer
omar f3cf5e0322 Examples: SDL+GL3: Fixed old comments ()
omar 8261d9ff30 Comments (, )
omar be7fa76fdd Fixed Clang unknown-warning-ignored warning by ignoring it..... we are truly living in a special time ()
omar 52df0032a5 Travis: Blind fix for SDL+GL3 project on the Travis build setup.
Examples: SDL+GL3: Makefile blind fix for OSX (untested) (, )
omar 358e667b7a Travis: Adding the SDL+GL3 project on the Travis build setup (for both Linux and OSX).
Examples: SDL+GL3: Makefile blind fix for OSX (untested) (, )
omar 0fe5728971 Examples: SDL+GL3: Makefile fix for Linux (, )
omar 03e6bfe84a Comments
omar cb6d893a13 Comments (, )
omar afae9398cb Comments. Removed sort-of duplicate access to GImGui->Font in ImDrawList::AddText() so it's only in one place.
omar 1094afc6be Merge pull request from fr500/master
Examples: Fix Makefile for non-6.3 MINGW versions, added SDL+GL3 Makefile.
radius 8b6896faf9 add SDL GL3 makefile
radius d43695b748 fix gl2 sample too
radius e0aac34672 fix compilation on MINGW