364 Commits (183a27fd70382c1aec50a4f9141b7b29d690a757)

Author SHA1 Message Date
ocornut 183a27fd70 CalcTextSize*() more optimisation, fast-path for ascii. 10 years ago
ocornut ea94835834 CalcTextSize*() tweaks. ImTextCharFromUtf8() return 1 for a zero character now. 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 c73d9cfebb Columns offsets cached to avoid repeated binary search. 10 years ago
ocornut 6347179bb0 Added ListBox() (#129)
Along with ListBoxHeader(), ListBoxFooter() helpers.
10 years ago
ocornut 16925525c6 Selectable: fixed text clipping. 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 5d31430785 Combo() uses Selectable() 10 years ago
ocornut e5752f54b0 Selectable() variant: fixed missed return value 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 220d920581 Internal ButtonBehaviour() supports a pressed_on_click mode (unused yet) + Renamed internal Combo*getters to Items*getters 10 years ago
ocornut 46dfbb5fa8 Tweak default ImGuiCol_HeaderActive to be less bright 10 years ago
ocornut da2f5d9c48 Added ImGuiCol_ChildWindowBg, ImGuiStyleVar_ChildWindowRounding for completeness and flexibility
Upcoming features using it.
10 years ago
ocornut 4cb236fe46 ShowTestWindow() demonstrate tree nodes within columns. 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 f387c3f22f Combo box always appear above other child windows of a same parent 10 years ago
ocornut b5e7648e24 Title bar text uses cpu-clipping + 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 cc340e0b81 Split RenderText into RenderTextWrapped for internal uses
Different text functions with different features (usually orthogonal set
of features)
10 years ago
ocornut b8cd080cdb LabelText: value is properly clipped (fixes #23) 10 years ago
ocornut 93917e76a6 Combo: value label is properly clipped inside the closed combo frame 10 years ago
ocornut 9596a2b4f1 ShowExampleAppLongText() demonstrate manual clipping. 10 years ago
ocornut d5d8dedadd Calling SetCursorPos() automatically extends the contents size 10 years ago
ocornut 9e3f8adfac Added CalcListClipping() helper. 10 years ago
ocornut 29e0aad739 Renamed GetTextLineSpacing to GetTextLineHeightWithSpacing. Added GetCursorPosX/GetCursorPosY 10 years ago
ocornut c116dad304 Fixed holdng scrollbar creating a small feedback loop with calculation of contents size 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 4e33787c2f Comments 10 years ago
ocornut 311c0ca9e5 If mouse was first clicked outside of ImGui bounds we also cancel out hovering. 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
ocornut 4169d2c8db Fixed more pedantic warnings 10 years ago
ocornut 0a6577a6df Fixed warnings 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 85763150e8 Fixed / removed unncessary allocation in Render() 10 years ago
ocornut bde3f6b90d Removed the dependency on realloc functionality #117 + fixed one alloc in NewFrame() 10 years ago
ocornut 6777145853 InputText: Filtering private Unicode range 0xE000-0xF8FF seems like glfw on OSX uses those? 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 1be4604027 Fixed pointer dereferencing error from merge 10 years ago
Jim Tilander e9ff2f3d24 Merge branch 'master' of https://github.com/ocornut/imgui 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