Commit Graph

4865 Commits (56caf7da29d3de46981b5d6b6bc7b0e91c66fba3)
 

Author SHA1 Message Date
ocornut e72e3b2cbc Demo: tweaks.
ocornut 0300e73b3f Comments
ocornut 2df229d002 Fixed incorrect comment for ParentWindow (, )
ocornut 068984691e Tab-key focusing inhibited when CTRL is held ()
ocornut 267e54cf06 NewFrame(): update activeid data and keyboard before mouse. Should have no side-effects! (So that later we can update Nav between Keyboard and Mouse) ()
ocornut 272745bd93 ImGuiIO: initializing fields in the same order as the declaration.
ocornut 848e62bfe0 InputText: don't process keys during the activation frame (this is mostly a workaround to that activation with enter doesn't validate immediately, which is turns triggers an assert in InputScalarAsWidgetReplacement - can't see an issue with changing it this way so trying out) + using local flag clear_active_id to only clear the active id at the end of the frame, which is one of the step that my stash for requires. ()
ocornut 57841f417d SliderBehavior, RoundScalar: split into separate functions for usage in upcoming nav commits. Testing power==1.0f without fabsf(). Maybe just use == 1.0f as well? ()
ocornut 6f7da2f9f2 Popup: Fixed popup initial frame reading MousePos again instead of the value already stored within the CurrentPopupStack in the previous frame. Doesn't make a big difference here, but will do as gamepad/keyboard navigation will set its own popup position. ()
ocornut 91e1c56da6 Minor bits.
ocornut bbd3b75609 Added IsKeyPressed() with explicit repeat delay and repeat rate (for usage by nav) ()
ocornut 9f92cc255b SetActiveId() sets ActiveIdIsJustActivated only when id changes. ()
ocornut ffdd7d7f17 Begin: Moved code that calls FocusWindow() on a newly appearing window lower in the function so that Nav branch can use CursorStartPos on the first window frame. ()
Pushing in master because it _should_ be a no-op but I'd rather test for any issue in Begin() as soon as possible.
ocornut 19d02becef Closing the focused window restore focus to the first active root window in descending z-order (part of )
ocornut e215905765 Fixed scrolling offset when using SetScrollY(), SetScrollFromPosY(), SetScrollHere() with menu bar.
Tests:
a) add SetScrollY(+20) after Begin("ImGui Demo") test with/without title/menu.
b) add ImGuiWindowFlags_MenuBar in BeginChild() in scrolling tracking demo.
ocornut 4961b2ea18 Speculative build fix for FreeBSD+GLIBC configuration
See
a1f9b62dd0
ocornut 44a13a7f25 Windows: No default IME handler when compiling using GCC. ()
ocornut 04b36bc397 TODO list
ocornut 81036ee46f InputTextMultiline(): fix so that IsItemActive() can be used afterwards (otherwise the info was lost by using child/group)
ocornut c0f77f12ea InputText(): Fixed state corruption/crash bug in stb_textedit redo logic when exhausting undo char buffer ( )
ocornut 88721118fd InputTextEx: comments (related to )
ocornut d9e2e688e9 InputTextMultiline(): partial fix for when input and internal buffers differs in a way where scrollbar existence differs. ()
Partial fix, won't stop ids from functioning because of a zombie id.
ocornut 9c71ec38f0 ImVector: reserve() tweak to avoid undefined behavior warning ()
Michael Bartnett 921fc50c85 add shortcut+backspace support
Michael Bartnett 86f42b5950 osx uses super+arrows for home/end, built on work in
ocornut 5525c2356a Using GetCurrentWindowRead() instead of GetCurrentWindow()
ocornut fe7274b6c7 SetCursorScreenPos() fixed not adjusting CursorMaxPos as well
ocornut b9b3dec7da ImGuiListClipper: Fix to behave within column (, , )
ocornut 74bbfcfaa6 ImGuiListClipper: fixed automatic-height calc path dumbly having user display element 0 twice (, )
First bug out of two. Was easily visible using e.g. 50% alpha text.
ocornut 297bb3fc92 NextColumn() tidying up with a sane early out
ocornut ba7acdac47 Added assert to track stb_textedit.h issue ()
ocornut c36fd541ad InputTextMultiline(): Fixed Ctrl+DownArrow moving scrolling out of bounds
ocornut e06852abaf Fixed Windows default clipboard leaving its buffer unfreed on application's exit. ()
ocornut de61fcc619 Minor bits
ocornut 355dae5d99 Comments amend 3c8e490778 (committed before saving last comment edit) ()
ocornut 3c8e490778 Comment on dealing with io.WantCaptureKeyboard ()
ocornut 13615a1318 InputText: render currently edited buffer from the internal buffer, toward
ocornut 2f4e2eec68 InputText, ImGuiTextFilter: using strncpy instead of printf("%s").
ocornut 4621b357c1 Wrapped text: fixed incorrect testing for negative wrap coordinates, they are perfectly legal. ()
ocornut 92bff4c8d7 ColorEdit4(): better preserve inputting value out of 0..255 range, display then clamped in Hexadecimal form
ocornut 9cb271f4c8 Fixed minor text clipping issue in window title for when using font straying above usual line ()
ocornut 1ef7980e17 Merge branch 'master' into 2016-02-colorpicker
ocornut c4db79f34b Member variable name renamed "ID" "Id" for casing consistency
ocornut f83790dc5a Comments
ocornut 9f21c7189f TextUnformatted() fixed clipping bug in the large-text path when horizontal scroll has been applied (, )
ocornut d79186931e ImDrawList: Fixed a (rarely occuring) bug with merging with previous command + unnecessary OverlayDrawList command
ocornut 3fd3eac370 Fixed TextWrapped() override wrap position is one is already set ()
ocornut 2da30e8702 Comments ()
ocornut 65a525550e ImFont: Allowing to use up to 0xFFFE glyphs in same font (increased from previous 0x8000)
ocornut 4fddfa4b5e Demo: extra (somehow duplicate) Selectables+Columns demo