412 Commits (d2701727b9475c923749b6eac7177f5e957d3e38)

Author SHA1 Message Date
ocornut fcd08ed8d4 BeginPopup() API had to be changed! :( Proper support for stacked popups, leading into menus (wip #126) 10 years ago
Emmanuel Durand 94b7c9e307 Input text flags added to InputFloatN and InputIntN 10 years ago
ocornut c2c43928a9 Untabifiy 10 years ago
ocornut 4913668ea4 Fixed implicit conversion of NULL constant to bool (fix #216) 10 years ago
ocornut f293bec97c Added style.ScrollbarRounding #212 10 years ago
ocornut dd2a578012 Added ImGuiSetCond_Appearing to test the hidden->visible transition. 10 years ago
ocornut f46557d2d6 MenuItem() draft for popups, with Selected option (wip #126) 10 years ago
ocornut 85b8967291 Added RenderCheckMark() helper following the font size
Pretty ugly, not sure what's the right way to solve that automatically,
better shown as an "icon" so it doesn't have to necessarily look like
the font.
10 years ago
ocornut e7ffcea33d Removed style.AutoFitPadding, using style.WindowPadding makes more sense (the default values were already the same). 10 years ago
ocornut 221f36e116 Comments, tweaks, metrics window tweak 10 years ago
ocornut 07ebb14ce2 Tooltip: fit within display. Added style.DisplayWindowPadding, style.DisplaySafeAreaPadding now strictly for popups/menus. 10 years ago
ocornut 68ccdc4fb8 Comments 10 years ago
ocornut 8fbb42cc6f Added IsKeyDown() IsMouseDown() as convenience instead of reading into IO structures
Also their existence serves as implicit documentation of what
IsKeyPressed(), IsMouseClicked() does
10 years ago
ocornut c93a562b06 Added ImGuiStorage::GetVoidPtrRef() 10 years ago
ocornut 9119f58ce5 Version number 1.39 WIP 10 years ago
ocornut 0123fc8c0f Removed comment 10 years ago
ocornut 064b94721e Added DragFloat2, DragFloat3, DragFloat4, DragInt2, DragInt3, DragInt4. 10 years ago
ocornut 05ee36baab Version number 1.38 10 years ago
Stephan Dilly b28ec1f3b1 fix outdated documentation 10 years ago
ocornut dd36e8bf2b Renamed IsClipped() to IsRectClipped(). Kept inline redirection function (will obsolete). 10 years ago
ocornut d11b4160aa Added IsItemVisible(). Made IsClipped() also return false when log is enabled. 10 years ago
ocornut 9918ec31d6 Added ResetMouseDragDelta() for iterative dragging operations 10 years ago
ocornut a143e2e772 Added PushId() GetId() variants that takes string range to avoid user making unnecessary copies 10 years ago
ocornut 6ed06a8dc8 DragFloat() added power parameter for logarithmic drag on both side of zero #180 10 years ago
ocornut f5ad362912 DragFloat() latch value internally, allows finer control, honor precision settings, slow step with integer works #180 10 years ago
ocornut 0dc3d07e7f DragInt() step given as float to allow finer control of speed #180 10 years ago
ocornut 62abde5b37 DragFloat() latch value internally, allows finer control, honor precision settings, slow step with integer works #180 10 years ago
ocornut ac740170b9 Added ImFontAtlas::AddFontFromCompressedTTF() helper + binary_to_compressed_c.cpp tool 10 years ago
ocornut 500a8a0e02 ImDrawList: bits of renaming. 10 years ago
ocornut 4fa3eee84e Renamed io.MetricsVertices to io.MetricsRenderVertices 10 years ago
ocornut 334fba2f56 Spacing 10 years ago
ocornut 707df6c7b7 ImDrawList: internal refactoring toward a following commit for indexed rendering. 10 years ago
ocornut aa2935968e Renamed AddArcFast() parameter 'tris' to 'filled' 10 years ago
ocornut 0fc1f5b17f Revert AddArcFast()->AddArc(), removed modulo from function 200d3482dc 10 years ago
ocornut 200d3482dc Renamed ImDrawList::AddArc() to ImDrawList::AddArcFast() for compatibility with future API, and changed 2*PI range from 0..12 to 0..16 10 years ago
Stephan Dilly 5ba77928ba fix initialising ints with float literals 10 years ago
ocornut d692286862 Added ShowMetricsWindow() 10 years ago
ocornut 33ef3992f7 Added IO.MetricsVertices counter 10 years ago
ocornut fe64da6197 Allow SetWindowFocus(NULL) to remove focus 10 years ago
ocornut f5310a2f2d Comments 10 years ago
ocornut 28a45877aa DragFloat() comment examples, not ready for prime-time #180 10 years ago
ocornut 916a8955ec DragFloat(): passing min>=max (e.g. 0.0f) for range makes the drag unbound #180, removed extra APIs 10 years ago
ocornut 1247ce251f Added DragFloat(), DragInt() work in progress #180 10 years ago
ocornut e6792f84d4 Comments and organization of imgui.h 10 years ago
ocornut 503b8c20de Delete font clear pointer in ImGui state to get a clear crasah instead of a dangling pointer. #181 10 years ago
ocornut e03d2b2900 ImVec2/ImVec4 no-parameters constructs init to 0.0f. Saner. Couldn't measure perf differences in a simple stress test compiled in Debug mode 10 years ago
ocornut e16f2e898a Version number 1.38 WIP 10 years ago
ocornut a1582874d3 Changed new ImDrawList::AddLine() half_thickness to hickness, just in time for release 10 years ago
ocornut 729e524955 Version number 1.37 10 years ago
ocornut e1de4908f6 Removed bool return value from BegniPopup() at the moment, it is meaningless. Tidying up. 10 years ago
ocornut 91f8eb7b92 Added early version of BeginPopup/EndPopup() #126 10 years ago
ocornut 7e334013a0 Selectable(const char*, bool) version has bool defaulting to false 10 years ago
ocornut 743c815821 Renamed IsItemHoveredRectOnly -> IsItemHoveredRect (introduced after previous release) 10 years ago
ocornut 8b7668d24f Avoid negative clipping rectangle when collapsing windows, ImDrawList could still submit data #177 10 years ago
ocornut b04ee7e040 Added a more convenient three parameters version of Begin() which Flags more accessible. 10 years ago
ocornut e176a8b93f OCD normalising function comments not ending with a comma 10 years ago
ocornut 85f432dc8d Commented standard library include with the functions we use. Using ImFormatString in place of sprintf (part of #172) 10 years ago
ocornut b024ff85f7 Fixed comment 10 years ago
ocornut 810fcd8bcb Added mouse cursor types handling + embed mouse cursor data #155 10 years ago
ocornut 92a22ab35f Shutdown() freeing a few extra vectors so they don't have to freed by destruction #169 10 years ago
ocornut 4cd438f663 Added IsMouseDragging(), GetMouseDragDelta() given button and lock threshold. added io.MouseDragThreshold setting. (#167)
Removed GetItemActiveDragDelta()
10 years ago
ocornut 2d29907611 Added GetMouseDragDelta() helper. No unlock threshold yet (#167) 10 years ago
ocornut 7a2da7cd02 Added style.DisplaySafeAreaPadding which was previously hard-coded (for use if you can't see the edges of your display, e.g. TV screens) 10 years ago
ocornut ed0f0dbe87 ImDrawList::AddText() takes a const ImFont* 10 years ago
ocornut dcaafffe0e Added CalcItemRectClosestPoint() helper. 10 years ago
ocornut 9f1b407def ImDrawList: added thickness param to AddLine(). Added PushClipRectFullScreen() helper. 10 years ago
ocornut 7d26e85b05 IsItemHovered() return false if another widget is active. Added IsItemHoveredRectOnly(). 10 years ago
Adam D. Moss 1de735ba7c GetItemBoxMax: fix obsolete function copy-n-paste bug 10 years ago
ocornut e10d648a28 Added ImGui::GetItemActiveDragDelta() helpers for drag operations 10 years ago
ocornut 215b0065e3 Version number 1.37 WIP 10 years ago
ocornut 7665b8e5e7 Version number 10 years ago
ocornut d8026e4d84 Added VSliderInt() 10 years ago
ocornut be83c07957 Changed mentions of 'box' to be 'rect' 10 years ago
ocornut 7e297945c3 Added BeginGroup() / EndGroup() layout tools (#160) 10 years ago
ocornut da4bfe3289 Added GetItemRectSize(). Renamed GetItemRectMin()/GetItemRectMax()/IsMouseHoveringBox() to GetItemRectMin()/GetItemRectMax()/IsMouseHovering 10 years ago
ocornut 0fc9168439 Added InputInt2(), InputInt3(), InputInt4() 10 years ago
ocornut 44826972c0 Added Indent(), Unindent() 10 years ago
ocornut edde703f8f Renamed style.TreeNodeSpacing to style.IndentSpacing, ImGuiStyleVar_TreeNodeSpacing to ImGuiStyleVar_IndentSpacing 10 years ago
ocornut 1ac4f33736 Added VSliderFloat() 10 years ago
ocornut 98eeeab025 Added ImGuiStyleVar_GrabMinSize enum value for PushStyleVar() 10 years ago
ocornut 4d78c5c9ab Comments and reduced ImGuiTextEditState.InitialText[] to 3 KB (assuming average use case of UTF-8 uses 3 bytes charracters) 10 years ago
ocornut 1c1a55f6b1 Added IsRootWindowFocused(), IsRootWindowOrAnyChildFocused(). Renamed GetWindowIsFocused() to IsWindowFocused() 10 years ago
ocornut 0911526424 Added io.KeyAlt + support in examples apps
Currently unused but supported by sample so that more people will have
it set up when menus needs them
10 years ago
ocornut 58dc3f97c5 WIP marker in uppercase.. (#127) 10 years ago
ocornut 5d1c381509 Update version number, added IMGUI_VERSION, ImGui::GetVersion() (#127) 10 years ago
ocornut d440a13b7e Version number 10 years ago
ocornut 32312e538e Renamed style.ScrollBarWidth to style.ScrollbarWidth to be consistent with other casing. 10 years ago
ocornut 2af8e0238c Added GetScrollPosY(), GetScrollMaxY() (mentioned in #150) 10 years ago
ocornut a5daea9408 Added style.GrabSizeMin 10 years ago
ocornut 849c72c5c3 Forward declare struct in imgui.cpp. Removed two forward declarations leaking in imgui.h 10 years ago
ocornut e01500f046 Added comments on columns function; Added GetColumnIndex(), GetColumnsCount(), #154 10 years ago
ocornut e269125c3a Windows: setup a default handler for ImeSetInputScreenPosFn so IME (Japanese/Chinese) inputs are positioned correctly.
User need to set io.ImeWindowHandle
10 years ago
ocornut 0ffd99d319 Font: fix for fallback character width. 10 years ago
ocornut 8691c5ca42 Version number + commented failing test case 10 years ago
ocornut f4458f7571 Version number 10 years ago
ocornut 40b04a3701 Renamed ImGuiSetCondition_*** to ImGuiSetCond_*** and ImGuiCondition_FirstUseThisSession to ImGuiCond_Once 10 years ago
ocornut 2177b11682 Added SetNextTreeNodeOpened() with optional condition flag in replacement of OpenNextNode() 10 years ago
ocornut ea17240b96 Spacing 10 years ago
ocornut ebe363c951 Added SetWindowPos(), SetWindowSize(), SetWindowCollaposed() given a wnidow name. 10 years ago
ocornut 6d89285f59 Added SetWindowFocus(), SetWindowFocus(const char*), SetNextWindowFocus() (#146) 10 years ago
ocornut fe48562171 Comments for IMGUI_API 10 years ago
ocornut c51be42f28 Added Bullet() + usage examples 10 years ago
ocornut 0df8ff6931 Version number 10 years ago
ocornut e022e5cff6 Version number 1.33 10 years ago
ocornut bab81318a9 Comments and changed ImVec2 parameters to const ImVec2& 10 years ago
ocornut 835a46effb Comments 10 years ago
ocornut 00e281bef1 Version number 10 years ago
ocornut 242a52abba InputText: minor tidying up. 10 years ago
ocornut 2f9ef13be3 Comments 10 years ago
ocornut 4deeaea93c BeginChild() return a bool analoguous to Begin(). if true you can skip submitting content. 10 years ago
ocornut f2752584e2 Added IsAnyItemActive() 10 years ago
ocornut c1f20f03c5 ImGuiTextFilter() can take a default filter string 10 years ago
ocornut dbdbaec3eb Version number + comment 10 years ago
ocornut cb0a4db048 Calculate frame-rate for the user, as a purely luxurious feature
..and to reduce sample code size a little.
10 years ago
ocornut a597664672 Added ImGuiInputTextFlags_CharsNoBlank stock filter. Tweak examples. 10 years ago
ocornut 2df4735904 ImGuiInputTextFlags_CallbackCharFilter can return 1 to filter character 10 years ago
ocornut b73484a66b Added ImGuiInputTextFlags_CharsUppercase stock filter 10 years ago
ocornut 9473cd491e InputText(): added ImGuiInputTextFlags_CallbackCharFilter system for filtering/replacement. Callback now passed an "EventFlag" parameter. 10 years ago
ocornut 1da8a52ce7 CalcTextSize*() functions which are often speed bottleneck for large contents are about 25% faster.
Caching character advance contiguously, pulled inline, no int->float
conversion.
10 years ago
ocornut 6347179bb0 Added ListBox() (#129)
Along with ListBoxHeader(), ListBoxFooter() helpers.
10 years ago
ocornut c26af284db Tweaks. Combo default height_in_items is -1 at compilation time to match incoming ListSelect() behavior 10 years ago
ocornut 801ed2c472 Allow passing -0.01f to PushItemWidth() for a perfect right-side alignment + fix CalcItemWidth() 10 years ago
ocornut e7f51172c1 BeginChildFrame() / EndChildFrame() helpers. 10 years ago
ocornut 1e9f6cce7f PushItemWidth() can take negative value to right-align items. Renamed GetItemWidth() to CalcItemWidth() 10 years ago
ocornut 8532da3f52 Added BeginChild() variant that takes an ImGuiID 10 years ago
ocornut c6d42b1a54 Added Selectable() building block for various list boxes, combo boxes 10 years ago
ocornut da2f5d9c48 Added ImGuiCol_ChildWindowBg, ImGuiStyleVar_ChildWindowRounding for completeness and flexibility
Upcoming features using it.
10 years ago
ocornut 8e8cb7de3f Fixed title bar text clipping issue (fix #128)
+ Update version number
10 years ago
ocornut 734cf47e71 Version number 10 years ago
ocornut c907108c23 SetNextWindowPos api before SetWindowPos api in .h + comments 10 years ago
ocornut f84166dda9 Use cpu-side clipping instead of a new draw call for isolated label-clipped-by-frame cases. 10 years ago
ocornut 9e3f8adfac Added CalcListClipping() helper. 10 years ago
ocornut 29e0aad739 Renamed GetTextLineSpacing to GetTextLineHeightWithSpacing. Added GetCursorPosX/GetCursorPosY 10 years ago
Václav Patejdl d135d91e27 Added tint_col parameter to ImageButton 10 years ago
ocornut 209ab823d6 Cleanup of previous merge. Moved rarely used Get/Set InternalState functions to the bottom of the list to avoid being misleadnig. 10 years ago
ocornut e36fad65dd Merge branch 'master' of https://github.com/jtilander/imgui into jtilander-master
Conflicts:
	imgui.cpp
10 years ago
ocornut c6de9502f8 Avoid requesting IO.WantCaptureMouse if earlier click/hold was outside of ImGui window 10 years ago
ocornut 94c7eddb17 Comments 10 years ago
ocornut 5df28b101d Added ImGuiWindowFlags_NoCollapse flag 10 years ago
Jim Tilander e6318abcee Merged changes from original master 10 years ago
ocornut cc3d41dbab Version number 1.31 wip 10 years ago
ocornut bde3f6b90d Removed the dependency on realloc functionality #117 + fixed one alloc in NewFrame() 10 years ago
ocornut 56bf9ea067 Added comment on MemFreeFn as suggested by #119 10 years ago
ocornut e636e0d2aa Warning fixes (fix #118) 10 years ago
Jim Tilander 3478e3a708 Enabled us to create the internal state on client side allocated memory, e.g. a heap 10 years ago
Jim Tilander 8149bace7b Added a way to replace the internal state pointer so that we can optionally share it between modules (e.g. multiple DLLs) 10 years ago
Jim Tilander 98e71afa72 Removed the dependency on realloc functionality 10 years ago
ocornut a548c9b0d5 Version change 10 years ago
ocornut ca10c49e27 Embedded a mouse cursor that can be drawn for you by setting io.MouseDrawCursor 10 years ago
ocornut 68bad703ee ImColor::HSV() helper + color buttons demo 10 years ago