Commit Graph

5823 Commits (b5bae9781df1204a7dc6ae8b4b1f605c05f0fd74)
 

Author SHA1 Message Date
ocornut cb0a4db048 Calculate frame-rate for the user, as a purely luxurious feature
..and to reduce sample code size a little.
ocornut d65e051a07 Minor formatting tweaks, comments
ocornut a597664672 Added ImGuiInputTextFlags_CharsNoBlank stock filter. Tweak examples.
ocornut 2df4735904 ImGuiInputTextFlags_CallbackCharFilter can return 1 to filter character
ocornut b73484a66b Added ImGuiInputTextFlags_CharsUppercase stock filter
ocornut 9473cd491e InputText(): added ImGuiInputTextFlags_CallbackCharFilter system for filtering/replacement. Callback now passed an "EventFlag" parameter.
ocornut 183a27fd70 CalcTextSize*() more optimisation, fast-path for ascii.
ocornut ea94835834 CalcTextSize*() tweaks. ImTextCharFromUtf8() return 1 for a zero character now.
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.
ocornut ca2de0b89b Merge branch 'master' of https://github.com/ocornut/imgui
ocornut c73d9cfebb Columns offsets cached to avoid repeated binary search.
omar 5bd7c43a1f Update README.md
Rewording
ocornut 6347179bb0 Added ListBox() ()
Along with ListBoxHeader(), ListBoxFooter() helpers.
ocornut 16925525c6 Selectable: fixed text clipping.
ocornut c26af284db Tweaks. Combo default height_in_items is -1 at compilation time to match incoming ListSelect() behavior
ocornut 801ed2c472 Allow passing -0.01f to PushItemWidth() for a perfect right-side alignment + fix CalcItemWidth()
ocornut e7f51172c1 BeginChildFrame() / EndChildFrame() helpers.
ocornut 1e9f6cce7f PushItemWidth() can take negative value to right-align items. Renamed GetItemWidth() to CalcItemWidth()
ocornut 5d31430785 Combo() uses Selectable()
ocornut e5752f54b0 Selectable() variant: fixed missed return value
ocornut 8532da3f52 Added BeginChild() variant that takes an ImGuiID
ocornut c6d42b1a54 Added Selectable() building block for various list boxes, combo boxes
ocornut 220d920581 Internal ButtonBehaviour() supports a pressed_on_click mode (unused yet) + Renamed internal Combo*getters to Items*getters
ocornut 46dfbb5fa8 Tweak default ImGuiCol_HeaderActive to be less bright
ocornut da2f5d9c48 Added ImGuiCol_ChildWindowBg, ImGuiStyleVar_ChildWindowRounding for completeness and flexibility
Upcoming features using it.
omar 3ea90b1cd9 Update README.md
ocornut 4cb236fe46 ShowTestWindow() demonstrate tree nodes within columns.
ocornut 8e8cb7de3f Fixed title bar text clipping issue (fix )
+ Update version number
ocornut 734cf47e71 Version number
ocornut f387c3f22f Combo box always appear above other child windows of a same parent
ocornut c907108c23 SetNextWindowPos api before SetWindowPos api in .h + comments
ocornut b5e7648e24 Title bar text uses cpu-clipping + comments
ocornut f84166dda9 Use cpu-side clipping instead of a new draw call for isolated label-clipped-by-frame cases.
ocornut cc340e0b81 Split RenderText into RenderTextWrapped for internal uses
Different text functions with different features (usually orthogonal set
of features)
ocornut b8cd080cdb LabelText: value is properly clipped (fixes )
ocornut 93917e76a6 Combo: value label is properly clipped inside the closed combo frame
ocornut 9596a2b4f1 ShowExampleAppLongText() demonstrate manual clipping.
ocornut d5d8dedadd Calling SetCursorPos() automatically extends the contents size
ocornut 9e3f8adfac Added CalcListClipping() helper.
ocornut 29e0aad739 Renamed GetTextLineSpacing to GetTextLineHeightWithSpacing. Added GetCursorPosX/GetCursorPosY
ocornut c116dad304 Fixed holdng scrollbar creating a small feedback loop with calculation of contents size
omar 2bce6bf085 Merge pull request from thevaber/master
Added tint_col parameter to ImageButton
Václav Patejdl d135d91e27 Added tint_col parameter to ImageButton
ocornut 209ab823d6 Cleanup of previous merge. Moved rarely used Get/Set InternalState functions to the bottom of the list to avoid being misleadnig.
ocornut bab66cc490 Merge branch 'jtilander-master'
ocornut e36fad65dd Merge branch 'master' of https://github.com/jtilander/imgui into jtilander-master
Conflicts:
	imgui.cpp
ocornut 4e33787c2f Comments
ocornut 311c0ca9e5 If mouse was first clicked outside of ImGui bounds we also cancel out hovering.
ocornut c6de9502f8 Avoid requesting IO.WantCaptureMouse if earlier click/hold was outside of ImGui window
ocornut 94c7eddb17 Comments