Commit Graph

4161 Commits (551932697db596a7a476ca536d798f99a408a99d)
 

Author SHA1 Message Date
ocornut ef10b984fe Merge remote-tracking branch 'origin' into 2016-02-colorpicker
ocornut f39513ac47 Merge remote-tracking branch 'origin' into 2016-07-navigation
ocornut 63d47bc5a4 ImFormatString() Fixed an overflow handling bug with implementation of vsnprintf() that do not return -1 ()
ocornut e8e5c6d788 Nav: Comments. Fixed two -Wall warnings. Removed unused function. ()
ocornut 3883a2027f Nav: Fixed Selectable() crash introduced earlier today in 43ee5d73 + added comments/assert ()
ocornut df9bdf38f9 Nav: NavActivateId, NavInputId are no repeat actions. Repeat buttons handle it themselves already anyway. ()
ocornut 67fd805839 Merge remote-tracking branch 'origin' into 2016-07-navigation
ocornut c6c7371a4c Nav: Removed unnecessary test following 49ca1c2b88 ()
ocornut 49ca1c2b88 Nav: InitDefaultRequest saves a fallback item so PadMenu on a collapsed window gets us to the collapse button ()
ocornut 2303b67c40 Close button submitted after collapse button. Should have no effect. Consistent with expectation & will be used as fallback for nav ()
ocornut 252f094101 Nav: Undo 87eb749cbc, agressively including nav focus test in IsItemHovered() ()
ocornut fddf9ca10e Nav: Fixed nav highlight clipping (affected non non-menu items within menubar) ()
ocornut 78b7e2dfb3 Nav: Process and apply mouse move request immediately after move request result comes ()
ocornut f71cdd13b7 Internal tidying up, moved code to CalcNextScrollFromScrollTargetAndClamp() so it can be reused by upcoming nav code.
ocornut ac7826c8a5 ImRect: Added Translate() helper, removed redundant and misleading Reduce()
ocornut 87eb749cbc Added IsItemHoveredOrFocused() (provisional name), better handling of popup/tooltip positioning when using mouse+nav ()
ocornut ea2425ad9a Nav: Fixed entering child with PadActivate not setting ActiveIdSource to Nav ()
ocornut 43ee5d73e9 Nav: Hovering MenuItem/Selectable with mouse makes NavId, matching what seems to be Windows beahvior at least for menus ()
ocornut 30c04d0dbe Nav: Mouse pos passed to backend always rounded, so that lossy application of non-integer mouse pos doesn't lead to undesirable movement (
ocornut bf42657850 Nav: Clearing mouse hover flag using MouseClicked[] test instead of MouseDown[] so that invalid mouse button won't keep breaking nav ()
ocornut 695ca7bb45 Nav: Tidying up. Comments. ()
ocornut 4f7c63a7af Nav: Fixed a bug where mouse positioning requests would be sent while opening submenus with mouse ()
ocornut e4c099d67c Nav: Comments + fixed handling of PadLeft in menus (fix e55882f) ()
ocornut e3fec8c0aa Renamed function ()
ocornut 82768e05f3 Ignore list for Visual Studio
ocornut 787a802f2e Merge branch 'martty-master'
Marcell Kiss 4bc6a951fe tabs to space, remove braces
Marcell Kiss 3234f81cb1 maxImageCount may be 0; add missing sType; change to 1 push constant range
omar 622715725d Merge pull request from bear24rw/patch-1
Demo: Add null terminator to ShowStyleEditor() output_type combo options
Max Thrun 4f389b7f6a Add null terminator to ShowStyleEditor output_type combo options
Without a null terminator the Combo() function indexes outside of the "items_separated_by_zeros" string.
ocornut ead79dcdac Metrics: 64-bit display fix
ocornut 3ab0d5cdfd Nav: NavHighlight gets its own color (default to Header color), made rectangle thicker ()
ocornut cf16ba6572 Nav: Exposed RenderNavHighlight() in imgui_internal.h to increase discoverability and reordered arguments to be more consistent ()
ocornut 6c19d7b13c Nav: Fixed clipping rect of navigation highlight, notably for collapsing arrow ()
ocornut 9501cd9991 InputText: Fixed calling callback on frame of losing active id, fix part of 848e62bfe0 (nav branch only)
 
ocornut cff815fd2d Merge branch 'master' into 2016-02-colorpicker
ocornut a83f9b7885 Merge branch 'master' into 2016-07-navigation
ocornut 0f9addb002 Minor shuffle to ease merging branches. (tentative. fugly but those fields will be removed anyway)
ocornut bfe1e163b8 Merge remote-tracking branch 'origin' into 2016-02-colorpicker
ocornut 2afffcdeb9 Merge remote-tracking branch 'origin' into 2016-07-navigation
ocornut 4bc3f9d1f7 Minor shuffle to ease merging branches.
ocornut 996eb080fa Merge remote-tracking branch 'origin' into 2016-02-colorpicker
ocornut df1d1b5b25 Nav: DragBehavior: Adjust minimum step to displayed precision when using navigation (, )
ocornut 09cba02d3f Nav: DragBehavior: Fix for fast speed ( )
ocornut 761a74c62b Selectable/MenuItem: Not activated on Click but only on Release is more standard (, , )
Apparently menu items started with OnClick (vs OnClickHoldRelease) when
doing . Hope to not break anything.
Also allows using xxx_DontClosePopup flags.
ocornut 8828889d5e Refactored rare transient bool stacks into a set of flags, added unexposed ImGuiItemFlags_SelectableDontClosePopup ()
ocornut 785f51227a Demo tweaks
ocornut 525ef5b357 Nav: Tweaked default highlight clipping (clipped by scrollbar) and removed subtle background ()
ocornut a68132948b Nav: Added ImGuiCol_NavWindowingHighlight into style ()
ocornut 6aa8019763 Nav: Fixed bug where pressing NavInput(Triangle) to turn slider/drag into text input would then change subsequent NavActivate as well ()