History for imgui / imgui_internal.h
2018-05-03
@omar
Internals: Data types: Added s64, u64 data types. Added support in InputScalar(). Removed internal.h InputScalarEx() to InputScalar(). Removed cheap-relative-operators support in recently added U32 data path, since this is heading toward being legacy code. + Fixed InputDouble parsing code. (#1011, #320, #708)
omar committed on 3 May 2018
@omar
DragFloat/SliderFloat internal InputScalar trim leading/trailing spaces emitted from the format string when presenting an edit box to the user. (#648) ...
omar committed on 3 May 2018
@omar
Internals: Renamed IsCharIsSpace() to IsCharIsBlank*() to match standard terminlogy and added ascii/u16 variations.
omar committed on 3 May 2018
2018-04-30
@omar
Internals: Added ImGuiDataType_Uint32 data type which is usable with InputScalarEx().
omar committed on 30 Apr 2018
@omar
DragFloat, SliderFloat: Rounding scalar using the provided format string instead of parsed precision. (#648)
omar committed on 30 Apr 2018
@omar
DragFloat/SliderFloat internal InputScalar trip trailing decoration off the format string when presenting an edit box to the user. (#648)
omar committed on 30 Apr 2018
@omar
DragFloat/SliderFloat internal InputScalar relies on the user supplied format string to format and parse value. (#648) ...
omar committed on 30 Apr 2018
2018-04-27
@omar
InputFloat,InputFloat2,InputFloat3,InputFloat4: Added variations taking a more flexible and consistent optional "const char* format" parameter instead of "int decimal_precision". This allow using custom formats to display values in scientific notation, and is generally more consistent with other API. Obsoleted functions using the optional "int decimal_precision" parameter. (#648)
omar committed on 27 Apr 2018
@omar
Viewport: Exposing SetNextWindowViewport(). Used in demo and old/obsolete SetNextWindowPosCenter() (which is an interesting case). Fixed back-end likely crash calling GetFocus() after viewport destruction. Fixed metrics crash.
omar committed on 27 Apr 2018
2018-04-26
@omar
Viewport, Platform: Refresh monitor list (win32, glfw) + avoid calling GetWindowFocus before platform window creation to not require of backend to null-check things inconsistently. (#1542)
omar committed on 26 Apr 2018
@omar
Viewport: Removed unnecessary fields (now that the coordinate system is consistent accross viewports): MouseRefPrevViewport, MouseClickedPosViewportId. (#1542)
omar committed on 26 Apr 2018
@omar
Viewport, Platform: Using Platform_GetWindowFocus to provide a much stronger heuristic of platform z-order, in replacement for when the back-end cannot provide io.MouseHoveredViewport. The pressure for it to work well increased with the use of viewports by popups/menus. (#1542)
omar committed on 26 Apr 2018
2018-04-25
@omar
Misc: tweaks + minor changes merged from master to reduce branch drift. Removed code that ended up unused.
omar committed on 25 Apr 2018
@omar
Merge branch 'master' into viewport ...
omar committed on 25 Apr 2018
@omar
Misc: Comments and shallow/small changes (merged from viewport branch to minimize branch drift).
omar committed on 25 Apr 2018
@omar
Merge branch 'master' into viewport ...
omar committed on 25 Apr 2018
@omar
Internals: Removed unecessary Pos/PosFloat separation, only reason appears to be mostly pre-1.0. The only piece of code that I expected sub-pixel window position to matter actually already round its delta (wrongly so, will fix later/separately if we want).
omar committed on 25 Apr 2018
@omar
Viewport: Tidying up AddUpdateViewport() calls. Moved flags argument. Removed extraneous mid-frame call to FindPlatformMonitorFromRect(). (#1542)
omar committed on 25 Apr 2018
@omar
Viewport: Fixed issues with popups drifting in particular when reference mouse position become invalid (e.g. changing app focus while viewported-menu is open). Storing monitor index in viewport at beginning of the frame. (#1542)
omar committed on 25 Apr 2018
2018-04-24
@omar
Internals: Removed misleading ImRect::FixInverted + fix minor formatting in Readme. ...
omar committed on 24 Apr 2018
@omar
Viewport, Platform: Fixed IME positioning for multi-viewport. Moved API from ImGuiIO to ImGuiPlatformIO. Because it is extremely unlikely to people redefined this API manually the moving-forward-breakage is ok. (#1542) ...
omar committed on 24 Apr 2018
2018-04-20
@omar
Viewport: Switched to using unified platform-absolute mouse coordinates, which simplify lots of problems and simplify/reduce tricky conversions, makes ImVec2 less ambiguous. Fixed various viewport/windowing/popups/synchronization bugs. Settings on host-viewport are stored as relative (made settings decently compatible between viewport enable/disabled settings). Merged ImGuiViewport::Pos and ::PlatformPos. Tweaked thumbnails. Better, smaller code. (#1542)
omar committed on 20 Apr 2018
2018-04-19
@omar
Viewport: WIP for Tooltips, Popups, Menus to create their own viewport. Resizing a window allows it to leave the main viewport. (#1542)
omar committed on 19 Apr 2018
2018-04-18
@omar
Merge branch 'master' into viewport ...
omar committed on 18 Apr 2018
@omar
BeginMainMenuBar: Followup to 1e41bad9. Removed public window flag. DisplaySafeAreaPadding defaults to (3,3) instead of (4.4). Comments, tab to spaces, Changelog. (#1439)
omar committed on 18 Apr 2018
@Doug Binks
Added DisplaySafeAreaPadding to MainMenuBar height and fixed starting x position. Fixes main menu bar problems with TVs. (#1439)
Doug Binks authored on 18 Apr 2018 omar committed on 18 Apr 2018
2018-04-17
@omar
Viewport: Fixed manual mouse resize to handle mouse viewport change, which will allow resizing a window while it changes viewport. Releasing manual resize may merge a window. Added ConvertViewportPosToViewportPos() helper. Renamed NewFrameUpdateMovingWindowDropViewport() to UpdateTryMergeWindowIntoHostViewport() and removed the now-unnecessary half of the function. + renaming (#1542)
omar committed on 17 Apr 2018
@omar
Viewport: Comments, tweaks, renaming. Removed unnecessary stuff. Fixed zealous Clang warning. (#1542)
omar committed on 17 Apr 2018
2018-04-16
@omar
Viewport: Moved ImGuiWindowFlags_FullViewport to an internal ViewportOwned flag. Renamed AddViewport to AddUpdateViewport. (#Viewport: Shuffled code in Begin to reset size of reappearing popups prior to selecting viewport, to avoid mistakenly using an old size. Moved code out of UpdateSelectWindowViewport() to the section of Begin where positions is being locked down, to avoid code in-between duplicating this. (#1542))
omar committed on 16 Apr 2018
2018-04-12
@omar
Viewport: Virtual mouse position are patched immediately when viewports are moved in the virtual space, avoiding interaction glitchs on a resizing frame. (#1542)
omar committed on 12 Apr 2018