1221 Commits (cac4c3f9b8ce74e27acf612f45dc25615dcda4f7)

Author SHA1 Message Date
omar cac4c3f9b8 Examples: The functions in imgui_impl_xxx.cpp are prefixed with IMGUI_IMPL_API (which defaults to IMGUI_API) to facilitate some uses. (#1888) + Comments in imgui.h ago%!(EXTRA string=7 years)
omar ce0b36ba10 Added _None values to various enum flags, useful for readability and some coding style likes it. (Unfortunately we can't refer to them as default value in imgui.h functions because they need to be declared below). ago%!(EXTRA string=7 years)
omar 335f6fde7e Comments + missing changelog bits in 1.52 for SetNextWindowPos, SetNextWindowPosCenter. (obsolete #771) ago%!(EXTRA string=7 years)
omar d57fc7fb97 Added IsItemDeactivatedAfterChange() if the last item was active previously, isn't anymore, and during its active state modified a value. Note that you may still get false positive. (#820, #956, #1875) ago%!(EXTRA string=7 years)
omar be4b8b5615 Internals: Added GetItemID(), GetFocusID() for consistency. Made GetActiveID() inline. Comments, fixed typos, demo tweaks. ago%!(EXTRA string=7 years)
omar cd455a4600 Added IsItemDeactivated() to query if the last item was active previously but isn't anymore. Useful for Undo/Redo patterns. (#820, #956, #1875) ago%!(EXTRA string=7 years)
omar a48815b870 Comments, changelog ago%!(EXTRA string=7 years)
omar 85f9694bd4 Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). (#1870) ago%!(EXTRA string=7 years)
omar f5bf9f509c ImFontConfig: Added GlyphMinAdvanceX/GlyphMaxAdvanceX settings useful to make a font appears monospaced, particularly useful for icon fonts. (#1869) ago%!(EXTRA string=7 years)
omar f63a404df0 Added missing IMGUI_API markers in non-inline section of the IMGUI_DISABLE_OBSOLETE_FUNCTIONS block: old Begin(), InputFloat(). ago%!(EXTRA string=7 years)
omar d44faa165a Added GetGlyphRangesChineseSimplifiedCommon() helper that returns a list of ~2500 most common Simplified Chinese characters. Renamed GetGlyphRangesChinese() to GetGlyphRangesChineseFull() to distinguish other variants and discourage using the full set. (#1859) ago%!(EXTRA string=7 years)
omar 2a56105f85 TreeNodeEx(): The helper ImGuiTreeNodeFlags_CollapsingHeader flag now include ImGuiTreeNodeFlags_NoTreePushOnOpen. The flag was already set by CollapsingHeader(). The only difference is if you were using TreeNodeEx() manually with ImGuiTreeNodeFlags_CollapsingHeader and without ImGuiTreeNodeFlags_NoTreePushOnOpen. In which case you can remove the ImGuiTreeNodeFlags_NoTreePushOnOpen flag from your call (ImGuiTreeNodeFlags_CollapsingHeader & ~ImGuiTreeNodeFlags_NoTreePushOnOpen). (#1864) ago%!(EXTRA string=7 years)
omar 948009a8b2 Intensive FAQ answer for the million of people asking the same questions over and over again. (#1848, #1791, #1840, #1493, #1295) ago%!(EXTRA string=7 years)
omar 92b7d6bc4f Added ImGuiDragDropFlags_AcceptNoPreviewTooltip flag to disable drag source tooltip from the target site (#143) 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 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 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 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 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 e3453d0dc4 Misc: Comments and shallow/small changes (merged from viewport branch to minimize branch drift). ago%!(EXTRA string=7 years)
Bruce Mitchener 7ebdadf92b Fix various typos. 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)
daniel-murray 83d97d4a9b Fix typos KeyDown => KeysDown ago%!(EXTRA string=7 years)
omar 9117632bf0 Misc: IM_DELETE() helper function added in 1.60 doesn't clear the input _pointer_ reference, more consistent with expectation and allows passing r-value. ago%!(EXTRA string=7 years)
omar 6f1f5cbc20 Version 1.61 WIP ago%!(EXTRA string=7 years)
omar dd079fe6e6 Version 1.60 (missed the string). Will retag. ago%!(EXTRA string=7 years)
omar 8acda84202 Nav: Fixed comment. (#1599) ago%!(EXTRA string=7 years)
omar c2fc978983 Style: Default style is now StyleColorsDark()! Toward a 1.60 release :) (#707) ago%!(EXTRA string=7 years)
omar c1bdab6d5b Comments about io.WantCapture flags + todo entries. ago%!(EXTRA string=7 years)
omar 2464e62a1a IO: Added ImGuiConfigFlags_NoMouse to force clear/disable mouse inputs in NewFrame(). ago%!(EXTRA string=7 years)