Commit Graph

  • 7537dff806 ColorEdit4: Picker spawned from ColorEdit4 has a preview for original/previous color with revert button - WIP not really happy with it being in ColorEdit4 code (#346) omar 2017-07-29 15:54:45 +08:00
  • 6bc1572d31 ColorPicker: Comments. Single input value mode allow access to context-menu options. (#346) omar 2017-07-29 15:50:24 +08:00
  • 973d4a361b ColorPicker: Forward AlphaPreview flag to its individual inputs/sliders. Split code into extra lines to make logic more readable. (#346) omar 2017-07-29 14:32:41 +08:00
  • cdcda9ff68 ColorEdit4: Store edit options per window. Demo: Letting user change edit mode. (#346) omar 2017-07-29 14:01:05 +08:00
  • c36d59a42a ColorEdit, ColorPicker: AlphaPreview, AlphaPreviewHalf are explicit. Updated demo and using in style editor. 3x3 checkerboard more readable in half mode. (#346) omar 2017-07-27 17:16:46 +08:00
  • b1cbd87a94 ColorEdit4: Minor tidying up. (#346) omar 2017-07-27 16:49:57 +08:00
  • bfec9c657e ColorButton: Pretty much gave up with getting the checkerboard + AA + rounding + blending + offset all working together with every combination under the sun. It works as long as you don't sneeze. (#346) omar 2017-07-27 16:26:32 +08:00
  • a9df6bfe86 ColorButton: Fixed rounding corners artefact when there is a single cell. omar 2017-07-27 14:04:58 +08:00
  • b7a563276d ColorTooltip: Honor ImGuiColorEditFlags_HalfAlphaPreview flag by calling ColorButton(). Added HalfAlphaPreview to demo. (#346) omar 2017-07-27 11:07:46 +08:00
  • c1c2b2400a ColorButton: Undo ce203f99f5 omar 2017-07-27 11:04:39 +08:00
  • 2e37db9002 ColorEdit4: Fix not forwarding ImGuiColorEditFlags_AlphaBar flag to ColorPicker4 (#346) omar 2017-07-27 10:49:01 +08:00
  • 27e5b09af1 ColorButton: ImGuiColorEditFlags_HalfAlphaPreview flag to render both opaque and alpha-with-checkerboard versions of the peak preview (#346) omar 2017-07-26 23:07:35 +08:00
  • 69dd1ed583 RenderColorRectWithAlphaCheckerboard() in one layer to shunt out anti-alasing artefacts when rounded. Added ImLerp(int,int,float). (#346) omar 2017-07-26 22:20:43 +08:00
  • 76bae2f015 ColorEdit, ColorPicker: Fixed broken build due to commiting an undesirable change in 78a8f798c5 (#346) omar 2017-07-26 17:46:48 +08:00
  • 19c6a9c0e0 ColorButton, ColorPicker: painfully made RenderColorRectWithAlphaCheckerboard more friendly to using Rounding and Border in style, still not perfect :( (#346) + comments omar 2017-07-26 17:38:33 +08:00
  • 6796e771fd ColorEdit, ColorPicker: added ImGuiColorEditFlags_NoAlphaPreview flag (#346). Reorder flags again. omar 2017-07-26 16:28:01 +08:00
  • 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) omar 2017-07-26 16:00:47 +08:00
  • c84acf3f56 Comments omar 2017-07-26 15:59:57 +08:00
  • ce203f99f5 ColorButton: Push a text baseline offset if higher than g.FontSize. (#346) omar 2017-07-26 15:52:17 +08:00
  • 78a8f798c5 ColorEdit, ColorPicker, ColorButton: Display grid under transparent colors (WIP) (#346) omar 2017-07-26 15:24:09 +08:00
  • df56879883 imDrawList::PathRect() uses ImGuiCorner_ enums. Should fully promote this to imgui.h at some point. omar 2017-07-26 14:53:15 +08:00
  • 9d0e5beaa7 GetColorU32(ImGuiCol): avoid using GImGui twice since some implementation make it a TLS-ish variable with non-trivial accessors. omar 2017-07-26 14:35:50 +08:00
  • 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 2017-07-26 14:34:59 +08:00
  • 6e04cedd5f Updated link to binaries omar 2017-07-25 20:06:18 +08:00
  • f39cd61bf0 Reorder ImGuiColorEditFlags_ (#346) omar 2017-07-23 19:08:58 +08:00
  • 4f1f251bd2 ColorEdit, ColorPicker: Context / options menu allows to toggle between u8 and float display. Using short words to avoid localization. (#346) omar 2017-07-23 19:02:26 +08:00
  • 8d32e8dae6 ColorPicker: Handle out of 0..1 range colors when displaying the cross hair. (#346) omar 2017-07-23 18:48:45 +08:00
  • 7b2d79cffd ColorEdit: Added ImGuiColorEditFlags_Float flag to display and edit drag values in 0.0..1.0 range instead of 0..255. (#346) omar 2017-07-23 18:44:32 +08:00
  • 4def2ce339 ColorPicker: Demo tweaks (#346) omar 2017-07-23 17:55:39 +08:00
  • 645875a240 Examples: Enable vsync by default in example applications (#1213, #1151) omar 2017-07-23 16:13:17 +08:00
  • 166e8f6261 Examples: OpenGL2+GLFW/SDL: Added commented out glUseProgram(0) in main.cpp for visibility (#1116) omar 2017-07-23 15:57:39 +08:00
  • c8794c246e Examples: Vulkan: Batch file builds both debug and release omar 2017-07-23 15:22:21 +08:00
  • a8b202782f ColorPicker,ColorButton: Honor Border/Shadow style settings (#346) omar 2017-07-22 19:37:13 +08:00
  • 790d0eb5be ColorPicker: Added ImGuiColorEditFlags_AlphaBar option (#346) omar 2017-07-22 19:24:39 +08:00
  • 4355b2e422 ColorPicker: Honor ImGuiColorEditFlags_NoColorSquare flag + comments (#346) omar 2017-07-22 19:04:10 +08:00
  • 91bf8fd689 ColorPicker,ColorEdit: Demo code (#346) omar 2017-07-22 18:01:29 +08:00
  • 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) omar 2017-07-22 18:01:16 +08:00
  • dd9c2f97a8 ColorPicker: Renamed _NoSliders to _NoInputs (#346) omar 2017-07-22 17:38:38 +08:00
  • eba33deaf3 ColorPicker: Longer white line for hue/alpha selection, scale down according to ItemInnerSpacing. (#346) omar 2017-07-22 17:35:18 +08:00
  • 1edeea2f5a ColorPicker: Removed extraneous ImGui:: prefixes + minor comments (#346) omar 2017-07-22 16:58:28 +08:00
  • e79d7553b0 ColorPicker: Don't use Alpha setting when enabling all 3 sliders (#346) omar 2017-07-22 16:52:41 +08:00
  • 97bedd704c Better, unified color tooltip (#346) omar 2017-07-21 03:06:25 +08:00
  • c8553817d9 Merge branch 'master' into 2016-02-colorpicker omar 2017-07-21 02:34:19 +08:00
  • 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) omar 2017-07-21 02:21:48 +08:00
  • 100d30a0a1 Comments about IMGUI_DISABLE_TEST_WINDOWS (#1240, #169) omar 2017-07-20 23:12:58 +08:00
  • e4007f7145 Internals: Move GetVisibleRect() a few functions above so it gets to hang out with its peers. omar 2017-07-20 22:30:56 +08:00
  • 85d9c8fb46 Internals: renaming IndexWithinParent to OrderWithinParent omar 2017-07-20 21:25:31 +08:00
  • 25f3717a1c Removed IsPosHoveringAnyWindow() which was severaly broken and misleading (most people want to use io.WantCaptureMouse). Added dummy function with assert for now. (#1237) omar 2017-07-20 20:57:46 +08:00
  • 3e4cb40d45 Merge branch 'master' into 2016-02-colorpicker omar 2017-07-19 14:53:25 +08:00
  • d1145e990d Comments tweak (#1231) omar 2017-07-16 13:07:11 +08:00
  • 41f944238b Comments about GlyphExtraSpacing (#1192) omar 2017-07-15 18:03:43 +08:00
  • 1987e23ce5 ImDrawList::PrimReserve() minor renaming of locals to make things clearer omar 2017-07-15 17:52:52 +08:00
  • f3cf5e0322 Examples: SDL+GL3: Fixed old comments (#1229) omar 2017-07-15 17:50:01 +08:00
  • 8261d9ff30 Comments (#1172, #1231) omar 2017-07-15 17:11:53 +08:00
  • be7fa76fdd Fixed Clang unknown-warning-ignored warning by ignoring it..... we are truly living in a special time (#1090) omar 2017-07-15 13:27:44 +08:00
  • 52df0032a5 Travis: Blind fix for SDL+GL3 project on the Travis build setup. Examples: SDL+GL3: Makefile blind fix for OSX (untested) (#1229, #1209) omar 2017-07-15 13:19:13 +08:00
  • 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) (#1229, #1209) omar 2017-07-15 13:13:09 +08:00
  • 0fe5728971 Examples: SDL+GL3: Makefile fix for Linux (#1229, #1209) omar 2017-07-15 13:07:43 +08:00
  • 03e6bfe84a Comments omar 2017-07-14 19:49:11 +08:00
  • cb6d893a13 Comments (#383, #1224) omar 2017-07-14 18:12:40 +08:00
  • afae9398cb Comments. Removed sort-of duplicate access to GImGui->Font in ImDrawList::AddText() so it's only in one place. omar 2017-07-14 17:49:42 +08:00
  • 1094afc6be Merge pull request #1209 from fr500/master omar 2017-07-09 17:29:57 +02:00
  • 8b6896faf9 add SDL GL3 makefile radius 2017-07-02 21:33:13 -05:00
  • d43695b748 fix gl2 sample too radius 2017-07-02 21:28:56 -05:00
  • e0aac34672 fix compilation on MINGW radius 2017-07-02 11:21:24 -05:00
  • d3f4309491 Comments about ImGuiStyleVar enum (#1198) omar 2017-06-24 13:11:46 +02:00
  • 1e981f00e5 Comments omar 2017-06-21 13:50:31 +02:00
  • a5e0210902 Revert 978c84d2e9 because int32 >> 32 tends to warns on some compilers/settings. Add ImU64 type. (#1184) omar 2017-06-19 21:19:48 +02:00
  • e47cf79773 Comments tweaks, typos (#1188) omar 2017-06-17 19:30:30 +02:00
  • 4c8d87d3fb Comments (#1188) omar 2017-06-17 19:25:58 +02:00
  • 978c84d2e9 Removed dependency on int64_t type (unvailable in VS2008) by rewording an assert (#1184) omar 2017-06-16 14:08:17 +02:00
  • 12d265fa31 Version 1.51 WIP tag omar 2017-06-13 11:30:22 +02:00
  • a2f7c40e30 Fixed comment (#1178) omar 2017-06-13 11:29:21 +02:00
  • 1cd1ca259e Update README.md omar 2017-06-02 14:01:06 +02:00
  • 5e1caaaef3 Version 1.50 v1.50 omar 2017-06-02 12:22:34 +02:00
  • 7ad84b22f8 Comments omar 2017-06-02 12:13:47 +02:00
  • 99ff2ec6fb Examples: DirectX9/10/11: Comments omar 2017-06-02 11:28:48 +02:00
  • 2acbd1ac2d Using ImTextureID instead of void* in ImFontAtlas, not sure why I didn't do that earlier, make things more clear omar 2017-06-02 11:25:36 +02:00
  • 51c200ac0d Examples: DirectX9: Clarified texture release code (#1163) omar 2017-06-02 11:23:35 +02:00
  • 32f5ef4f98 Added Pascal binding omar 2017-06-01 12:25:01 +02:00
  • 62c4698a73 Further clarifications of the key indices passed to IsKeyXXX functions (#1159) omar 2017-05-27 17:55:48 +02:00
  • 8228dc20df Merge branch 'master' into 2016-07-navigation omar 2017-05-26 13:44:08 +02:00
  • c038339a4c Merge branch 'master' into 2015-02-colorpicker omar 2017-05-26 13:43:36 +02:00
  • 9da53bcecd ImFontConfig: Removed MergeGlyphCenterV in favor of a more multipurpose ImFontConfig::GlyphOffset. (Breaking change) omar 2017-05-26 13:42:36 +02:00
  • 026d021df1 Demo: Fixed warnings introduced in 0828a1fd6c omar 2017-05-26 13:40:53 +02:00
  • c5c77a3476 ImFontConfig: Added GlyphOffset to explicitely offset glyphs at font build time, useful for merged fonts. May remove MergeGlyphCenterV soon. omar 2017-05-26 13:36:52 +02:00
  • 3a7111cfcd casting to GLint on init TinyTinni 2017-05-17 21:42:34 +02:00
  • ad3c1e68ab save and restore sampler in GL 3 examples Nicolas Guillemot 2017-05-16 16:43:59 -07:00
  • 0981d8e381 fixes types TinyTinni 2017-05-16 12:49:47 +02:00
  • 0828a1fd6c Fixed computation of ImFont::MetricsTotalSurface not taking oversampling into account omar 2017-05-14 16:27:10 +02:00
  • bd9868f447 Scrollbar: Avoid rendering when sizes are negative to reduce glitches (not sure how this ever slipped through - perhaps because of WindowMinSize settings). omar 2017-05-13 20:25:09 +02:00
  • df52f46b13 Comments, documentation (#1121) omar 2017-05-02 10:43:00 +02:00
  • 9614552eba README.md added link to Nicolas Guillemot flashtalk (#1099) omar 2017-05-01 17:16:40 +02:00
  • b0db625cab Examples: Vulkan: Fixed an extra validation (tested on Windows with VulkanSDK 1.0.46.0) (#1042) omar 2017-05-01 17:07:53 +02:00
  • f87b152522 Examples: Vulkan: Various very minor stylistic fixes, fixing typos in comments, etc. (#1042 #1043) omar 2017-05-01 17:07:05 +02:00
  • 201d589714 Image presentation now depends on the completeness of command buffer submission through semaphores. To maintain maximum frame rate we render to the last acquired swapchain image but present the last but one drawn image. This behavior is optional through conditional compilation macros. Peter Particle 2017-02-27 15:05:08 +01:00
  • a9add1ce63 Removed redundant VkResult plugged into VkPresentInfoKHR pResults attribute. This is only meaningful when we present directly to multiple swapchains. In that case we can an VkResult per swapchain. Peter Particle 2017-02-27 14:50:10 +01:00
  • eaae754211 Removed redundant barrier. The transition of the swapchain image(s) can happen implicitly in the renderpass. This approach has been stated to be more efficient than using an explicit barrier. See "Vulkan Programming Guide", Chapter 7: "Graphics Pipelines", section "Renderpasses". Peter Particle 2017-02-26 17:58:02 +01:00
  • 33874073dc Fixed all issues found by vulkan debug report. Reasons for the major design changes are commented. Peter Particle 2017-02-26 17:31:02 +01:00
  • 89d03d5cca Examples: Vulkan: Disable IMGUI_VULKAN_DEBUG_REPORT by default. Update .bat files for newer VulkanSDK. omar 2017-05-01 16:46:57 +02:00