omar
|
002e513b82
|
Added float GetWindowDpiScale(). (#1542, #1676)
|
ago%!(EXTRA string=7 years) |
omar
|
bf56b6b9a5
|
ColorEdit3, ColorEdit4, ColorButton: Added ImGuiColorEditFlags_NoDragDrop flag to disable ColorEditX as drag target and ColorButton as drag source. (#1826)
|
ago%!(EXTRA string=7 years) |
omar
|
7c7e96e1aa
|
ImVector: added erase(it first, it last) helper. Added erase_unsorted(it) helper. + todo fixes/additions
|
ago%!(EXTRA string=7 years) |
omar
|
d5c8f404b2
|
Remove trailing white spaces.
|
ago%!(EXTRA string=7 years) |
omar
|
7f960616e0
|
Viewport: When resizing/moving a window using the host OS/WM we attempt to merge back into host viewport. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
1cafdb5b46
|
Viewport: Added GetWindowViewport() to query the current viewport for the current window. Comments. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
036dce634e
|
Version 1.62 WIP
|
ago%!(EXTRA string=7 years) |
Kirill Artemov
|
721ca97d95
|
ImVector: Tweaked reserve() flow to avoid calling MemFree(NULL) which is unnecessary. (#1796)
|
ago%!(EXTRA string=7 years) |
omar
|
78b28d545f
|
Version 1.61 + todo additions
|
ago%!(EXTRA string=7 years) |
omar
|
f8ca7f45c4
|
Comments about AddConvexPolyFilled(), PathFillConvex() requiring a clockwise order path. (#1811)
|
ago%!(EXTRA string=7 years) |
omar
|
fc7fc83f9e
|
Data types: DragScalar, InputScalar: default parameters. Added IM_STATIC_ASSERT(). Comments.
|
ago%!(EXTRA string=7 years) |
omar
|
0dc18a6ca6
|
Documentation tweaks, comments
|
ago%!(EXTRA string=7 years) |
omar
|
6eacddb50f
|
Viewport: Changed Monitor field to use Pos+Size (more consistent), changed FullMin,FullMax to MainPos,MainSize. Made main viewport accessible in PlatformIO on first frame. Fixed casing of ImGuiViewportFlags_TopMost flag. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
f83f566530
|
Internals: Nav: Extracted code into a NavClampToVisibleAreaForMoveDir() + fix debug code + inline some functions, removed obsolete EndChild() comment.
|
ago%!(EXTRA string=7 years) |
omar
|
8da0d42ef2
|
Moved DragScalar, InputScalar, SliderScalar to imgui.h as well as ImGuiDataType (#320, #643, #708, #1011)
|
ago%!(EXTRA string=7 years) |
omar
|
f13f10e725
|
Settings: Comments (#923, #993)
|
ago%!(EXTRA string=7 years) |
omar
|
0bf43b3a1b
|
Settings: Added LoadIniSettingsFromDisk(), LoadIniSettingsFromMemory(), SaveIniSettingsToDisk(), SaveIniSettingsToMemory(), io.WantSaveIniSettings. (#923, #993)
|
ago%!(EXTRA string=7 years) |
omar
|
c7687fc1d6
|
Viewports: Comments on ImGuiConfigFlags_DpiEnableScaleViewports and ImGuiConfigFlags_DpiEnableScaleFonts. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
3e8087458d
|
SliderScalar, VSliderScalar(): Support for any data types. Tested with various ranges/limits. Note that Drag/Slider/Input currently fail if the format string doesn't preview the actual value. Will fix next. (#320, #643, #708, #1011)
|
ago%!(EXTRA string=7 years) |
omar
|
dbe16b6a70
|
Made IMGUI_DISABLE_OBSOLETE_FUNCTIONS exceptionally not affect the layout of ImGuiIO. (#1695)
|
ago%!(EXTRA string=7 years) |
omar
|
086c3925c4
|
Internals: Fixed DragInt* default format string. InputScalar(), InputScalarN(), removed InputFloatN(), InputInt(). Note that DragInt2/3/4 will %f format strings will currently be broken. (#320, #643, #708, #1011)
|
ago%!(EXTRA string=7 years) |
omar
|
4780ac1ca4
|
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)
|
ago%!(EXTRA string=7 years) |
omar
|
d9fa1f869e
|
Comments about using "power curves". Demo tweaks. (#648)
|
ago%!(EXTRA string=7 years) |
omar
|
429f48bb4f
|
Clarified usage of ListBoxHeader() before we rename those functions + fixed demo code that didn't honor it correctly. (#1783)
|
ago%!(EXTRA string=7 years) |
omar
|
f2e9dddeca
|
DragDrop: Removed const qualifier from ImGuiPayload 's void* data, easing casting on user side.
|
ago%!(EXTRA string=7 years) |
omar
|
f80314754c
|
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)
|
ago%!(EXTRA string=7 years) |
omar
|
73445ff248
|
Renamed all "display_format" arguments to "format" to emphasis that they also affect rounding of values. (#648, #642)
|
ago%!(EXTRA string=7 years) |
omar
|
28edece04f
|
Comments, minor tweaks
|
ago%!(EXTRA string=7 years) |
omar
|
c47d34cf70
|
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.
|
ago%!(EXTRA string=7 years) |
omar
|
f1ae07e532
|
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)
|
ago%!(EXTRA string=7 years) |
omar
|
d9cd494eaf
|
Viewport: Moved ScaleWindow* code in a proper location. Various comments.
|
ago%!(EXTRA string=7 years) |
omar
|
eb1c36fdfb
|
Added IMGUI_CHECKVERSION() macro to compare version string and data structure sizes in order to catch issues with mismatching compilation unit settings. (#1695, #1769)
|
ago%!(EXTRA string=7 years) |
omar
|
5979233a3c
|
Misc: tweaks + minor changes merged from master to reduce branch drift. Removed code that ended up unused.
|
ago%!(EXTRA string=7 years) |
omar
|
e3453d0dc4
|
Misc: Comments and shallow/small changes (merged from viewport branch to minimize branch drift).
|
ago%!(EXTRA string=7 years) |
omar
|
7a41e0b1ea
|
Platform: Added platform_io.Platform_SetWindowFocus, Platform_GetWindowFocus function wrappers (unused yet). Exact specs tbd because our simplified concept of focus doesn't necessary match the more complex OS native concepts. (#1542)
|
ago%!(EXTRA string=7 years) |
Bruce Mitchener
|
7ebdadf92b
|
Fix various typos.
|
ago%!(EXTRA string=7 years) |
omar
|
cb78e62df9
|
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)
SDL2 ime support under Win32 never worked properly because of SDL interferences.
|
ago%!(EXTRA string=7 years) |
omar
|
376f2aec54
|
Viewport: Clamp windows within monitors + fallback rescue window when it is out of sight (e.g. removed monitor, changed resolution) + Win32: declare primary monitor at the beginning of the list. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
d268471285
|
Viewport: Added ImGuiConfigFlags_ViewportsNoMerge flag (to enforce a platform window for all floating windows) + minor tidying up and addition of non-functional wip code.
|
ago%!(EXTRA string=7 years) |
omar
|
4433ce4312
|
Viewport, Platform: Added work area in ImGuiPlatformMonitor. Renamed fields. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
456bbffcc4
|
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)
|
ago%!(EXTRA string=7 years) |
omar
|
6a0b2627ad
|
BeginMainMenuBar: Followup to 1e41bad9 . Removed public window flag. DisplaySafeAreaPadding defaults to (3,3) instead of (4.4). Comments, tab to spaces, Changelog. (#1439)
|
ago%!(EXTRA string=7 years) |
Doug Binks
|
1e41bad90f
|
Added DisplaySafeAreaPadding to MainMenuBar height and fixed starting x position. Fixes main menu bar problems with TVs. (#1439)
|
ago%!(EXTRA string=7 years) |
omar
|
0d16492eb7
|
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))
|
ago%!(EXTRA string=7 years) |
daniel-murray
|
83d97d4a9b
|
Fix typos KeyDown => KeysDown
|
ago%!(EXTRA string=7 years) |
omar
|
950539b768
|
Viewport, Platform, DPI: Back-end store per-monitor DPI information in ImGuiPlatformMonitor. (#1542, #1676)
|
ago%!(EXTRA string=7 years) |
omar
|
285269ef55
|
Viewport, Platform: Added ImGuiViewportFlags_TopMost that will be used by tooltip window (without it, clicking and holding the window emitting the tooltip would move the tooltip to the back) + GLFW backend fixes for non-win32 platforms. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
83bd3595a4
|
Viewport: Merged ImGuiPlatformData into ImGuiPlatformIO. Comments. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
32ee0a3947
|
Viewport, Platform: Added a way to register monitor bounds to imgui so they can be used to clamp individual-viewport tooltips/popups so they don't straddle monitors. (#1542)
|
ago%!(EXTRA string=7 years) |
omar
|
7ddc22b326
|
Viewports, DPI: Renamed config flags. (#1542)
|
ago%!(EXTRA string=7 years) |