Commit Graph

  • fed18d3203 Removed old ValueColor() helpers. (#346) omar 2017-08-09 23:04:26 +0800
  • fc5ab0cb8d RenderCheckMark() tidying up omar 2017-08-09 22:56:01 +0800
  • 4fd148f4f9 Added ImFontAtlas::GlyphRangesBuilder helper + doc omar 2017-08-09 22:42:03 +0800
  • 43e2abbee3 Comments, FAQ entry (#586, #1105) omar 2017-08-09 20:27:59 +0800
  • 55b99d753c Minor string typo omar 2017-08-08 23:12:23 +0800
  • 059e838b2c Merge branch 'master' into navigation omar 2017-08-08 18:04:38 +0800
  • be9628494a Demo: Rearranged everything under Widgets in a more consistent way. omar 2017-08-08 18:04:31 +0800
  • 453ad17a09 Merge branch 'master' into navigation omar 2017-08-08 17:50:08 +0800
  • d888de4483 Demo: Merged a few demo tweaks from navigation branch to minimize drift. omar 2017-08-08 17:49:12 +0800
  • 30d1e5712a Merge branch 'master' into navigation omar 2017-08-08 17:30:32 +0800
  • a78ef7a369 Comments omar 2017-08-08 16:07:17 +0800
  • 942cb0e1f2 Added SetColorEditOptions(). ColorPicker4: context menu to select picker type and alpha bar. Reorganized flags (again!). (#346) omar 2017-08-08 15:54:20 +0800
  • d952a8d3bf Demo: Color widget demo tweaks (#346) omar 2017-08-08 14:49:45 +0800
  • a4012fd5b2 Merge branch 'master' into 2016-02-colorpicker omar 2017-08-08 11:30:10 +0800
  • 23fae61109 Merge branch 'master' into 2016-07-navigation omar 2017-08-08 11:29:54 +0800
  • b5ad88627d Merge various documentation tweaks, comments, todos from the Navigation Branch to reduce drift a little omar 2017-08-08 11:27:48 +0800
  • a1bcc8392e Fixed GetScrollMaxX() debug left-over from 7096fd8500 (#1271) omar 2017-08-08 11:15:34 +0800
  • 03700ad15e Merge remote-tracking branch 'origin' into 2016-07-navigation omar 2017-08-07 22:51:18 +0800
  • 1c991b525a Merge remote-tracking branch 'origin' into 2016-02-colorpicker omar 2017-08-07 22:34:30 +0800
  • 0ab722c3c5 Columns: First first column appearing wider than others (#1266) omar 2017-08-07 22:28:09 +0800
  • d43c25d8f4 SetScrollHere() tweak to make the code a little less confusing omar 2017-08-07 21:54:41 +0800
  • e36b41cbd0 Fixed Y scroll aiming when Horizontal Scrollbar is enabled (#665). Tweak log demo. omar 2017-08-07 21:53:57 +0800
  • 7096fd8500 Fixes for Vertical Scrollbar not automatically getting enabled if enabled Horizontal Scrollbar straddle the vertical limit. (#1271, #246) omar 2017-08-07 19:41:22 +0800
  • 233a6efeba Fixed GetScrollMaxX(), GetScrollMaxY(). Tweak demo to display more data. Using functions in Begin(). (#1271) omar 2017-08-07 18:35:15 +0800
  • 6d60e0fc58 Fonts readme tweaks, links omar 2017-08-07 15:21:21 +0800
  • f4c0134f9f Moved ColorEdit, ColorPicker declaration in their own section of imgui.h, minor comments adjustment (#346) omar 2017-08-06 18:08:58 +0800
  • cdea8ca94f Demo: Comment about 'static' and some tweaks (#1267) omar 2017-08-06 11:07:52 +0800
  • 46c73cccff Popups window can be moved (if they don't have explicit positions provided by user, or e.g. sub-menu popup) (#1252) omar 2017-08-05 19:47:52 +0800
  • d762f1dbfb Comments, clarification about io.WantCaptureMouse, io.WantCaptureKeyboard flags timing and NewFrame(). (#1262) omar 2017-08-05 19:15:03 +0800
  • 95f2706d1c Clipboard: [windows] Fixed not closing win32 clipboard on early return. (#1264) omar 2017-08-05 16:05:48 +0800
  • 40ac84d701 DataTypeApplyOpFromText: renamed local variables + comments to avoid confusion about the fact that int and float paths are not totally symetrical. (#671) omar 2017-08-03 16:41:29 +0800
  • f6460970c5 ColorPicker: Hue wheel + SV triangle picker mode (mode selection flags still wip, missing context menu and persistent options). (#346) omar 2017-07-31 21:20:42 +0800
  • fb54dce71c Internals: Added ImLineClosestPoint, ImTriangleClosestPoint helpers. Changing ImVec2 arg to const ImVec2& omar 2017-07-31 21:11:41 +0800
  • 1a26d0bc98 Internals: Added ImDot(), ImRotate(), ImLerp(v2,v2,float) helpers. omar 2017-07-31 18:56:51 +0800
  • 72da4081f8 Internals: Added ImTriangleBarycentricCoords() helper. Renamed ImIsPointInTriangle() to ImTriangleContainsPoint(), with different arg order. omar 2017-07-31 17:54:40 +0800
  • 2f508c7073 ColorEdit: Extract ColorOptionsPopup() function out of ColorEdit4(). (#346) omar 2017-07-31 17:32:07 +0800
  • 10ef5a63f0 ColorPicker: Rearrange code to introduce alternate HSV picker/selector with simpler diff. (#346) omar 2017-07-31 16:50:28 +0800
  • cc3cce7567 Comments, minor tidying up. omar 2017-07-31 16:48:45 +0800
  • e63ebd997f Use ~IM_COL32_A_MASK instead of IM_COL32(255,255,255,0) omar 2017-07-31 12:25:27 +0800
  • 70ee41b8b3 ColorPicker: Reordered drawing code to match left-to-right display. Extra comments. (#346) omar 2017-07-31 12:08:20 +0800
  • 4b2f157fb1 Renamed ImGuiColorEditFlags_ModeMask_ to ImGuiColorEditFlags_InputsModeMask_ (#346) omar 2017-07-31 11:50:14 +0800
  • efbb1ae04e ColorPicker4: Fixed forwarding _HDR flag from ColorPicker4 back to ColorEdit4 components. (#346) omar 2017-07-30 23:22:48 +0800
  • 3ee969c3e3 ColorPicker: Alpha bar using a checkerboard. (#346) omar 2017-07-30 23:11:59 +0800
  • 3075d8bcd4 ColorEdit4: Preliminary support for ImGuiColorEditFlags_HDR flag (currently only lift limits). (#346) omar 2017-07-30 23:08:43 +0800
  • f6a89779c8 ColorEdit4: Hex input clamps integer components to 0..255 range during printout (#346) omar 2017-07-30 23:06:07 +0800
  • 91a4f5df25 Demo: Tweaks omar 2017-07-30 18:28:59 +0800
  • e1a00c3d26 ColorButton: Added frame border when style border are off. (#346) @jdumas omar 2017-07-30 18:09:34 +0800
  • 65a27732d8 ImGuiColorEditFlags: Made 0x01 unused for backward compatibility with old bool. Various comments tweaks. (#346) omar 2017-07-30 17:57:38 +0800
  • 90fcd4a829 Renamed ImGuiColorEditFlags_NoColorSquare to ImGuiColorEditFlags_NoSmallPreview (#346) omar 2017-07-30 17:55:42 +0800
  • 3fe7739b5d ColorPicker: Honor ImGuiColorEditFlags_NoTooltip if for some reason user wants that. (#346) omar 2017-07-30 17:53:37 +0800
  • 4d844ffde1 Demo: custom ColorPicker popup example tweaks (#346) omar 2017-07-30 17:43:19 +0800
  • f040547a5f Demo: custom ColorPicker popup example (#346) omar 2017-07-30 17:37:28 +0800
  • 3ffcc72f98 ColorPicker: Better cursor/color preview over the color matrix. (#346) omar 2017-07-30 16:57:44 +0800
  • 390188dfa9 Comments about parts of imgui_internal.h that will self-destruct. omar 2017-07-30 16:16:06 +0800
  • fef8aac523 ColorPicker4: hue/alpha bars draw arrows that would look right on all background. RenderArrow helper. (#346) omar 2017-07-30 16:15:52 +0800
  • 35186a1165 Demo: Comments (#346) omar 2017-07-29 17:35:24 +0800
  • db436b183b Merge branch 'master' into 2016-02-colorpicker omar 2017-07-29 17:24:06 +0800
  • 3926bd08e1 ColorPicker: Added ImGuiColorEditFlags_NoSidePreview flag + optional reference color. Added more demo code. (#346) omar 2017-07-29 17:23:32 +0800
  • e84224bcd5 ColorEdit4: Can open context menu from inputs/drags as well (#346) omar 2017-07-29 17:00:56 +0800
  • 6c82572a35 ColorEdit4: Fixed not returning true when clicking on the Original/Ref color in Picker spawned from ColorEdit4 + shallow tidying up (#346) omar 2017-07-29 16:11:20 +0800
  • 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 +0800
  • 6bc1572d31 ColorPicker: Comments. Single input value mode allow access to context-menu options. (#346) omar 2017-07-29 15:50:24 +0800
  • 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 +0800
  • cdcda9ff68 ColorEdit4: Store edit options per window. Demo: Letting user change edit mode. (#346) omar 2017-07-29 14:01:05 +0800
  • 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 +0800
  • b1cbd87a94 ColorEdit4: Minor tidying up. (#346) omar 2017-07-27 16:49:57 +0800
  • 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 +0800
  • a9df6bfe86 ColorButton: Fixed rounding corners artefact when there is a single cell. omar 2017-07-27 14:04:58 +0800
  • b7a563276d ColorTooltip: Honor ImGuiColorEditFlags_HalfAlphaPreview flag by calling ColorButton(). Added HalfAlphaPreview to demo. (#346) omar 2017-07-27 11:07:46 +0800
  • c1c2b2400a ColorButton: Undo ce203f99f5 omar 2017-07-27 11:04:39 +0800
  • 2e37db9002 ColorEdit4: Fix not forwarding ImGuiColorEditFlags_AlphaBar flag to ColorPicker4 (#346) omar 2017-07-27 10:49:01 +0800
  • 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 +0800
  • 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 +0800
  • 76bae2f015 ColorEdit, ColorPicker: Fixed broken build due to commiting an undesirable change in 78a8f798c5 (#346) omar 2017-07-26 17:46:48 +0800
  • 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 +0800
  • 6796e771fd ColorEdit, ColorPicker: added ImGuiColorEditFlags_NoAlphaPreview flag (#346). Reorder flags again. omar 2017-07-26 16:28:01 +0800
  • 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 +0800
  • c84acf3f56 Comments omar 2017-07-26 15:59:57 +0800
  • ce203f99f5 ColorButton: Push a text baseline offset if higher than g.FontSize. (#346) omar 2017-07-26 15:52:17 +0800
  • 78a8f798c5 ColorEdit, ColorPicker, ColorButton: Display grid under transparent colors (WIP) (#346) omar 2017-07-26 15:24:09 +0800
  • df56879883 imDrawList::PathRect() uses ImGuiCorner_ enums. Should fully promote this to imgui.h at some point. omar 2017-07-26 14:53:15 +0800
  • 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 +0800
  • 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 +0800
  • 6e04cedd5f Updated link to binaries omar 2017-07-25 20:06:18 +0800
  • f39cd61bf0 Reorder ImGuiColorEditFlags_ (#346) omar 2017-07-23 19:08:58 +0800
  • 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 +0800
  • 8d32e8dae6 ColorPicker: Handle out of 0..1 range colors when displaying the cross hair. (#346) omar 2017-07-23 18:48:45 +0800
  • 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 +0800
  • 4def2ce339 ColorPicker: Demo tweaks (#346) omar 2017-07-23 17:55:39 +0800
  • 645875a240 Examples: Enable vsync by default in example applications (#1213, #1151) omar 2017-07-23 16:13:17 +0800
  • 166e8f6261 Examples: OpenGL2+GLFW/SDL: Added commented out glUseProgram(0) in main.cpp for visibility (#1116) omar 2017-07-23 15:57:39 +0800
  • c8794c246e Examples: Vulkan: Batch file builds both debug and release omar 2017-07-23 15:22:21 +0800
  • a8b202782f ColorPicker,ColorButton: Honor Border/Shadow style settings (#346) omar 2017-07-22 19:37:13 +0800
  • 790d0eb5be ColorPicker: Added ImGuiColorEditFlags_AlphaBar option (#346) omar 2017-07-22 19:24:39 +0800
  • 4355b2e422 ColorPicker: Honor ImGuiColorEditFlags_NoColorSquare flag + comments (#346) omar 2017-07-22 19:04:10 +0800
  • 91bf8fd689 ColorPicker,ColorEdit: Demo code (#346) omar 2017-07-22 18:01:29 +0800
  • 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 +0800
  • dd9c2f97a8 ColorPicker: Renamed _NoSliders to _NoInputs (#346) omar 2017-07-22 17:38:38 +0800
  • eba33deaf3 ColorPicker: Longer white line for hue/alpha selection, scale down according to ItemInnerSpacing. (#346) omar 2017-07-22 17:35:18 +0800
  • 1edeea2f5a ColorPicker: Removed extraneous ImGui:: prefixes + minor comments (#346) omar 2017-07-22 16:58:28 +0800