1709 Commits (9b32f7bf2d6e862bdddc6a501296738daa71e38f)

Author SHA1 Message Date
omar ce95b84825 Added ImGuiKey_Insert for future use. Setup in all example bindings. (#1541) 7 years ago
omar 168200f915 Popups: Comments, reorganize bits of the header section, renamed parameters. 7 years ago
omar a8e5542d78 BeginPopup: Exposed extra_flags publicly. (#1533) 7 years ago
omar 66b2ee6ea2 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
7 years ago
omar 407955d9fb Examples: Using IM_OFFSETOF macro. + Comments 7 years ago
omar 2b8224692e Merge branch 'master' into navigation 7 years ago
omar 0a0b252bb6 DragDrop: Removed IsDragDropActive() (introduced a few days ago, revert 06bea369c0) as our use case doesn't need it anymore. Will add it if there is a real need. 7 years ago
omar 9fbecac87e Demo: Improved Selectable() examples. (#1528) 7 years ago
omar 96ccc484f9 Merge branch 'master' into navigation
# Conflicts:
#	imgui_internal.h
7 years ago
omar 3c6fbe0849 Renamed ImGuiSizeConstraintCallback to ImGuiSizeCallback, ImGuiSizeConstraintCallbackData to ImGuiSizeCallbackData. 7 years ago
omar 7a15fc8de5 Merge branch 'master' into navigation 7 years ago
omar fbf2435f38 Exposed IM_OFFSETOF() helper in imgui.h 7 years ago
omar eef9120e07 Reorganized comments in the IMGUI_DISABLE_OBSOLETE_FUNCTIONS function. Added an IM_ASSERT(0). 7 years ago
omar 2dd2ca0096 Removed CalcItemRectClosestPoint() which was weird and not really used by anyone except demo code. If you need it it's easy to replicate on your side.
Removed internal corresponding ImRect::GetClosestPoint() for now.
Essentially revert dcaafffe0e.
7 years ago
omar c4e6d622c1 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar 06bea369c0 DragDrop: Added IsDragDropActive() helper which is useful for binding to decide how to handle mouse inputs. 7 years ago
omar 49eed6e2d1 Version 1.54 WIP 7 years ago
omar 436cad4bca Merge branch 'master' into navigation
# Conflicts:
#	imgui.h
7 years ago
omar d9034bf2d8 ListBox() changed signature of ListBox() to match Combo(). Still not very happy about not using const char** anymore. (#931) 7 years ago
Branimir Karadžić 149523a101 Fixing error: declaration of ‘size’ shadows a member of 'this' [-Werror=shadow] 7 years ago
omar e916310b2e Version 1.53 7 years ago
omar 3d48f5b8c2 Demo: BeginCombo() demo code 7 years ago
omar de5c304b49 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
7 years ago
omar 1b86e7343f Renamed the emblematic ShowTestWindow() function to ShowDemoWindow(). Kept redirection function (will obsolete). 7 years ago
omar b1930c5672 Merge branch 'master' into navigation 7 years ago
omar e9ceef4762 ImVector: Revert 6172e93272 actually problematic with our current use (because we don't construct the instances). 7 years ago
omar ffb4f6ca8c Merge branch 'master' into navigation 7 years ago
omar a5739a0aa3 Fixed warning with Clang+MSVC using __int64 to define the helper ImU64 type (#1184) 7 years ago
omar 69879dd4f3 ImVector: Spacing. 7 years ago
omar 8e8b5498f7 ImVector: insert() uses grow_capacity() - had inconsistent resize policy 7 years ago
omar 6172e93272 ImVector: Added assignments and = operators + comments. 7 years ago
omar 1f26652944 Various zealous warning fixes (thanks Clang). 7 years ago
omar 287380261c Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
7 years ago
omar 996dfb21cf ImDrawList: Added ImDrawListFlags for AA settings. ImDrawList doesn't directly depends on GImGui anymore. 7 years ago
omar 14cb8177d0 ImDrawList: Removed 'bool anti_aliased = true' final parameter of ImDrawList::AddPolyline() and ImDrawList::AddConvexPolyFilled(). Anti-aliasing is controlled via the regular style.AntiAliased flags. 7 years ago
omar 531c11d5c7 ImDrawList: Small refactor toward removing dependency on GImGui + PushClipRectFullscreen now correctly uses data provided by imgui which can takes account of DisplaySize + Removed static variable in PathArcToFast() which caused linking issues to some. 7 years ago
omar 230f826ef5 ImDrawList: Comments 7 years ago
omar 4c2514dc29 Merge branch 'master' into navigation 7 years ago
omar 55c0d2b9ab InputText: renamed ImGuiInputTextFlags_DisableUndo to ImGuiInputTextFlags_NoUndoRedo (#1506, #1508) 7 years ago
ibachar abaf347deb Added a flag for text input to disable undo / redo 7 years ago
omar 6497f5dc1b Merge branch 'master' into navigation
# Conflicts:
#	imgui.h
7 years ago
omar 0c6e260f73 Drag and Drop: Added ImGuiDragDropFlags_SourceExtern to facilitate interfacing with WM_DROPFILES (#143) 7 years ago
omar 51433e26af Drag and Drop: Renamed to ImGuiDragDropFlags_SourceNoAutoTooltip to ImGuiDragDropFlags_SourceNoPreviewTooltip (#143) 7 years ago
omar eefea0588a Using the ImGuiWindowFlags_NoScrollWithMouse flag on a child window forwards the mouse wheel event to the parent window, unless either ImGuiWindowFlags_NoInputs or ImGuiWindowFlags_NoScrollbar are also set. (#1380, #1502) 7 years ago
omar 45bca7851d Added ImGuiHoveredFlags_RootAndChildWindows helper for consistency with focused flags. (#1382) 7 years ago
omar 5f39758202 Minor tweaks, comments, spacing fixes 7 years ago
omar cc3192f347 Merge branch 'master' into navigation
# Conflicts:
#	imgui_internal.h
7 years ago
omar 3905816082 Added ShowFontSelector(), ShowStyleSelector(). (#707) 7 years ago
omar 16fb58984f Merge branch 'master' into navigation 7 years ago
omar 90788a1242 ImVector: Added ImVector::contains() helper 7 years ago
omar 7c7a7baf76 Merged miscellaneous small stuff (from nav/dock branches). 7 years ago
omar b174fcc9af Added IsAnyWindowFocused() (from Nav branch). 7 years ago
omar fa9327ccf8 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_draw.cpp
#	imgui_internal.h
7 years ago
omar e98df91dc4 Drag and Drop: Added ImGuiCol_DragDropTarget (#143, #707) 7 years ago
omar 7ec934f439 Drag and Drop: Comments 7 years ago
omar 052b6021dd Merge branch 'master' into drag_and_drop
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
7 years ago
omar 0a3db267c3 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_demo.cpp
#	imgui_internal.h
7 years ago
omar 6190ab0084 Renamed GetItemsLineHeightWithSpacing() to GetFrameHeightWithSpacing() 7 years ago
omar c22657985a Added GetFrameHeight() function (used to be SmallSquareSize internally) 7 years ago
omar 08b72eb5c0 IsWindowFocused() refactor will flags. (#1382)
Marked IsRootWindowFocused() as obsolete in favor of using IsWindowFocused(ImGuiFocusedFlags_RootWindow).
Marked IsRootWindowOrAnyChildFocused() as obsolete in favor of using IsWindowFocused(ImGuiFocusedFlags_RootAndChildWindows).
7 years ago
omar fa179d0ad8 Reordered ImGuiHoveredFlags to match upcoming ImGuiFocusedFlags (#1382) 7 years ago
omar 4a555d35f0 IsWindowHovered(): split ImGuiHoveredFlags_FlattenChild into separate ChildWindows and RootWindow flags. Allowing more combination and a better symetry with IsWindowFocused() flags. (#1382) 7 years ago
omar 185c1eaaf3 Alignment + removed comments 7 years ago
omar f93945540f Renamed ImGuiTreeNodeFlags_AllowOverlapMode to ImGuiTreeNodeFlags_AllowItemOverlap. (#600, #1330) 7 years ago
omar 6b168b43ff Comments (#822) 7 years ago
omar 2b9d8ab91d Merge branch 'master' into drag_and_drop
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar 38bfdb357e Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar f06f68f3ce Obsoleted old functions: SetScrollPosHere (marked obsolete in 1.42, July 2015). GetWindowFont(), GetWindowFontSize() (marked obsolete in 1.48, March 2016) 7 years ago
omar 9fd15defe4 Added an implementation of SetItemDefaultFocus() in the master branch for combo patterns to use and be more forward-compatible. (#787) 7 years ago
omar d1db229907 Merge branch 'master' into navigation
# Conflicts:
#	imgui_demo.cpp
7 years ago
omar 1096e14356 ImFont: Added GetDebugName() helper. 7 years ago
omar e3e0326ea9 Exposed BeginCombo() publicly. 7 years ago
omar 080f61858f Sorted typedefs/enumations forward declarations in imgui.h 7 years ago
omar eab6333a0b SetNextWindowContentSize() adjust for client->window size, but the fate of borders isn't really clear for now (until now we always tried to make borders not affect layout, so if we want a 200x200 fully visible space with borders and zero window padding user need to include the borders) (#1490) 7 years ago
omar 0872020c5c Comments 7 years ago
omar f72b002da8 Removed SetNextWindowContentWidth(), prefer using SetNextWindowContentSize(). Kept redirection function (will obsolete). (#246, #519, #1444) 7 years ago
omar 871a5cecc1 Merge branch 'master' into navigation 7 years ago
omar c9f0275e22 Combo: Removed ImGuiWindowFlags_ComboBox flag. Moved internal window flags. 7 years ago
omar 7bf85db6c4 Drag and drop: Added COL3F payload for color without alpha overwrite. Exposed standard color payload types in imgui.h (#143) 7 years ago
omar 553b0fcf8f Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
7 years ago
omar 97edd42fc0 Indent(), Unindent(): Allow passing negative values. 7 years ago
omar e6215b6ca0 Merge branch 'master' into navigation + merge fix
# Conflicts:
#	imgui.cpp
7 years ago
omar 94bf12f14b Demo: Display better mouse cursor info for debugging backends. 7 years ago
omar 20c7aab60c Exposed GetOverlayDrawList(). (~#545, ~#530) 7 years ago
omar 3b7e4eaf38 Comments about ImGuiWindowFlags_ResizeFromAnySide. Removed hovering color. May need its own color. (#822) 7 years ago
omar 90ae1c59c4 Added ImGuiWindowFlags_ResizeFromAnySide flag and code to resize from any of the 4 corners (only 2 corners enabled). (#822) 7 years ago
omar 729333293c Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar 0f119865a6 Comments about ImGuiWindowFlags_ResizeFromAnySide. Removed hovering color. May need its own color. (#822) 7 years ago
omar 2ca4f9e862 Added ImGuiWindowFlags_ResizeFromAnySide flag and code to resize from any of the 4 corners (only 2 corners enabled). (#822) 7 years ago
omar 63712d5f5c Merge branch 'master' into drag_and_drop 7 years ago
omar 9191b17218 Merge branch 'master' into navigation 7 years ago
omar 4c4f1b0224 ImVector: Added ImVector::push_front helper. 7 years ago
Emmanuel Benoît 77a310736d Horizontal mouse wheel support
This patch adds support for the horizontal mouse wheel in ImGui. It
affects windows that can be scrolled, as long as the Ctrl key is not
being pressed.

The scrolling speed has been set empirically so that it matches the
scrolling speed on the Firefox browser when the horizontal wheel is
used.

Internally, it adds a MouseHorizWheel to ImGuiIO, which is then used in
NewFrame to scroll the current window.

The SDL/GL2, SDL/GL3, GLFW/GL2 and GLFW/GL3 examples has been modified
to use it.
7 years ago
omar 532f564fd3 ImGuiTextBuffer: Renamed append() helper to appendf(), appendv() to appendfv(). Added reserve(). 7 years ago
omar d9c5d72962 ImGuiStorage: Added BuildSortByKey() helper to rebuild storage from stratch. 7 years ago
omar 2543807e56 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
7 years ago
omar 3f5b2a3fe3 Exposed ImDrawCornerFlags, replaced occurences of ~0 with an explicit ImDrawCornerFlags_All. Inversed BotLeft (prev 1<<3, now 1<<2) and BotRight (prev 1<<2, now 1<<3). 7 years ago
omar 31683cfe34 ImDrawList::AddImageRounded: removed PrimDistributeUV declaration, fixed coding style, restored argument order from original PR. (#845) 7 years ago
omar ba095f81a5 Merge branch '2016-08-rounded-image' of https://github.com/thedmd/imgui into thedmd-2016-08-rounded-image 7 years ago
omar 8c0f2e4946 Added comment to help people dealing with 58345b11e1 breakage (#707) 7 years ago
thedmd 79f07f6ff0 Add AddImageRounded() to ImDrawList 7 years ago
omar 92212b17aa Merge branch 'master' into drag_and_drop 7 years ago
omar 9848a7023b Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_demo.cpp
7 years ago
omar abbf836fd0 Style, Begin: removed ImGuiWindowFlags_ShowBorders window flag. Borders are now fully set up in the ImGuiStyle structure (see e.g. style.FrameBorderSize, style.WindowBorderSize). Use ImGui::ShowStyleEditor() to look them up. (#707, fix #819, #1031, ref #1019, ref #447) 7 years ago
omar c433bc971f Reorder fields for consistency. 7 years ago
omar 39137ccc3e Style: renamed ImGuiCol_ChildWindowBg to ImGuiCol_ChildBg. (#707) 7 years ago
omar 9886b09a0a Minor tweak, removed extraneous empty destructor. 7 years ago
Jason Wilkins e605f21797 TreePush with zero arguments was ambiguous. Resolved by making it call TreePush(const void*) 7 years ago
omar 9a44d447cd NewFrame() now asserts if neither Render or EndFrame have been called. Exposed EndFrame(). Made it legal to call EndFrame() more than one. (#1423 etc.) 7 years ago
omar d211a0e338 Merge branch 'master' into navigation (with style breakable)
# Conflicts:
#	imgui.cpp
#	imgui_draw.cpp
7 years ago
omar 4022ada843 Merge branch 'master' into drag_and_drop 7 years ago
omar 4daf377c9b Added comment about TextUnformatted(). (#1450) 7 years ago
omar d7af1a218e Style: Added PopupRounding setting. (#1112) 7 years ago
omar 0a61b7195c Style: Added a default StyleColorsLight(). (#707) 7 years ago
omar 58345b11e1 Style: Removed ImGuiCol_ComboBg in favor of combo boxes using ImGuiCol_PopupBg for consistency. (#707) 7 years ago
omar bd4bc929ce Style: renamed style.ChildWindowRounding to style.ChildRounding, ImGuiStyleVar_ChildWindowRounding to ImGuiStyleVar_ChildRounding. 7 years ago
omar 7746dd104c Merge branch 'master' into drag_and_drop 7 years ago
omar 6817f3a3d9 Merge branch 'master' into navigation 7 years ago
omar f5bdf443c9 Minor comments, tweaks 7 years ago
omar ae060b1d67 Merge branch 'master' into drag_and_drop 7 years ago
omar ffad688fc8 Drag and Drop: Added payload->IsPreview() to user can render their custom preview while handling overlapping drop targets. (#143) 7 years ago
omar 2275cb8b83 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
7 years ago
omar 30bf40195b io.OptNoCursorBlink -> io.OptCursorBlink (#1427) 7 years ago
omar 669498ff26 Added io.OptNoCursorBlink option to disable cursor blinking. (#1427). Renamed io.OSXBehaviors to io.OptMacOSXBehaviors. Should affect users as the compile-time default is usually enough. (#473, #650) 7 years ago
omar 0d4c320f88 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_draw.cpp
7 years ago
omar de1e7dc088 Drag and Drop: Moved internal fields out of public sight. (#143) 7 years ago
omar 8b725c94cb Drag and Drop: Rework internal to allow overlapping targets (#143) 7 years ago
omar 3461a2f296 Merge branch 'master' into drag_and_drop 7 years ago
omar ff4d4ca651 IsWindowHovered(): Added ImGuiHoveredFlags_FlattenChilds flag. Made IsRootWindowOrAnyChildHovered() obsolete in favor of IsWindowHovered( ImGuiHoveredFlags_FlattenChilds) (#1382, #1404) 7 years ago
Giuseppe Barbieri 6fb43f2011
Update imgui.h 7 years ago
omar 66f42324ad Drag and Drop: Added ImGuiDragDropFlags_SourceNoHoldToOpenOthers flag. 7 years ago
omar 63f6f2dd13 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar fba704bf5d Examples: Added a bunch of comments/referencs related to io.WantCaptureMouse, io.WantCaptureKeyboard (#1262, #1237, #1219, #635, #1058, #1051, #912, #533, #703, #446, #459, #364, #213, #52, and more) 7 years ago
omar 59323b54da Demo: Comments (#1408) 7 years ago
omar 7f06d385a1 Added assertions and comments for incorrect use/understanding of IsWindowFocused() etc. functions 7 years ago
omar 0e775807b4 Drag and Drop: Added a mechanism to allow widgets with no identifiers (such as Text/Image) to be used with BeginDragDropSource() given the explicit ImGuiDragDropFlags_SourceAllowNullID flag. 7 years ago
omar acf78da742 Drag and drop: moved to imgui.h 7 years ago
omar cb38caeda4 Examples: Added more comments near the fonts loading section, to catch common questions and errors (e.g. #1397, #1366, #1341, #1222, #1193, #1115, #951, etc.) 7 years ago
omar edafbcd630 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar c503a50cff Styles: Moved Classic colors code to imgui_draw.cpp. Sneakily added a StyleColorsDark() function. 7 years ago
omar 77df1ba9e0 Version 1.53 WIP 7 years ago
omar b422f35872 IO: Tracking extra mouse dragging data which is convenient for implementating various manual drag and drop patterns. 7 years ago
omar c0b366b316 Merge branch 'master' into navigation
# Conflicts:
#	imgui.h
7 years ago
omar 9f200d10d5 Version 1.52 7 years ago
omar 5afee1c6f3 Merge branch 'master' into navigation
# Conflicts:
#	imgui_internal.h
7 years ago
omar 8dd7648db2 Comments 7 years ago
omar 3656f2c769 NewFrame: Allow MovedWindow setting the ImGuiWindowFlags_NoInputs after moving has started in order to be able to detect windows below it, which is useful for e.g. docking mechanisms. 7 years ago
omar f10a1d7b9e Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
7 years ago
omar a6ff14d66e Exposed IM_ARRAYSIZE() in imgui.h 7 years ago
omar f6ff373b22 Nav: #define IMGUI_HAS_NAV to ease sharing code across branches of imgui 7 years ago
omar 6f0aa766e1 Nav: Added internal ImGuiNavReadMode_Released test for key releases. 7 years ago
omar d769e2515a Merge branch 'master' into navigation 7 years ago
omar 7f880674e5 Font: Renamed ImFont::Clear() to ImFont::ClearOutputData() for consistency with what ImFontAtlas does. DisplayOffset is set by constructor but not reset by ClearOutputData. (#1349) 7 years ago
omar 5fa81f2a26 Nav: Added ImGuiNavInput_KeyMenu aside from ImGuiNavInput_PadMenu as it is one differenciator between pad and keyboard that's very annoying with the keyboard.
Remove the move/resize behavior that appears than holding the button for a while. (#787)
7 years ago
omar e4bb9102f9 Merge branch 'master' into navigation 7 years ago
omar 43df7eb5ea Added OpenPopupOnItemClick(); helper which mimic BeginPopupContextItem() but doesn't do the open.
Made the color popups uses this standard function so they handle reopening a context menu.
7 years ago
omar 1172ff62e1 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_demo.cpp
#	imgui_internal.h
7 years ago
omar 564ff2dfd3 IsItemHovered(), IsWindowHovered(): added flags to enable various and more specific behavior. Will enable improvements for popups/context menus and drag'n drop. (relate ~#439, #1013, #143, #925)
The legacy confusing IsItemRectHovered(), IsWindowRectHovered() can be completely removed now.
Changed IsWindowHovered() behavior with default parameter: it now return false is the window is blocked by a popup.
Demo: Added tests for those two functions.
7 years ago
omar d29a6a5a5a Moved IMGUI_DISABLE_OBSOLETE_FUNCTIONS block lower in the imgui.h file so obsolete functions can use flags. Also sane to quarantine them outside of the respectable area. 7 years ago
omar e384078d7a IO: reordering some supposedly private fields. 7 years ago
omar d96b6ecf88 Merge branch 'master' into navigation
# Conflicts:
#	imgui_demo.cpp
7 years ago
omar 03b76bf05b Begin: Marked 5 parameters version of Begin() as obsolete. Now waiting for a riot to happen! 7 years ago
omar 1a35766356 BeginPopupContextItem() now supports a NULL string identifier and uses the last item ID if available. For interactive items (that have an ID) this works! For non interactive items we assert. 7 years ago
omar d761825cfb Nav: Renaming a field + Comments. 7 years ago
omar 3833f1f7a2 Merge branch 'master' into navigation 7 years ago
omar 43b4a81b3e Rnamed AlignFirstTextHeightToWidgets() to AlignTextToFramePadding(). Kept inline redirection function (will obsolete). 7 years ago
omar c6e370a77a TreeNode: Added ImGuiTreeNodeFlags_FramePadding flag 7 years ago
omar 4d83078885 Nav: Moving code next to its peers 7 years ago
omar 6e1199c603 Merge branch 'master' into navigation 7 years ago
omar 335c8dd159 Comments (clarifying whether types are to be considered as flags or regular, non combinable enums) 7 years ago
omar 59c6f35bf6 Added ActivateItem(), GetItemID() functions. 7 years ago
omar a3d0755181 Merge branch 'master' into navigation 7 years ago
omar a8788e51a7 SetKeyboardFocusHere() added assert to prevent passing values smaller than -1 as we may have to outlaw them (I think nobody was using that) 7 years ago
omar 3ddcdcf6e7 Merge branch 'master' into navigation 7 years ago
omar 67ac7da30f Styles: Added ImGuiStyle::ScaleAllSizes(float) helper to make it easier to have application transition to e.g. High DPI with a matching style. 7 years ago
omar ca4db8c905 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
7 years ago
omar f99348711b Added VerticalSeparator() entry point in imgui_internal. Seperator() in an horizontal layout context still does that. 7 years ago
omar a2b2e56e8e Merge branch 'master' into navigation 7 years ago
omar 09f6f564d9 ImFontAtlas: Fixed calling Clear() and rebuilding (broken in 3fe2ecfd4c) thanks @pdoane @mikesart 7 years ago
omar 8fd4beddb8 Merge branch 'master' into navigation 7 years ago
omar 3fe2ecfd4c ImFontAtlas: Added support for CustomRect API to submit custom rectangles to be packed into the atlas / and map them as font glyphs 7 years ago
omar 501e73feed Minor comments 7 years ago
omar 9e1ad7295f ImFont: Renamed (supposedly internal) fields (e.g. XAdvance to AdvanceX). Custom text renderers might be affected if they didn't use the GetCharAdvance() helper function. 7 years ago
omar 10bb9524eb ImFont: Renamed ImFont::Glyph to ImFontGlyph (for consistency and so ImFontAtlas types can use it without ordering half of the file). Left a redirection type. 7 years ago
omar 2170b0b278 ImFontAtlas: Comments and minor reorganization of declaration in header file. 7 years ago
omar 529ca279a4 ImFont: Split some building code into a AddGlyph() helper (that custom rect code and imgui_freetype can use) 7 years ago
omar f1a20ec66d Merge branch 'master' into navigation 7 years ago
omar 728deff56c Comments, debug code (commented), todo list 7 years ago
omar 99b9f1c93c Fix static misusage error with decent compilers. Error introduced in 4b82759598 7 years ago
omar 7e8069dd23 Merge branch 'master' into navigation 7 years ago
omar 4b82759598 SetNextWindowPos: added a ImVec2 pivot parameter for positioning a given a center, bottom-right position, etc. As a generalization of SetNextWindowPosCenter() which is now obsolete. This will be useful for combo-like popups as well.
Demo: Simple-overlay window uses the SetWindowPos pivot to select a corner to position itself at.
7 years ago
omar 92e55a8a79 Merge branch 'master' into navigation
# Conflicts:
#	imgui.h
7 years ago
omar 1ff27d7db8 Added io.WantMoveMouse flags from Nav branch so Examples/Binding can already implement it. (#787) 7 years ago
omar 44e8d94aba Merge branch 'master' into navigation 7 years ago
omar 709653c330 Merge branch 'master' into styles 7 years ago
omar 62d7fa4324 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
7 years ago
omar f63c03c464 Internals: moved ButtonRepeat and AllowKeyboardFocus bools/stacks to a generic ItemFlags stack. Merged from Navigation branch. 7 years ago
omar 5c4fda0fbc Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
7 years ago
omar 804ee78731 Added IsWindowAppearing(). 7 years ago
omar fd684ba974 Removed 2 obsolete redirection functions (obsoleted 26+ months ago). 7 years ago
omar a9e1d9aab9 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
7 years ago
omar 358e7a194e Added GetKeyPressedAmount() (from Nav branch) to be able to measure fast repeat rate accurately. Added internal CalcTypematicPressedRepeatAmount() function. 7 years ago
omar ee42fae468 Merge various minor things (supposedly harmless) from Navigation branch into Master to reduce differences. (#787) 7 years ago
omar 807322c9a5 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
7 years ago
omar 5938f1ba61 Added IsMousePosValid() helper. 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 304de0ee1b ImFontConfig: Comments, const. 7 years ago
omar 92a6faca6f IO: io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previously ImVec2(-1,-1) was enough but we'll now accept negative mouse coordinates. 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 6ed75d3046 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar eb2bbf6f29 Renamed IsItemHoveredRect() to IsItemRectHovered(). Renamed IsMouseHoveringWindow() to IsWindowRectHovered() - follow up to previous commit 6be7d4904e merged from Nav. 7 years ago
omar 52b39af0a0 Style: Added obsolete redirects for ImGuiCol_Columns*** fields. (ref 648f75b245) 7 years ago
omar 6be7d4904e Merge part of 88c1966629 from Nav branch. Renamed IsMouseHoveringAnyWindow() -> IsAnyWindowHovered(), IsMouseHoveringWindow() -> IsWindowHoveredRect() for consistency. Kept inline rediection function. 7 years ago
omar 2e35957a81 Undo reordering of ImGuiKey in Nav branch 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 53e73182ff Merge branch 'master' into navigation
# Conflicts:
#	imgui_internal.h
7 years ago
omar 9b484d24cd ImDrawList: Added GetClipRectMin(), GetClipRectMax() helpers. Comments. 7 years ago
omar a511b00226 Columns: Fixed offset rounding leading to SetColumnOffset() being destructive when ImGuiColumnsFlags_NoPreserveWidths flag is not set. (#913, #125) 7 years ago
omar 19a42cb2fd Columns: Moved BeginColumns/EndColumns/flags from #913 to imgui_internals.h + minor shallow tweaks. Removed demo code temporarily. (#125) 7 years ago
omar bc78535bbf Merge branch 'master' of https://github.com/ggtucker/imgui into ggtucker-master
# Conflicts:
#	imgui.cpp
#	imgui.h
7 years ago
omar b4eeb4aa8d Renamed GetStyleColName() to GetStyleColorName() for consistency. Extra comments in Api Breaking Changes section. 7 years ago
omar af2db53780 Added GetStyleColorVec4() 7 years ago
omar 91d841dd5f Added PushStyleColor(ImGuiCol idx, ImU32 col) overload. (Which _might_ cause an "ambiguous call" compilation error if you are using ImColor() with implicit cast. Cast to ImU32 or ImVec4 explicily to fix.) 7 years ago
omar bf0d9c123e Merge branch 'master' into navigation 7 years ago
omar d970957e2d ImFontAtlas: Draft of an api to submit custom rectangle (not exposed). Atlas default texture chunk using it. (WIP: we are still storing mouse UV outside in GImGui) 7 years ago
omar 24a78767d2 Merge branch 'master' into styles
# Conflicts:
#	TODO.txt
7 years ago
omar c569676a7b ImVector: Added a const 7 years ago
Viktor Kirilov fd9460a087 added missing IMGUI_API to ImGuiTextFilter methods implemented in imgui.cpp 7 years ago
omar 68bf5ecbc1 Marked the weird IMGUI_ONCE_UPON_A_FRAME helper macro as obsolete. prefer using the more explicit ImGuiOnceUponAFrame. Removed the broken __LINE__ from IMGUI_ONCE_UPON_A_FRAME 7 years ago
omar a85a14370b OpenPopupEx() internal tweaks to receive an ImGuiID, BeginPopupContextXXX shortening unnecessarily long identifier. 7 years ago
omar 5ea1865fdb (api breaking) changed parameter order for BeginPopupContextWindow(), note that most uses relied on default parameters completely. 7 years ago
omar 638d77c682 Comments (#402) 7 years ago
omar f98376d02b Merge branch 'is-popup-open' of https://github.com/mkeeter/imgui into mkeeter-is-popup-open
# Conflicts:
#	imgui.cpp
7 years ago
James Wallis 9239e91dc9 Whitespace fix to previous 7 years ago
James Wallis 718f00d651 Make font atlas packing padding configurable 7 years ago
omar 18f217e631 Style: Moved position of ImGuiCol_TitleBgCollapsed 7 years ago
omar f8f382221c ImVector: added resize() variant with initialization value 7 years ago
omar 9bf5028fd3 Merge branch 'master' into navigation 7 years ago
omar d258287c92 Revert d2c219d #826 + tidying up ImFont::RenderChar() 7 years ago
omar d2c219df84 Merge pull request #826 from swetland/patch
ImFont: add RenderGlyph() to allow rendering of individual glyphs post-query
7 years ago
omar c26b29b254 Style: Moving code in a function to make incoming diff easier to parse. 7 years ago
omar 648f75b245 Style: renamed ImGuiCol_Columns_*** to ImGuiCol_Separator_*** (BREAKING), Separator() uses this color as well. (#707, #1019) 7 years ago
omar 8c61a4eb4c Fonts: Adding references to the fact that .OTF fonts are supported (but haven't renamed the entry points) 7 years ago
omar e3fae56089 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
7 years ago
omar d7cad903aa Documentation tweaks 7 years ago
omar 73f9c9d80c Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui_demo.cpp
7 years ago
omar 7e452ec737 Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS 7 years ago
omar fed18d3203 Removed old ValueColor() helpers. (#346) 7 years ago
omar 4fd148f4f9 Added ImFontAtlas::GlyphRangesBuilder helper + doc 7 years ago
omar 30d1e5712a Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
7 years ago
omar 942cb0e1f2 Added SetColorEditOptions(). ColorPicker4: context menu to select picker type and alpha bar. Reorganized flags (again!). (#346) 7 years ago
omar 03700ad15e Merge remote-tracking branch 'origin' into 2016-07-navigation 7 years ago
omar f4c0134f9f Moved ColorEdit, ColorPicker declaration in their own section of imgui.h, minor comments adjustment (#346) 7 years ago
omar f6460970c5 ColorPicker: Hue wheel + SV triangle picker mode (mode selection flags still wip, missing context menu and persistent options). (#346) 7 years ago
omar 4b2f157fb1 Renamed ImGuiColorEditFlags_ModeMask_ to ImGuiColorEditFlags_InputsModeMask_ (#346) 7 years ago
omar 3075d8bcd4 ColorEdit4: Preliminary support for ImGuiColorEditFlags_HDR flag (currently only lift limits). (#346) 7 years ago
omar 65a27732d8 ImGuiColorEditFlags: Made 0x01 unused for backward compatibility with old bool. Various comments tweaks. (#346) 7 years ago
omar 90fcd4a829 Renamed ImGuiColorEditFlags_NoColorSquare to ImGuiColorEditFlags_NoSmallPreview (#346) 7 years ago
omar 3926bd08e1 ColorPicker: Added ImGuiColorEditFlags_NoSidePreview flag + optional reference color. Added more demo code. (#346) 7 years ago
omar c36d59a42a ColorEdit, ColorPicker: AlphaPreview, AlphaPreviewHalf are explicit. Updated demo and using in style editor. 3x3 checkerboard more readable in half mode. (#346) 7 years ago
omar 27e5b09af1 ColorButton: ImGuiColorEditFlags_HalfAlphaPreview flag to render both opaque and alpha-with-checkerboard versions of the peak preview (#346) 7 years ago
omar 6796e771fd ColorEdit, ColorPicker: added ImGuiColorEditFlags_NoAlphaPreview flag (#346). Reorder flags again. 7 years ago
omar c84acf3f56 Comments 7 years ago
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. 7 years ago
omar f39cd61bf0 Reorder ImGuiColorEditFlags_ (#346) 7 years ago
omar 4f1f251bd2 ColorEdit, ColorPicker: Context / options menu allows to toggle between u8 and float display. Using short words to avoid localization. (#346) 7 years ago
omar 7b2d79cffd ColorEdit: Added ImGuiColorEditFlags_Float flag to display and edit drag values in 0.0..1.0 range instead of 0..255. (#346) 7 years ago
omar 790d0eb5be ColorPicker: Added ImGuiColorEditFlags_AlphaBar option (#346) 7 years ago
omar 4355b2e422 ColorPicker: Honor ImGuiColorEditFlags_NoColorSquare flag + comments (#346) 7 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) 7 years ago
omar dd9c2f97a8 ColorPicker: Renamed _NoSliders to _NoInputs (#346) 7 years ago
omar c8553817d9 Merge branch 'master' into 2016-02-colorpicker 7 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) 7 years ago
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) 7 years ago
omar 3e4cb40d45 Merge branch 'master' into 2016-02-colorpicker 7 years ago
omar d1145e990d Comments tweak (#1231) 7 years ago
omar 41f944238b Comments about GlyphExtraSpacing (#1192) 7 years ago
omar 8261d9ff30 Comments (#1172, #1231) 7 years ago
omar 03e6bfe84a Comments 7 years ago
omar d3f4309491 Comments about ImGuiStyleVar enum (#1198) 7 years ago
omar 1e981f00e5 Comments 7 years ago
omar a5e0210902 Revert 978c84d2e9 because int32 >> 32 tends to warns on some compilers/settings. Add ImU64 type. (#1184) 7 years ago
omar 12d265fa31 Version 1.51 WIP tag 7 years ago
omar 5e1caaaef3 Version 1.50 7 years ago
omar 2acbd1ac2d Using ImTextureID instead of void* in ImFontAtlas, not sure why I didn't do that earlier, make things more clear 7 years ago
omar 62c4698a73 Further clarifications of the key indices passed to IsKeyXXX functions (#1159) 7 years ago
omar 8228dc20df Merge branch 'master' into 2016-07-navigation 7 years ago
omar c038339a4c Merge branch 'master' into 2015-02-colorpicker 7 years ago
omar 9da53bcecd ImFontConfig: Removed MergeGlyphCenterV in favor of a more multipurpose ImFontConfig::GlyphOffset. (Breaking change) 7 years ago
omar c5c77a3476 ImFontConfig: Added GlyphOffset to explicitely offset glyphs at font build time, useful for merged fonts. May remove MergeGlyphCenterV soon. 7 years ago
omar 27b83a2cac Merge branch 'master' into 2016-07-navigation 8 years ago
omar 89b1497843 Merge branch 'master' into 2016-02-colorpicker 8 years ago
omar a0a6c8a2ef Renamed ImDrawList::PathFill() to ImDrawList::PathFillConvex() for clarity. (breaking API) 8 years ago
omar 6517d68cdf ImDrawList::AddImage* renamed uv_ parameters to be more consistent. Fix AddImageQuad to use IM_COL32_A_MASK (#1009) 8 years ago
Peter 659b3fd259 Add ImDrawList::AddImageQuad
Adds a function
  AddImageQuad(user_texture_id, a, b, c, d, uva, uvb, uvc, uvd, col)
that shows a texture on a full quad. This allows showing arbitrary
rotations of a texture.
8 years ago
Mikulas Florek 7a37a1c3f6 do not export inline function, it causes problems on some compiers 8 years ago
Mikulas Florek 316555f9de missing API 8 years ago
omar 288dccd5a5 Merge branch 'master' into 2016-07-navigation 8 years ago
omar e10ceebd36 ImFont: Store the texture surface used to get an idea of how costly each font is. 8 years ago
omar 931bc61345 Comment about ImGuiInputTextFlags_CtrlEnterForNewLine for InputTextMultiline() 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 6384eee34f Minor comments (#998) 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 cffdbfe01b Comments (#972) 8 years ago
ocornut a60b2cc645 Merge branch 'master' into 2016-02-colorpicker 8 years ago
ocornut fdc70456f4 Merge branch 'master' into 2016-07-navigation 8 years ago
ocornut db593220fc Comments, clarified use of io.MouseDelta (#942)
(ImGuiIO structure layout changed)
8 years ago
Nicolas Guillemot 36d78e0565 const correctness for Combo and ListBox
Since Combo and ListBox only read and display the list of items, they
should not modify the pointers inside the array of pointers passed in.
Adding "const" here makes it possible to call these functions with such
an array of const pointers. Previously, a cast to "const char**" was
required as a workaround, otherwise there was a compile error.
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 941cf1b436 Merge branch 'master' into 2016-07-navigation 8 years ago
ocornut ccb3db94da Merge branch 'master' into 2016-02-colorpicker 8 years ago
ocornut b376b68326 Font: Added io.FontDefault in ImGuiIO structure to make it easier to change default font from third-party or demo code 8 years ago
Matt Keeter 32dbe836d0 Add user-facing IsPopupOpen function 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 0d3f8807c7 Added a void* user_data parameter to Clipboard function handlers. (#875) 8 years ago
ocornut d649bc485b Minor comments 8 years ago
ocornut 31dc7d8d63 Added ImGuiMouseCursor_None for usage by app/binding 8 years ago
ocornut d567595dde ImDrawList: AddRect(), PathRect() default rounded_corner 0x0F->~0/-1 so it appears less obscure in IDE completions 8 years ago
ocornut e4deb7a190 Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut 404979e48d Merge remote-tracking branch 'origin' into 2016-02-colorpicker 8 years ago
ocornut e07d45709f ImDrawList: Uses IM_COL32_A_MASK macro instead of hardcoded zero alpha testing (#844) 8 years ago
ocornut 68c81739bf Minor tidying up following merge BGRA color PR (#844) 8 years ago
Michał Cichoń 1999c01db8 Apply Omar feedback and convert remaining 0xAABBGGRR's into IM_COL32(RR,GG,BB,AA) format. 8 years ago
Michał Cichoń d75d2b1871 Introduce IMGUI_USE_BGRA_PACKED_COLOR in imconfig.h.
When IMGUI_USE_BGRA_PACKED_COLOR is defined packed color hold in ImU32 use BGRA format instead RGBA.
8 years ago
ocornut fea0fcb7c3 Merge remote-tracking branch 'origin' into 2016-07-navigation 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 c5b8c6303a Refactor PushStyleVar/PopStyleVar so it is constant time + can receive integers (yet unused) (#842) 8 years ago
ocornut 612b17ef57 Fixing minor english typos (#827) 8 years ago
Brian Swetland 5a47346f5a ImFont: add RenderGlyph() to allow rendering of individual glyphs 8 years ago
ocornut 252f094101 Nav: Undo 87eb749cbc, agressively including nav focus test in IsItemHovered() (#323) 8 years ago
ocornut 87eb749cbc Added IsItemHoveredOrFocused() (provisional name), better handling of popup/tooltip positioning when using mouse+nav (#323) 8 years ago
ocornut 3ab0d5cdfd Nav: NavHighlight gets its own color (default to Header color), made rectangle thicker (#323) 8 years ago
ocornut 996eb080fa Merge remote-tracking branch 'origin' into 2016-02-colorpicker 8 years ago
ocornut df1d1b5b25 Nav: DragBehavior: Adjust minimum step to displayed precision when using navigation (#323, #180) 8 years ago
ocornut a68132948b Nav: Added ImGuiCol_NavWindowingHighlight into style (#323) 8 years ago
ocornut 5ef8452509 Nav: Comments (#323) 8 years ago
ocornut cbf24c13ca Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut 5d1a0a6f77 Removed a handful of obsolete (trivial) function redirection from 1.34 and 1.38 (march-april 2015)
OpenNextNode() -> SetNextTreeNodeOpen()
GetWindowIsFocused() -> IsWindowFocused()
GetItemBoxMin() -> GetItemRectMin()
GetItemBoxMax() -> GetItemRectMax()
IsMouseHoveringBox() -> IsMouseHoveringRect()
IsClipped() -> !IsRectVisible()
8 years ago
ocornut b8397c2933 Tweak comments (#768) 8 years ago
Michał Cichoń 7588dfb67e Add ability to test arbitrary rectangle for visibility without need of moving cursor. 8 years ago
ocornut dcff032429 Nav: Moving all nav inputs to io.NavInputs[] float array, new enum labelled for gamepad. (#323) 8 years ago
ocornut 4ccc87c91d Typo in commented default-value 8 years ago
ocornut 2e52bee12e Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut 907265d632 Using ImGuiID instead of ImU32 is a few places 8 years ago
ocornut a154625a56 Nav: Not exposing ImGuiWindowFlags_NavFlattened because it requires much more work (#323) 8 years ago
ocornut 2545d75c3b Tidying up, removed two unnecessary window flags from being exposed in imgui.h 8 years ago
ocornut b3cba62b80 Nav: Added experiment ImGuiWindowFlags_NavFlattened flag to cross over between parent and non-scrolling child windows (#323) 8 years ago
ocornut 68b73b61b5 Nav: Comment (#323) 8 years ago
ocornut e2dd48ae65 Nav: Split _NoNav window flag into _NoNavInputs and _NoNavFocus (#323) 8 years ago
ocornut 04157da291 Nav: first committed pass for manual moving and manual scrolling (after a bunch of attempts) (#323) 8 years ago
ocornut 5f6f4d0ffc Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut 666d83b5c7 InputText/IO: Got rid of individual OSX options in ImGuiIO, added io.OSXBehaviors (#473, #650) 8 years ago
ocornut 802e91f69e Merge branch 'add-osx-homeend-keys' of https://github.com/michaelbartnett/imgui into michaelbartnett-add-osx-homeend-keys 8 years ago
ocornut c3aa36d9ab Navigation: Renamed ImGuiKey_NavWindowing to ImGuiKey_NavMenu (#323) 8 years ago
ocornut b2ad33ce41 Merge remote-tracking branch 'origin' into 2016-07-navigation 8 years ago
ocornut 8efd05a148 Tab->Spaces, missing spaces, typos 8 years ago
Adisorn Aeksatean 4141144b21 Added GetGlyphRangesThai() 8 years ago
ocornut c2cb2a6928 Gamepad/Keyboard navigation support, initial commit, WIP (#323) 8 years ago
ocornut 4a11cc35b9 Updated code for repeat delay / repeat handling. GetKeyPressedAmount() now returns a count to support fast repeat rate (where DeltaTime > RepeatRate).
Renamed from recently added IsKeyPressed() variant to GetKeyPressedAmount(). (no API breakage, added in branch, bbd3b75609) (#323)
8 years ago
ocornut 88c1966629 Added IsAnyWindowFocused(). Renamed IsMouseHoveringAnyWindow() -> IsAnyWindowHovered(), IsPosHoveringAnyWindow() -> IsAnyWindowHoveredAtPos(), IsMouseHoveringWindow() -> IsWindowHoveredRect() for consistency. Kept inline rediection function. 8 years ago
ocornut 0300e73b3f Comments 8 years ago
ocornut bbd3b75609 Added IsKeyPressed() with explicit repeat delay and repeat rate (for usage by nav) (#323) 8 years ago
ocornut 9c71ec38f0 ImVector: reserve() tweak to avoid undefined behavior warning (#731) 8 years ago
Michael Bartnett 86f42b5950 osx uses super+arrows for home/end, built on work in ocornut/imgui#473 8 years ago
ocornut de61fcc619 Minor bits 8 years ago
ocornut 1ef7980e17 Merge branch 'master' into 2016-02-colorpicker 8 years ago
ocornut f83790dc5a Comments 8 years ago
ocornut 2da30e8702 Comments (#691) 8 years ago
ocornut 65a525550e ImFont: Allowing to use up to 0xFFFE glyphs in same font (increased from previous 0x8000) 8 years ago
ocornut 5d4cf1c3f3 Version 1.50 WIP 8 years ago
ocornut adb85d800d Version 1.49 8 years ago
ocornut 9a751da136 Caving in to ignoring stupid pedantic Clang warnings for old-style-cast in header files 8 years ago
ocornut 3ddb50a925 Merge branch 'master' into 2016-02-colorpicker 8 years ago
ocornut dcef7dedce Comments (#590) 8 years ago
ocornut d5a12866fe Comments (#676, #655) 8 years ago
ocornut 1483a69c11 Demo: Tree: showing how to align tree node label with current x position (#324, #581) 8 years ago
ocornut 61c294bb52 Added optional Indent() Unindent() width (#324, #581) 8 years ago
ocornut a0a48f6e59 Added TreeAdvanceToLabelPos() (#581) 8 years ago
ocornut 793f5f8cdb Comments 8 years ago
ocornut 806a146198 TreeNodeEx(): ImGuiTreeNodeFlags_AlwaysOpen->ImGuiTreeNodeFlags_Leaf, + added ImGuiTreeNodeFlags_Bullet (#324, #581) 8 years ago
ocornut 2acb61e3a1 Comments 8 years ago
ocornut 8f4b123e1b SetNextWindowSizeConstraint -> SetNextWindowSizeConstraints (#668) 8 years ago
ocornut b7ebeb1610 Added SetNextWindowSizeConstraint() + demo code (#668) 9 years ago
ocornut 753bf5cefe Comments 9 years ago
ocornut 81bf5aeb09 Minor bits 9 years ago
ocornut 69a29e4715 Added NewLine() (very shy reminder that #97 isn't done) 9 years ago
ocornut 787be01e61 ImGuiListClipper comments (#660, #661, #662) 9 years ago
ocornut 7a28f5bb81 ImGuiListClipper new version, detect height automatically, fix compatibility with SetScrollPosHere (#662) 9 years ago
ocornut 431eaf1abe Comments to clarify what float[2] int[2] etc. are. May switch to pointers? (#659) 9 years ago
ocornut 39bda5ea09 Fixed a IMGUI_API->inline case (#657, #349) 9 years ago
ocornut f48f9a30ef ButtonBehavior(), fixed subtle old bug when a repeating button would also return true on release + comments (#656) 9 years ago
ocornut b628acbb52 StyleEditor: comments (#652) 9 years ago
ocornut 2f55dc1f33 ImFontConfig: Clarified persistence requirement of GlyphRanges array (#651) 9 years ago
ocornut aa11934efa Comments to clarify default shared ImFontAtlas and current context pointer thread-safety (#586, #591) 9 years ago
ocornut 7b9c0a5c3f Renamed ImGuiState -> ImGuiContext (#586, #269) 9 years ago
ocornut 8b428e8c74 Added CreateContext/DestroyContext/GetCurrentContext/SetCurrentContext() (#586, #269) 9 years ago
ocornut 69cc00f91f ImGuiStorage: Added bool helper functions for completeness. 9 years ago
ocornut ce4d731486 Minor comments, tweaks 9 years ago
ocornut 89d5026187 Renamed majority of use of "opened" to "open" for clarity. Renamed SetNextTreeNodeOpened() to SetNextTreeNodeOpen(). (#625, #579) 9 years ago
ocornut 4170b4847d Style: Changed default IndentSpacing from 22 to 21 (#581, #324) 9 years ago
ocornut 13df4668d1 Added GetTreeNodeToLabelSpacing() helper - tentative name (#581, #324) 9 years ago
ocornut bb674ccee6 TreeNode: added ImGuiTreeNodeFlags_AlwaysOpen flag (#581, #324) 9 years ago
ocornut f79b2d6ce3 TreeNode: added ImGuiTreeNodeFlags_OpenOnArrow flag (#581, #324, #190) 9 years ago
ocornut dc8446d048 Demo: Added simple tree node selection demo (#581, #516, #190) 9 years ago
ocornut 4c880b7106 Added ImGuiTreeNodeFlags_OpenOnDoubleClick (#581, #516, #190) 9 years ago
ocornut a38fd2e186 Added TreeNodeEx() functions (#581, #600, #190) 9 years ago
ocornut ac501102fc Added IsItemClicked() helper (#581) 9 years ago
ocornut ec6471ca87 TreeNodeEx() wired the display-side ImGuiTreeNodeFlags_Selected flag (#581) 9 years ago
ocornut ab6bc05fc3 Fixed ImGuiTreeNodeFlags_AllowOverlapMode to behave better on touch-style inputs (#600) 9 years ago
ocornut df749e3f13 Added CollapsingHeader() variant with close button, obsoleted 4 parameters version. Refactored code into TreeNodeBehavior. (#600)
New flag and declaration makes uses of SetNextTreeNode() functions on
collapsing header more obvious as well (#579).
9 years ago
ocornut befe02559a Added IsRootWindowOrAnyChildHovered() helper (#615) 9 years ago
ocornut be7621f7c5 Updated FAQ about non UTF-8 literal (#609, #613) 9 years ago
ocornut 6bcc31e575 Merge branch 'master' into 2016-02-colorpicker 9 years ago
ocornut ea6b615179 Made ImGui::PushClipRect()/PopClipRect() public. Changed ImDrawList::PushClipRect() prototype. Fixed demo. (#610) 9 years ago
ocornut 4b6e9ac396 ImFont: Added AddRemapChar() helper (#609) 9 years ago
ocornut 247da0e01b BeginGroup() comment tweaks (#608) 9 years ago
ocornut 4b51e43d60 BeginGroup() extra comment because this is overused and misleading (#608) 9 years ago
ocornut 727ca4bd17 ImFont: IndexLookup stores short instead of int, so typical ascii-set lookup fits in 256 bytes 9 years ago
ocornut a20d69f9ce ImFont: Tweaking layout, shaving bit of alignment and simple hot/cot split 9 years ago
ocornut 44fb99542f ImFont: RenderText() useful directly without ImDrawList::AddText().. Changed prototype. Reserving vertices after skipping non-visible lead. 9 years ago
ocornut fe73a23cf5 ImFont: Added RenderChar() helper. 9 years ago
ocornut d92f1deff8 ImDrawList: Added AddQuad(), AddQuadFilled() helpers. 9 years ago
ocornut 006934fd15 Todo items + not using function called isblank() because it may be a macro in some C library 9 years ago
ocornut 77177c18f0 Merge branch 'master' into 2016-02-colorpicker 9 years ago
ocornut 1588eda1ac Version 1.49 WIP 9 years ago
ocornut 95cbcdca3f Version 1.48 9 years ago
ocornut 4c25de950c Warning fixes for clang. Using int64_t, may be an issue? 9 years ago
ocornut e808b7cfca Style: removed WindowFillAlphaDefault which was confusing and redundant, baked into WindowBg color. Renamed TooltipBg > PopupBG. (#337)
bg_alpha parameter of 5-parameters version of Begin() is an override,
however that function may become obsolete someday.
9 years ago
ocornut 07df3cfb3e Added ImGuiWindowFlags_AlwaysUseWindowPadding flag to ensure non-border child window uses window padding (#462) 9 years ago
ocornut 8e353af1d3 Renamed ImGuiWindowFlags_Force**Scrollbar to ImGuiWindowFlags_Always**Scrollbar (#476) 9 years ago
ocornut 4c1d4233b2 Merge branch 'master' into 2016-02-colorpicker 9 years ago
ocornut 650515ce49 Updated todo list and comments 9 years ago
ocornut d53c308852 Moved EndFrame() back to imgui_internal.h + comments. Undo cfbf06e394 9 years ago
ocornut f48fc51777 IO: Added unused MultiSelectUsesSuperKey dummy field to convey semantic for OS X compatible behavior (#473) 9 years ago
ocornut aa7a29cdbf InputText(): Added io.DoubleClickSelectsWord option for OS X compatible behavior (#473) 9 years ago
ocornut 587fc60f25 InputText/IO: Added WordMovementUsesAltKey , ShortcutsUseSuperKey for OS X Compatible behavior (#473) 9 years ago
ocornut a6399f120f IO: Added "Super" keyboard modifiers (corresponding to Cmd on Mac and Windows key in theory although the later is hard to read) (#473)
NB: Value not used.
9 years ago
ocornut 326c4e40f8 Merge branch 'master' into 2016-02-colorpicker 9 years ago
ocornut cfbf06e394 Comments and moved EndFrame() for imgui_internal.h (for clarity? or extra confusion?) 9 years ago
ocornut 2b7eeba143 Trim trailing spaces 9 years ago
ocornut 04396ed7a9 FAQ and comments about the use of ImTextureID (#562, #561, #521, #510, #497, #475 ...) 9 years ago
ocornut baabe3b62c Merge branch 'master' into 2016-02-colorpicker 9 years ago
ocornut 5bed7144fe ImDrawList: Added AddTriangle() function 9 years ago
ocornut 37d50dccf9 Added GetFontTexUvWhitePixel() helper. 9 years ago
ocornut a274a09955 Renamed GetWindowFont()->GetFont(), GetWindowFontSize()->GetFontSize() (related to #340) 9 years ago
ocornut 928832a5bc Various tidying up / comments, moved columns functions declarations, no functional changes 9 years ago
ocornut 9cbc6e196b ImDrawList: AddRect() added optional thickness parameter + updated demo 9 years ago
ocornut 86fb3a6a3c ImDrawList: AddCircle() takes optional thickness parameter 9 years ago
ocornut a9e303e006 Minor comments 9 years ago
ocornut 4b7edffe8a Comments 9 years ago
ocornut 6346690962 Comment (#544) 9 years ago
ocornut 459af7683c Merge branch 'master' into 2016-02-colorpicker 9 years ago
ocornut 3db40903ba InputText() ImGuiInputTextFlags_CallbackAlways event set the EventFlag field of ImGuiTextEditCallbackData (#541) 9 years ago
ocornut b816d05e33 Minor tidying up following (#516) - renamed ImGuiSelectableFlags_HandleDoubleClick to ImGuiSelectableFlags_AllowDoubleClick + comments 9 years ago
ocornut 6846873f23 Merge branch 'master' of https://github.com/zapolnov/imgui into zapolnov-master 9 years ago
ocornut d45044fe54 CaptureKeyboardFromApp() / CaptureMouseFromApp(): allow to enforce clearing the capture flag (#533) + demo + made code a little less messy 9 years ago
ocornut cf12bc7dea InputText: Added BufTextLen in ImGuiTextEditCallbackData. Requesting user to maintain it. Zero-ing structure properly before use. (#541) 9 years ago
ocornut a43a9e602a ColorEdit4: support ImGuiColorEditFlags_NoSliders to display only a button (wip #346) 9 years ago
ocornut f8fede1d8b Added ColorPicker3/ColorPicker4, refactoring ColorEdit3/ColorEdit4 adding a bunch of flags and access to picker (wip #346)
Still pretty much experimenting so may break API
9 years ago
ocornut 339b67c01a Exposed FindWindowByName() in imgui_internal.h 9 years ago
ocornut b329a36d27 Moved declaration of SetItemAllowOverlap() to imgui.h (ref #517) 9 years ago
Nikolay Zapolnov a908c109c0 Added flag for selectables to handle double clicks. 9 years ago
ocornut b6fe5eb4b4 Cleaned up the top of imgui.h, documenting all types / forward declarations 9 years ago
ocornut d5fd87e806 Added IM_COL32 macros (ref #346) 9 years ago
ocornut 85725ff9c6 Added ImGuiWindowFlags_ForceVerticalScrollbar, ImGuiWindowFlags_ForceHorizontalScrollbar flags (#476) 9 years ago
ocornut 76ca7c42ca ImDrawList: Added PrimQuadUV() helper to ease custom rendering of textured quads 9 years ago
ocornut 35085a4480 Drag*, Slider* clarified that keyboard inputs aren't clamped (#413) 9 years ago
ocornut 8061a6ceea ImVector: erase/insert uses Data/Data+Size directly. 9 years ago
ocornut 40ed6a51b0 Fixed ImGuITextBuffer::empty() - unused in core lib - from being utterly broken 9 years ago
ocornut d212401624 Fixed ImDrawList::AddRect() which used to render a rectangle 1 px too large on each axis., fixed Image(), ImageButton() as well (#457) 9 years ago
ocornut e41568f87f Version number 1.48 WIP + Update binaries 9 years ago
ocornut 24d186753e Version number 1.47 9 years ago
ocornut 1c5aa32d2b TODO items. Moved ImDrawList::Clear* methods suggesting they aren't for end-user. 9 years ago
ocornut 2849596069 Comments about ImDrawList::PushClipRect 9 years ago
ocornut e4cf44e967 Minor rebranding "ImGui" -> "dear imgui" (#21) 9 years ago
ocornut 96e2b925b1 Comments (#449) 9 years ago
ocornut 4723d97cfb Added BeginPopupContextItem() comment (#439) 9 years ago
ocornut 5084f90a0d Added ProgressBar() (#333) 9 years ago
ocornut 76ab5587e4 GetColorU32: Comments 9 years ago
ocornut 9b6b1bc0f3 Added GetColorU32 helpers (previously internal and misplaced as window->Color()) 9 years ago
ocornut 7bcebdc207 Comments and missing forward declaration 9 years ago
ocornut 8afbdd1ade ImColor: Added SetHSV helper function. 9 years ago
ocornut 9583868bab Added ImGuiIO::ClearInputCharacters() superfluous helper. 9 years ago
ocornut c80e2274f1 Renamed Color() helpers to ValueColor() - dangerously named, rarely used and probably to be made obsolete. 9 years ago
ocornut 1aac69c937 Columns: tidying up, moving OffsetT to a ImGuiColumnData structure 9 years ago
ocornut 92c518a420 InputText: Added password mode via ImGuiInputTextFlags_Password (#237, #363, #374) 9 years ago
ocornut 5549744e0f Minor popups comment tweak (#402) 9 years ago
ocornut f87deff0f3 Moving stdlib.h include outside of imgui.h (#405) 9 years ago
ocornut 5f0db60a57 Version number 1.47 WIP 9 years ago
ocornut 72dde4d323 Version 1.46 9 years ago
ocornut 214e87d59c InputText: comments. 9 years ago
ocornut a5c895f791 Added SetClipboardText / GetClipboardText helper shortcuts to match MemAlloc / MemFree 9 years ago
ocornut 8c5c0c41fc ImDrawList: AddImage() uv parameters default to (0.0) and (1.1) 9 years ago
ocornut e83b529846 BeginChildFrame() helper has the extra_flags parameter. 9 years ago
ocornut 7508d30b83 ImGuiTextBuffer: added c_str() helper. 9 years ago
ocornut e031fe484c Added ImGuiWindowFlags_NoBringToFrontOnFocus behavior. 9 years ago
ocornut 572bf91006 Comments 9 years ago
ocornut ecb63ff8f3 Inline functions not marked with IMGUI_API because apparently it is illegal for MinGW (fix #349)
ARGH C++.
9 years ago
omar 9d89e03346 Merge pull request #348 from zho7611/add_korean_support
ImFontAtlas: Added GetGlyphRangesKorean() for Korean.
9 years ago
Jiho Choi cc53d31764 Add support for Korean. 9 years ago
ocornut 914516110c Minor spacing 9 years ago
ocornut ec7eb05e88 ImGuiTextFilter::Draw helper return bool and resplit when filter is modified 9 years ago
ocornut 0abe668221 ImFontAtlas: Added TexDesiredWidth and tweaked default cheapo best-width choice(#327) 9 years ago
ocornut 1793c1a991 Comments 9 years ago
ocornut b4f1e88860 Added ImGuiInputTextFlags_ReadOnly flag for InputText()/InputTextMultiline() (#211) 9 years ago
ocornut f5fb5f0c1e Minor tidying, reordering functions/members/initialisation to follow same orders 9 years ago
ocornut dafad3903e Added GetDrawData() alternative to setting a Render function. 9 years ago
ocornut dbc7903da8 IsMouseHoveringRect() added 'bool clip' parameter to disable clipping the rectangle with the current parameters (#316) 9 years ago
ocornut 09f659271e ImFont: fixed comment (#317) 9 years ago
ocornut fc052e24b2 Added ImGuiWindowFlags_NoFocusOnAppearing flag (#314) 9 years ago
ocornut 965fa3cb16 Version number 1.46 WIP 9 years ago
ocornut c9e19f8953 Version number 1.45 9 years ago
ocornut f195bf744f Tabs to spaces 9 years ago
ocornut 1eef2c9108 Comment 9 years ago
ocornut 71026d3655 Added GetScrollX(), GetScrollX(), GetScrollMaxX() apis + demo (#246) 9 years ago
ocornut 65a191c005 Added optional Horizontal Scrollbar & allow user to explicitly set content width via SetNextWindowContentSize() etc (#246)
GetCursorPos, SetCursorPos, GetContentRegionMax,
GetWindowContentRegionMin, GetWindowContentRegionMax are now including
the scrolling amount. It PROBABLY shouldn't break anything for you, but
take note that SetCursorPosX(100.0f) puts you at +100 from the starting
x position which may include scrolling, not at +100 from the window left
side.
9 years ago
ocornut d88b73a8b7 Added GetContentRegionAvailWidth() helper. Demo tweaks. 9 years ago
ocornut 0aa353868f Minor internal shortcuts not calling GetCurrentWindow() 9 years ago
ocornut 2d565d4bfb Style: rename ScrollbarWidth to ScrollbarSize (sorry!) 9 years ago
ocornut 65fe60f2b2 Split tree/collapsable into internal TreeNodeBehaviorIsOpened() helper (unsure..) (#282) 9 years ago
ocornut 0a11024459 IO.WantInputCharacters -> WantTextInput (#305) 9 years ago
ocornut 30461345aa Removed default name parameter in Begin()
We already have a "Debug" window pushed to the stack in the first place
so it's not really a useful default.
9 years ago
ocornut 90e5c97f13 AddBezier()->AddBezierCurve(). PathBezierTo()->PathBezierCurveTo(), and reads current point back, more standard (#311) 9 years ago
ocornut 80ad773c87 ImDrawList: added AddBezier(), PathBezierTo() for cubic bezier curves (#311) 9 years ago
ocornut e58f99179a Examples: OpenGL: fix for retina screens + io.DisplayFramebufferScale storage (#287) 9 years ago
ocornut a36001212f ImDrawData: added ScaleClipRects() helper (#287) 9 years ago
ocornut 59d498f3d0 Added ColorConvertU32ToFloat4() helper and ImColor(ImU32) constructor. 9 years ago
ocornut 8cf7df7ec4 Added GetWindowHeight() for completeness + BeginGroup() comment. 9 years ago
ocornut 08b345efd9 ImDrawList: Add comments on the usage of drawing channels 9 years ago
ocornut 77b82ecad7 ImDrawList: Fixed issues with channels split/merge. Functional without manually adding a draw cmd. + Removed unnecessary parameter to Channe 9 years ago
ocornut ad3c9f620d Tabs to spaces 9 years ago
ocornut 063d26a191 Removed obsolete comment 9 years ago
ocornut b1987d697f Trim trailing whitespace (#305) 9 years ago
ocornut 425c6cb3a3 Remove CaptureInputCharactersFromApp and minor cleanups (#305) 9 years ago
Borislav Stanimirov 73917115a8 Added flag showing whether the GUI wants text input
Conflicts:
	imgui.cpp
9 years ago
ocornut 97be3428f1 Added GetMousePosOnOpeningCurrentPopup(). 9 years ago
ocornut 07de0448f9 ImGuiTextFilter: default parameter width=0.0f for no override, allow override with negative values 9 years ago
ocornut 307ed78006 ImGuITextBuffer: shallow tweak. 9 years ago
ocornut 42567a9516 ImGuiTextFilter::PassFilter() supports string range. Added [] helper to ImGuiTextBuffer. 9 years ago
ocornut c98318a914 Renaming some argument to clarify the local vs screen coordinates 9 years ago
ocornut f421f2f47e IsWindowHovered() takes account of window hoverability (may be disabled because of a popup) + comment
Was a dupe of IsMouseHoveringWindow() anyway, they are now "clearly"
different.
9 years ago
ocornut 0c9fcdbe71 Allow to override ImDrawIdx type (#292) 9 years ago
ocornut aa3c26fd30 IM_PRINTFARGS takes one argument. Moved pragma outside of .h (#295) 9 years ago
ocornut b637850260 Merge branch 'master' of https://github.com/tpoechtrager/imgui into tpoechtrager-master 9 years ago
ocornut 14822609bd Version number 1.45 WIP 9 years ago
Thomas Pöchtrager 947cf3434f Added printf attribute to printf like text formatting functions 9 years ago
ocornut a99ba42a39 Version number 1.44 9 years ago
ocornut a793ad682d Merge branch 'master' into 2015-07-cleanup
Conflicts:
	imgui.cpp
9 years ago
ocornut 7fea3eacfe Minor comments 9 years ago
ocornut 155873a6b0 Added GetContentRegionAvail() helper 9 years ago
ocornut 815d1d9be4 Merge remote-tracking branch 'origin' into 2015-07-cleanup
Conflicts:
	imgui.cpp
9 years ago
ocornut 3aca446817 Added ImFontAtlas::AddFontFromMemoryCompressedBase85TTF() 9 years ago
ocornut e099798c97 Merge remote-tracking branch 'origin' into 2015-07-cleanup 9 years ago
ocornut 1e76c63bb6 Fixed comment 9 years ago
ocornut dace68b6fd Big cleanup, split imgui.cpp into imgui_demo.cpp,imgui_draw.cpp imgui_internal.h (#219) 9 years ago
ocornut 5a4b521855 Added ImDrawList::AddText() shorthand helper 9 years ago
ocornut 74908a9513 Fixed angles in ImDrawList::PathArcTo(), PathArcToFast() being off by an extra PI for no reason 9 years ago
ocornut 82727d7119 Version number 1.44 WIP 9 years ago
ocornut cdbf71ac12 Added ImGuiWindowFlags_NoInputs for input-passthru window
Would be more useful with finer control over display layer
9 years ago
ocornut 20db726a9a Version number 1.44 WIP 9 years ago
ocornut e8cb874afe Version number 1.43 9 years ago
ocornut d6117e33d0 AddInputCharactersUTF8: shallow tweaks (#274) 9 years ago
Daniel Gibson be8fb858cc Add ImGuiIO::AddInputCharactersUTF8(char* utf8str)
It'll convert the utf8 string to ImWchar's and passes each of them
to AddInputCharacter().

Very handy for SDL2 SDL_TEXTINPUT events, which provide a buffer with an
UTF-8 string.
9 years ago
ocornut 5e846612d3 ImFont: tweaks 9 years ago
ocornut 3e3d9f9a69 ImFontAtlas: allow AddFontDefault to take a config 9 years ago
ocornut 815168c7ef ImFontAtlas: new AddFont() API, oversampling, subpositiong, merging fonts, etc. (#182, #220, #232, #242) 9 years ago
ocornut 6ae8062ca0 ImFont: comments, minor bits 9 years ago
ocornut c02f9b58ef ImFont: Cleanup to be compatible with over-sampling (not enabled) 9 years ago
ocornut ba9317b924 ImFont: storing offsets as X0/Y0/X1/Y1 analoguous to examples for stb_truetype 9 years ago
ocornut fbb9113118 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
9 years ago
ocornut 6520b6c458 ImDrawList: added AddRectFilledMultiColor() helper + minor optimisation. 9 years ago
ocornut fd44b9440b Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
9 years ago
ocornut b67593a4b1 Changed SameLine() parameters from int to float. 9 years ago
ocornut 827ff970cd InputText: Added ImGuiInputTextFlags_AlwaysInsertMode flag 9 years ago
ocornut d2701727b9 InputText: added ImGuiInputTextFlags_NoHorizontalScroll flag. Added HasSelection() helper in ImGuiTextEditCallbackData as a clarification. 9 years ago
ocornut 245cf36522 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut 890585cde8 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut 08b1dd1035 Version number 1.43 WIP
Bits
9 years ago
ocornut 09e8c4ec11 AA branch: Re-added PrimVtx() + PrimWriteVtx, PrimWriteIdx for finer control (#133) 9 years ago
ocornut e5bea65582 Version number 1.42 9 years ago
ocornut 54c2665032 AA branch: undo d35c1a9e66, thickness is back but goes through non-AA path (#133) 9 years ago
ocornut d03b046ef4 AA branch: Agressively renamed all fields of ImDrawList, ImDrawCmd, ImDrawData to match the rest of our coding convention (#133) 9 years ago
ocornut d35c1a9e66 AA branch: removed the 'thickness' parameter from ImDrawList::AddLine() 9 years ago
ocornut 87ebe95fd6 Columns/ImDrawList: dispatch render of each column in a sub-draw list and merge on closure, saving draw calls (#125) 9 years ago
ocornut 3e4841765d ImDrawList: winodw draw lists destructed properly on Shutdown() 9 years ago
ocornut bfa7d86070 AA branch: further use of ImVector<> Data/Size 9 years ago
ocornut c3ced1bd71 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
9 years ago
ocornut 3869e10574 ImVector<> access to Size/Capacity/Data (#262) 9 years ago
ocornut 25882c47a3 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	examples/directx11_example/imgui_impl_dx11.cpp
	examples/directx9_example/imgui_impl_dx9.cpp
	examples/opengl3_example/imgui_impl_glfw_gl3.cpp
	examples/opengl_example/imgui_impl_glfw.cpp
	imgui.cpp
9 years ago
ocornut 502e360ee5 Removed the majority of size_t from the code. ImVector<> now uses int. (#262)
May trigger new compilation warnings?
9 years ago
ocornut 02dbcf5405 ImVector<> cannot be re-defined (#262) 9 years ago
ocornut 6a22835f63 AA branch: ImDrawList: rename commands to cmd_buffer
Not strictly necessary but while we're doing minor breakage let's do
them at all once.
9 years ago
ocornut 0ff2a6ff64 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
9 years ago
ocornut d6987d1586 ImDrawList store pointer to their owner name for easier auditing/debugging. Metrics windows render clip rectangle when hovering. 9 years ago
ocornut c52cefa2c2 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut 0676efd37f AA branch: added ImDrawData::DeIndexAllBuffers() helper (#254) 9 years ago
ocornut b2b616be00 AA branch: ImDrawCmd idx_count -> elem_count 9 years ago
ocornut f3303fa84f AA branch: io.RenderDrawListsFn signature changed to take ImDrawData, neater and future proof breaking of the render API (#133 #254) 9 years ago
ocornut 2633325b9f Comments 9 years ago
ocornut 562aecdaa5 Removed obsolete GetDefaultFontData() function that would assert anyway (obsoleted 2015/01/11) 9 years ago
ocornut 56553f33b8 AA branch: added style.AntiAliasedLines, style.AntiAliasedShapes (#133) 9 years ago
ocornut f435e42561 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	examples/opengl_example/imgui_impl_glfw.cpp
9 years ago
ocornut d76bc3434e Added DragFloatRange2() DragIntRange2() helpers (#76) 9 years ago
ocornut e9b81dd5ab Comments 9 years ago
ocornut fd3c6067bf Add conditional #ifdef prior to imconfig.h to facilitate inclusion in build systems (#255) 9 years ago
ocornut b69d7d9df3 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut 2f03511062 Added ImGuiKey_PageUp, ImGuiKey_PageDown for user. 9 years ago
ocornut 6826ab3ffd Added GetKeyIndex() helper. 9 years ago
ocornut 42efc29def SetScrollFromCursorPos() -> SetScrollHere() (#150) final call ! 9 years ago
ocornut 4eba6cd470 Added SetScrollY(), SetScrollFromPosY(). Renamed SetScrollPosHere() to SetScrollFromCursorPos(). (#150) 9 years ago
ocornut b37a326163 Renamed GetScrollPosY() to GetScrollY(). (#150)
Necessary to reduce confusion along with other scrolling functions,
because positions (e.g. cursor position) are not equivalent to scrolling
amount.
9 years ago
ocornut 531d0ce7ce Moving tooltips and popup chunks of imgui.h below widgets (#219) 9 years ago
ocornut 0201fe6ed1 Comments 9 years ago
ocornut 9bedcb5304 Added GetCursorStartPos() necessary for using scroll target relative to beginning of window content (#150) 9 years ago
ocornut bbc22ac8ca Comments + remove trailing comma 9 years ago
ocornut 90ec28f6de Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut e0da1e0658 Split into CaptureKeyboardFromApp() / CaptureMouseFromApp() 9 years ago
ocornut 77fad80e9f Added CaptureInputsFromApp() to manually enforce e.g. keyboard capturing 9 years ago
ocornut eaaab0120a Moved Inputs utilities to their own section in imgui.h + additional comments 9 years ago
ocornut b74d8e4c87 SetScrollPosHere() takes a y centering ratio and can be used to aim the top or bottom of the window (relate #150) 9 years ago
ocornut 067b7d909a Style: Added GrabRounding (works well with AA branch). Followup to #212 9 years ago
ocornut d3c0bfefb3 AA branch: render axis aligned rect bypassing the AA path 9 years ago
ocornut 47826830af Adding TitleBgActive color - still issues with popups/menus (#253) 9 years ago
ocornut 1318e1b74c AA branch: remove unused functions. 9 years ago
ocornut 4bb94a9e4d AA branch: more optimisations. 9 years ago
ocornut c3040dee35 AA branch: more inline. 9 years ago
ocornut 077285ae57 AA branch: tidying up, inline PathStroke PathFill 9 years ago
ocornut aaefe458df AA branch: cleanup 9 years ago
ocornut ebfe4637d4 Merge branch '2015-04-indexed-rendering' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
	imgui.h
9 years ago
ocornut d57ee2458c AA branch: ImDrawList: renaming of Path based functions so both code paths can cohabit with no confusion 9 years ago
ocornut 43dcd6ef47 Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
Conflicts:
	imgui.cpp
9 years ago
ocornut 0bf90770b0 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
9 years ago
ocornut 4ac21aaa12 Version number 1.42 wip + todo list entries 9 years ago
ocornut ea2c824192 Version 1.41 9 years ago
ocornut 5436266963 Added SetNextWindowPosCenter() (#249) 9 years ago
ocornut 2a041cfbe1 Added GetGlyphRangesCyrillic() helper (#237) 9 years ago
ocornut fe17f6e735 Added modal window darkening of previous windows (#249) 9 years ago
ocornut 8c790a3234 BeginPopupModal() can have an optional close-window button (#249) 9 years ago
ocornut bce495c581 Added BeginPopupModal() with actual modal behaviour (WIP api) (#249) 9 years ago
ocornut f10bbbb851 Minor comment fix (#248) 9 years ago
ocornut 0b98d3eb26 Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
Conflicts:
	imgui.cpp
9 years ago
ocornut 01cb0dc7f7 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
	imgui.h
9 years ago
ocornut 0884cb51cd Added IsKeyReleased() (#248), added keyboard & mouse state panel in the demo window 9 years ago
ocornut 68534c2319 Added IsMouseReleased() helper (#248) 9 years ago
ocornut d0ea5942a9 InputTextMultiline() can clip + BeginChildFrame() returns bool. (#200) 9 years ago
ocornut 0795a60c6b InputText() fixed multi-line selection clipping. (#200) 9 years ago
ocornut 748837acfd Merge remote-tracking branch 'origin' into 2015-06-multiline_textedit
Conflicts:
	imgui.h
9 years ago
ocornut a248575dea Text rendering can be finely clipped cpu-side on top and left axises (for #200) 9 years ago
ocornut 0df7b472c2 InputTextMultiline() WIP - still gazillion problems with selection visualisation & scrolling 9 years ago
ocornut b360c83e92 Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering 9 years ago
ocornut 7d860a0181 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
9 years ago
ocornut 6eb1fec7a9 ImFont: added GetCharAdvance() helper. Exposed font Ascent and font Descent. 9 years ago
ocornut b503e5ee5b ImageButton() changed default bg_col parameter from (0,0,0,1) black to (0,0,0,0) tranparent + drawing frame even when no padding (#243) 9 years ago
ocornut 4f0fa58ff2 Selectable() changed prototype moved flags before size. size override should rarely have been used! sorry. #125 9 years ago
ocornut c82e72eecb Selectable() parameter comment 9 years ago
ocornut cf481e1a7b Selectable() added flags ImGuiSelectableFlags_DontClosePopups , ImGuiSelectableFlags_SpanAllColumns (#125) 9 years ago
ocornut 0e04dfbad7 Added IsWindowHovered() helper. 9 years ago
ocornut 9928d19af1 Version 1.41 WIP 9 years ago
ocornut c603534d38 Version 1.40 9 years ago
ocornut a76eea85c8 Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
Conflicts:
	imgui.cpp
9 years ago
ocornut ade7661b3f Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut 1c2dac2a90 Version increased to 1.40 WIP makes more sense than 1.39 (changelog is huge) 9 years ago
ocornut 374d160234 BeginPopupContextWindow() in_empty_space_only -> !also_over_items (#126)+ comments
Sorry if you used this parameter already.
9 years ago
ocornut eb4ffd5dbd Added ImGuiListClipper helper to avoid using CalcListClipping() directly. 9 years ago
ocornut df37df821e RetWindowCollapsed() to IsWindowCollapsed() for consistency. Kept inline indirection. 9 years ago
ocornut 0539be7067 Added IMGUI_DISABLE_OBSOLETE_FUNCTIONS 9 years ago
ocornut 475498f2eb Comments, moved Sliders below Drag & Input in imgui.h 9 years ago
ocornut 03ff2faacb Comments 9 years ago
ocornut c4cb768432 Comments 9 years ago
ocornut 9417df2a26 Renamed IsRectClipped to IsRectVisible for consistency. Note that return value is opposite! Kept inline redirection function (will obsolete) 9 years ago
ocornut f0781d3a24 Added GetItemsLineHeightWithSpacing() helper. 9 years ago
ocornut dcc7df2b21 Added BeginPopupContextVoid() helper for completeness (#126) 10 years ago
ocornut 1cb6a294b0 BeginPopupContextWindow() rearranged and clarified parameters (#126) 10 years ago
ocornut 938528e5ee Added BeginPopupContextItem() / BeginPopupContextWindow() (#126) 10 years ago
ocornut 8c4c421f74 Added IsAnyItemHovered() public helper. 10 years ago
ocornut 3d36c81241 Added PushButtonRepeat() / PopButtonRepeat(). REMOVED third 'repeat_if_held' parameter of Button() ! 10 years ago
ocornut d69f2f57ee Added configurable io.KeyRepeatDelay, io.KeyRepeatRate 10 years ago
ocornut f841097e99 Button centering left to RenderTextClipped function. 10 years ago
ocornut b8ee48a74b OpenPopup() Comments 10 years ago
ocornut 6f32684f15 Examples: various usage comments. 10 years ago
ocornut 15113f682e Added TextDisabled(), TextDisabledV() helpers. 10 years ago
ocornut 3a6e6645e6 WIP Menus: Fixed remaining inconsistency with stacks of popups. Activating/closing a menu close the parent popup. Added test case. (#126) 10 years ago
ocornut 6b3ccd3edf WIP Menus: Added support for disabled sub-menu (#126) 10 years ago
ocornut 0db122bc3b Comments. Examples: added empty if (MenuItem()) {} statements in more places to better document the typical use cases (#126) 10 years ago
ocornut fd0108dbef Comments 10 years ago
ocornut 3498617a3c Comments. 10 years ago
ocornut 14bcfef041 Merge remote-tracking branch 'origin' into 2015-05-menus
Conflicts:
	imgui.cpp
10 years ago
ocornut 8cfae35042 Added Dummy() helper 10 years ago
ocornut 89d1340225 WIP Menus: Added Enabled/Disabled option for MenuItem() (#126) 10 years ago
ocornut 485832fe06 WIP Menus: Added BeginMainMenuBar()/EndMainMenuBar() helpers. Added to examples. 10 years ago
ocornut e3f2ad728a Merge remote-tracking branch 'origin' into 2015-04-indexed-rendering
Conflicts:
	examples/directx11_example/imgui_impl_dx11.cpp
10 years ago
ocornut cc3ed515ca Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
10 years ago