276 Commits (54eb4c485e898e215669a552dbce10f303bd63c8)

Author SHA1 Message Date
omar 419b22a487 Internals: Split some code out of NewFrame() into an Initialize() function. 7 years ago
omar f72ca6d22c ImFontConfig: Added RasterizerMultiply option to alter the brightness of individual fonts at rasterization time, which may help increasing readability for some. Added RasterizerFlags for custom rasterizer flags (aka imgui_freetype) 7 years ago
omar 37f3a718c6 Marked all fmt + va_list functions with format attribute so GCC/Clang can warn about them. Not ignoring -Wsuggest-attribute=format anymore for GCC/Clang. 7 years ago
omar 40f608ce9b Version 1.52 WIP 7 years ago
omar 55a6209931 Version 1.51 7 years ago
omar 141339e4b7 (internals) Renamed FocusedWindow to NavWindow to match terminology of navigation branch 7 years ago
ocornut 2ad2190d47 Merge 20a0fde012 Tidying up default clipboard handler for non Windows-OS (from Nav branch) 7 years ago
omar bea06117bb Nav: Fix navigation inside child windows. Removed GetChildID() and storin/g the info within the window. (#1291) 7 years ago
ocornut 50b3a14d0a Merge 2545d75c3b from Nav - Tidying up, removed two unnecessary window flags from being exposed in imgui.h 7 years ago
omar d5b0d51274 Minor miscellaneous merges from Navigation branch to reduce divergence a little bit 7 years ago
omar 9670fe9ca7 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
7 years ago
omar 6ee317d26d ImRect::Clip() -> ClipWith() to clarify meaning, going to undo the change in Nav branch. 7 years ago
omar 53e73182ff Merge branch 'master' into navigation
# Conflicts:
#	imgui_internal.h
8 years ago
omar 530baee1a7 Removed tabs that slipped through the cracks 8 years ago
omar 067127f113 Columns: Caching columns clipping rectangles (#125) 8 years ago
omar adeaf1cd72 Columns: Moved PushColumnClipRect() to imgui_internal.h 8 years ago
omar 1c83b073c6 Columns: A set of column (and most importantly the right-most column) do not register its content to the parent, not affecting the window contents size. (#519, #125, #913) 8 years ago
omar 7f0063f858 Columns: Added ImGuiColumnsFlags_NoResize flag (internal). (#913, #125) 8 years ago
omar 19a42cb2fd Columns: Moved BeginColumns/EndColumns/flags from #913 to imgui_internals.h + minor shallow tweaks. Removed demo code temporarily. (#125) 8 years ago
omar bc78535bbf Merge branch 'master' of https://github.com/ggtucker/imgui into ggtucker-master
# Conflicts:
#	imgui.cpp
#	imgui.h
8 years ago
omar bf0d9c123e Merge branch 'master' into navigation 8 years ago
omar 8be7a60f20 ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. (#618) 8 years ago
omar 1086c87767 ImFontAtlas: Re-arranging code to simplify implementation of imgui_freetype. (#618) 8 years ago
omar 4075cc58e9 ImFontAtlas; Re-arranging code to simplify implementation of imgui_freetype (#618) 8 years ago
omar a85a14370b OpenPopupEx() internal tweaks to receive an ImGuiID, BeginPopupContextXXX shortening unnecessarily long identifier. 8 years ago
omar d2259f65e5 Undo part of 32dbe836d0 to keep the same name for both overloads (#891, #799) 8 years ago
omar e682362f35 TODO list update, comments 8 years ago
omar 73f9c9d80c Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_demo.cpp
8 years ago
omar 7e452ec737 Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS 8 years ago
omar 30d1e5712a Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
8 years ago
omar 942cb0e1f2 Added SetColorEditOptions(). ColorPicker4: context menu to select picker type and alpha bar. Reorganized flags (again!). (#346) 8 years ago
omar 03700ad15e Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
omar fb54dce71c Internals: Added ImLineClosestPoint, ImTriangleClosestPoint helpers. Changing ImVec2 arg to const ImVec2& 8 years ago
omar 1a26d0bc98 Internals: Added ImDot(), ImRotate(), ImLerp(v2,v2,float) helpers. 8 years ago
omar 72da4081f8 Internals: Added ImTriangleBarycentricCoords() helper. Renamed ImIsPointInTriangle() to ImTriangleContainsPoint(), with different arg order. 8 years ago
omar 390188dfa9 Comments about parts of imgui_internal.h that will self-destruct. 8 years ago
omar fef8aac523 ColorPicker4: hue/alpha bars draw arrows that would look right on all background. RenderArrow helper. (#346) 8 years ago
omar 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) 8 years ago
omar 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) 8 years ago
omar 69dd1ed583 RenderColorRectWithAlphaCheckerboard() in one layer to shunt out anti-alasing artefacts when rounded. Added ImLerp(int,int,float). (#346) 8 years ago
omar 19c6a9c0e0 ColorButton, ColorPicker: painfully made RenderColorRectWithAlphaCheckerboard more friendly to using Rounding and Border in style, still not perfect :( (#346) + comments 8 years ago
omar 78a8f798c5 ColorEdit, ColorPicker, ColorButton: Display grid under transparent colors (WIP) (#346) 8 years ago
omar a8b202782f ColorPicker,ColorButton: Honor Border/Shadow style settings (#346) 8 years ago
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) 8 years ago
omar c8553817d9 Merge branch 'master' into 2016-02-colorpicker 8 years ago
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) 8 years ago
omar 85d9c8fb46 Internals: renaming IndexWithinParent to OrderWithinParent 8 years ago
omar 3e4cb40d45 Merge branch 'master' into 2016-02-colorpicker 8 years ago
omar 12d265fa31 Version 1.51 WIP tag 8 years ago
omar 5e1caaaef3 Version 1.50 8 years ago
omar 2a3c61e5f8 Merge branch 'master' into 2016-07-navigation 8 years ago
omar 92ea8d1131 Merge branch 'master' into 2016-02-colorpicker 8 years ago
omar b8043d3ee5 Internal: Renamed ImLoadFileToMemory to ImFileLoadToMemory to be consistent with ImFileOpen + fix mismatching .h name (#917) 8 years ago
omar b6c0227add Merge branch 'master' into 2016-02-colorpicker 8 years ago
omar c76be71acf Merge branch 'master' into 2016-07-navigation 8 years ago
omar 6257b5814a Added an explicit (internal) ClearActiveID() helper and removed the default NULL window parameter to internal SetActiveID(), 8 years ago
ocornut 3028ccc25b Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut f4cf972ea9 Merge branch 'master' into 2016-02-colorpicker 8 years ago
ocornut 104b381023 Using _wfopen() under Windows+MSVC because fopen() doesn't support UTF-8 encoding. Wrapped as ImFileOpen(). (#917) 8 years ago
Geoffrey Tucker 66c4281290 Began improvements to columns API by splitting the Columns() function into BeginColumns() and EndColumns() and adding additional flags. The columns data still needs to be placed into a stack. 8 years ago
ocornut 1a0e414d3a Fixed uninitialized variables (wouldn't have a real effect because they'd be cleared in Begin()). 8 years ago
ocornut 98e1d500d4 Support for #define-ing GImGui and IMGUI_SET_CURRENT_CONTEXT_FUNC to enable custom thread-based hackery (#586) 8 years ago
ocornut dd6163241c Merge branch 'master' into 2016-02-colorpicker 8 years ago
ocornut bdb34d1c11 Merge branch 'master' into 2016-07-navigation 8 years ago
ocornut 1810b3ff38 Added ImGuiCorner enum to clarify some internal code 8 years ago
ocornut abaada4224 Removed the inconsistent shadow under RenderCollapseTriangle() (~#707) 8 years ago
ocornut 404979e48d Merge remote-tracking branch 'origin' into 2016-02-colorpicker 8 years ago
ocornut fea0fcb7c3 Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut f2699de242 Fix using IsItemActive() after EndGroup() or any widget using groups (#840, #479) 8 years ago
ocornut ed279c0095 Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut 1b5bbf725b Merge remote-tracking branch 'origin' into 2016-02-colorpicker 8 years ago
ocornut 56cdbe434d Style: Added ButtonTextAlign, ImGuiStyleVar_ButtonTextAlign (#842) 8 years ago
ocornut 0f303d363a Refactor text alignment options to use ImVec2, removed ImGuiAlign (#842, #222) 8 years ago
ocornut de9f8944ea Internal RenderTextClipped() merged optional/rate clip_min* clip_max* into clip_rect* 8 years ago
ocornut c5b8c6303a Refactor PushStyleVar/PopStyleVar so it is constant time + can receive integers (yet unused) (#842) 8 years ago
ocornut b397fb507e Fixed EndGroup() not restoring offset properly. breaking SameLine() offset (caused by 954c890c67) (#829) 8 years ago
ocornut ac7826c8a5 ImRect: Added Translate() helper, removed redundant and misleading Reduce() 9 years ago
ocornut ea2425ad9a Nav: Fixed entering child with PadActivate not setting ActiveIdSource to Nav (#323) 9 years ago
ocornut 695ca7bb45 Nav: Tidying up. Comments. (#323) 9 years ago
ocornut cf16ba6572 Nav: Exposed RenderNavHighlight() in imgui_internal.h to increase discoverability and reordered arguments to be more consistent (#323) 9 years ago
ocornut 996eb080fa Merge remote-tracking branch 'origin' into 2016-02-colorpicker 9 years ago
ocornut 8828889d5e Refactored rare transient bool stacks into a set of flags, added unexposed ImGuiItemFlags_SelectableDontClosePopup (#323) 9 years ago
ocornut cbf24c13ca Merge remote-tracking branch 'origin' into 2016-07-navigation 9 years ago
ocornut a7f6ea592f Moved GetColorU32 out of imgui_internal.h to avoid inlining mess (#759) 9 years ago
ocornut dcff032429 Nav: Moving all nav inputs to io.NavInputs[] float array, new enum labelled for gamepad. (#323) 9 years ago
ocornut e9c881e4de Nav: fixed using NavMenu/windowing select when no window is already focused + cleanup code (#323) 9 years ago
ocornut 08a28c16ae Nav: Merge FocusedWindow and NavWindow that were basically duplicate at this point (#323) 9 years ago
ocornut 2545d75c3b Tidying up, removed two unnecessary window flags from being exposed in imgui.h 9 years ago
ocornut b3cba62b80 Nav: Added experiment ImGuiWindowFlags_NavFlattened flag to cross over between parent and non-scrolling child windows (#323) 9 years ago
ocornut f72e2fd1b1 Merge remote-tracking branch 'origin' into 2016-07-navigation 9 years ago
ocornut 954c890c67 SameLine() with explicit X position is relative to left of group/columns (ref #746, #125, #630) 9 years ago
ocornut e2dd48ae65 Nav: Split _NoNav window flag into _NoNavInputs and _NoNavFocus (#323) 9 years ago
ocornut 04157da291 Nav: first committed pass for manual moving and manual scrolling (after a bunch of attempts) (#323) 9 years ago
ocornut 4309b8c1ed Clarifying that MovedWindow* apply to mouse moving only 9 years ago
ocornut efc8858328 ImRect: fixed Clip() function being the other way around (INTERNAL API BREAKING CHANGE- wasn't exposed, hoping nobody uses that) + actually fixes the function behavior. 9 years ago
ocornut d6ce800a20 Nav: ActiveIdAllowNavMove -> ActiveIdAllowNavDirFlags for more flexibility (nav up/down typically allowed on a single-line text input) (#323) 9 years ago
ocornut d9d6b0e629 Nav: Renamed private ImGuiNavDir_ enum to use left/right/up/down to be consistent with key enums (#323) 9 years ago
ocornut b2aaab873d Nav: collapse button is interactve, allow collapsing, tidying up, resize speed takes account of framebuffer scale (#323) 9 years ago
ocornut 20a0fde012 Tidying up default clipboard handler for non Windows-OS 9 years ago
ocornut aeabda5a5f Navigation: Tap NavMenu to access menu and close buttons, hold to focus/resize (#323)
Introducing a concept of NavLayer to filter navigable items
9 years ago