Commit Graph

4488 Commits (89e2ddf07f30c9f00f2df924e8f236ced434daa8)
 

Author SHA1 Message Date
ocornut 185744e697 Having a InputText() active doesn't steal mouse inputs (relate to )
ocornut 87a3522eb2 Clearing ImGuiState, may switch back to memset(0) but that would put a requirement on user defined ImVector<> to be zero-fill compat
ocornut 4deeaea93c BeginChild() return a bool analoguous to Begin(). if true you can skip submitting content.
ocornut 8f75cffc09 Columns: doesn't incorrectly bail out when SkipItems is set (fix )
ocornut 0e159aa22e BeginChild() variant goes after the main one
ocornut 2ae0e667d0 Child window explicitly inherit collapse state from parent.
ocornut 364d4a1ae6 Merge branch 'master' of https://github.com/ocornut/imgui
ocornut f2752584e2 Added IsAnyItemActive()
omar a0e93f410e Update README.md
ocornut c1f20f03c5 ImGuiTextFilter() can take a default filter string
ocornut d58ded3acb Sliders: value is clipped inside the frame when resizing sliders to be small.
ocornut 9542f52182 InputText: size for allowed input size smaller than necessary by 1 byte.
ocornut 1eef869669 Fix ImFont::BuildLookupTable() potential dangling pointer dereference (fix )
ocornut 941ef993d9 ImGuITextFilter::Draw() use regular width call.
ocornut dbdbaec3eb Version number + comment
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 )