Commit Graph

  • a899c1e570 Internals: Using ImU64 for internal ImFile api so we can later wrap them to fseeko/ftello//_fseeki64/_ftelli64 (#2734) omar 2019-11-20 10:40:14 +0100
  • ecbedc8c26 Tweaks, ammend 93efa54, rename to IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS (#1038) omar 2019-11-19 21:20:46 +0100
  • 4e90906b04 Added IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS / IMGUI_DISABLE_FILE_FUNCTIONS #2734) Using in Emscripten example. omar 2019-11-19 21:14:44 +0100
  • 93efa5415f Renamed IMGUI_DISABLE_FORMAT_STRING_FUNCTIONS to IMGUI_DISABLE_DEFAULT_FORMAT_STRING_FUNCTIONS. (#1038) Renamed IMGUI_DISABLE_MATH_FUNCTIONS to IMGUI_DISABLE_DEFAULT_MATH_FUNCTIONS. omar 2019-11-19 20:48:11 +0100
  • 9efaf2828b Doc comments. Removed .ini parsing code from 1.53 that parsed entries without the [Window] tag (which enabled importing an old .ini file) omar 2019-11-19 15:22:42 +0100
  • 3895363432 Merge branch 'master' into docking inc alter GetWindowResizeID omar 2019-11-18 13:58:50 +0100
  • ca30ef4269 Drag and drop: Increase local payload buffer from 8 to 16 bytes. omar 2019-11-15 18:36:06 +0100
  • 7e232092a6 Internals: Added GetWindowResizeID(), renamed GetScrollbarID() to GetWindowScrollbarID(). Using integer for resize ID so they matches regardless of the pointer size. Internals: Renamed IMGUI_USER_ERROR to IM_ASSERT_USER_ERROR(). omar 2019-11-15 16:44:16 +0100
  • a1e43c682a Merge branch 'master' into docking (with fixes) omar 2019-11-15 15:32:36 +0100
  • 8f40020ca6 Disable Win32 clipboard and IME functions when build target UWP (#2892, #2895) Tracy Ma 2019-11-15 16:51:48 +0800
  • be05e12e21 Misc: Using static_assert() when using C++11, instead of our own construct (avoid zealous Clang warnings). omar 2019-11-14 18:02:18 +0100
  • b23dcab6e1 Fix 25eee91 incorrect assert when ending a child-popup (rarely used but used by sub-nenus) omar 2019-11-14 16:06:39 +0100
  • be436e2b0b Fix HelpMarker() symbol collision for unity builds (#2893) omar 2019-11-13 22:04:16 +0100
  • 03852470de Internals: Routing recoverable user errors via IMGUI_USER_ERROR() macro. (#1651) omar 2019-11-13 21:58:18 +0100
  • 25eee91542 Error handling: Assert if user mistakenly calls End() instead of EndChild() on a child window. (#1651) Internals: Moved some error handling code. omar 2019-11-13 21:35:42 +0100
  • b138f8cbcd Internal: Nav rename preparing for nav inputs ownership changes. IsNavInputPressed() -> IsNavInputTest() omar 2019-11-12 23:54:22 +0100
  • 7c441e37fa CI: Update jobs to MacOS latest (Catalina) Metrics: Added description to Item Picker. omar 2019-11-11 14:47:39 +0100
  • c3fd4ae473 Docking: comments omar 2019-11-12 11:06:02 +0100
  • 6e8e2c0fa9 Scrollbar: Fixed an issue where scrollbars wouldn't display on the frame following a frame where all child window contents would be culled. Demo: Fixed a small bug with scrolling demo. Metrics: Tweaks. omar 2019-11-08 19:00:49 +0100
  • 69b5c2f541 Merge branch 'master' into docking omar 2019-11-08 15:45:12 +0100
  • 57dc34f4e8 TreeNode: Added IsItemToggledOpen() to explicitly query if item was just open/closed, facilitating interactions with custom multi-selections patterns. (#1896, #1861) omar 2019-11-08 15:23:34 +0100
  • 011d475532 TreeNode: The collapsing arrow accepts click even if modifier keys are being held, facilitating interactions with multi-select patterns. (#2886, #1896, #1861) omar 2019-11-08 15:13:21 +0100
  • 037126ee0e TreeNode: Reworded code for ImGuiTreeNodeFlags_OpenOnArrow (follow up to f79b2d6c) to make it lightweight. Should be a no-op from user's point of view. Will facilitate using the arrow hovering information in the hot path. (#2886) omar 2019-11-08 14:57:56 +0100
  • d003674f2c Internals: Added ImChunkStream, used by window settings. (more generic followup to 4c13807, the class will be used more extensively by Tables) omar 2019-11-07 16:05:03 +0100
  • a337e219b6 Internals: ImPool: Renaming. omar 2019-11-07 15:01:19 +0100
  • 28f1d60de1 Internals: Renaming + added ImStrSkipBlank() from docking branch. omar 2019-11-06 22:52:48 +0100
  • 09b2310237 Internals: Added index of helpers and shuffled a few things. omar 2019-11-06 15:15:29 +0100
  • 4c13807b7d Misc: Optimized storage of window settings data (reducing allocation count). omar 2019-11-05 22:43:53 +0100
  • 3929255b77 Examples: Emscripten: Removed BINARYEN_TRAP_MODE=clamp from Makefile which was removed in Emscripten 1.39.0 but required prior to 1.39.0, making life easier for absolutely no-one. (#2877, #2878) [@podsvirov] omar 2019-11-05 12:53:30 +0100
  • 916487a653 example_emscripten: skip outdated compiler option Konstantin Podsvirov 2019-10-31 00:56:16 +0300
  • bff2d5d5e2
    Update README.md omar 2019-11-05 11:41:02 +0100
  • a704614b3e Merge branch 'master' into docking omar 2019-11-04 16:33:57 +0100
  • c9182424a8 Normalize all the line endings. Rokas Kupstys 2019-10-30 17:50:11 +0200
  • c9ffa62e1f Add .gitattributes with rules for line endings of files. Rokas Kupstys 2019-10-30 17:50:02 +0200
  • bcd752cfcc CI: Fix emscripten builds after portable SDK archive became unavailable. Rokas Kupstys 2019-11-04 09:50:50 +0200
  • 792a8631aa Metrics: Expose basic details of each window key/value state storage. omar 2019-10-31 14:01:35 +0100
  • 8fee5a4349 Internals: Renaming for consistency. omar 2019-10-31 11:15:40 +0100
  • 5006639526 CI: Add scheduled builds and limit some examples to build only on schedule in order to decrease time of builds performed on each push. Rokas Kupstys 2019-10-30 16:10:43 +0200
  • 5ebd4e4c6e CI: Install SDL SDK in windows workers and add SDL examples to the build. CI: Add Vulkan GLFW and SDL builds to windows build job. Rokas Kupstys 2019-10-30 11:30:46 +0200
  • a4420be1a2 CI: Split builds of examples into separate jobs. Rokas Kupstys 2019-10-30 10:45:27 +0200
  • 9f979c33f4 CI: Fix builds failing because of missing v140 toolset and SDK on dx12 sample. Rokas Kupstys 2019-10-30 09:49:57 +0200
  • d62a413476 Misc: Windows: Do not use _wfopen() if IMGUI_DISABLE_WIN32_FUNCTIONS is defined. (#2815) omar 2019-10-29 21:47:43 +0100
  • 6024051a2f Viewport: Fixed 32380a0 (#2876) omar 2019-10-29 21:18:01 +0100
  • b3e94f5de8 Merge branch 'master' into docking omar 2019-10-29 17:21:19 +0100
  • 6bf5aed325 Declaration and assignment can be joined, Member function may be 'const'. (#2875) stfx 2019-10-28 13:02:59 +0100
  • c863c1f6a1 Clean up number rounding. Now it is more obvious what code is doing. (#2862) Add IM_ROUND() macro Replace IM_FLOOR(n + 0.5f) and ImFloor(n + 0.5f) with IM_ROUND(n) Rokas Kupstys 2019-10-29 17:04:13 +0100
  • 32380a0112 Viewport: Store current dpi scale in context. omar 2019-10-29 16:43:11 +0100
  • 0b2d35f63f Fix snprintf and vsnprintf definition inconsistencies. Sam Hocevar 2019-10-28 12:46:45 +0100
  • 4e56de757c Doc: Promote Discord over Discourse. Obsoleting Discourse server. omar 2019-10-25 15:33:10 +0200
  • f002a11898 Backends: OpenGL3: Fix building with pre-3.2 GL bindings which do not expose glDrawElementsBaseVertex(), using runtime GL version to decide if we set ImGuiBackendFlags_RendererHasVtxOffset. (#2866, #2852) [@dpilawa] omar 2019-10-25 11:56:36 +0200
  • 4d0c88e9e6 Backends: GL3: Fix compile for < 3.2 bindings where glDrawElementsBaseVertex is not available. (#2866, #2852) dawid 2019-10-25 11:40:50 +0200
  • 664fb38e39 Docking: child windows don't use style.ChildRounding. omar 2019-10-25 11:13:51 +0200
  • 9b323a7ebf SplitterBehavior: not using FrameRounding in render (was in first commit of the function, not sure why). (#319) omar 2019-10-25 11:05:14 +0200
  • 0cbb96895a Merge branch 'master' into docking omar 2019-10-24 15:11:37 +0200
  • 3c238ecae3 Move issue_template and pull_request_template to .github folder. omar 2019-10-24 11:26:45 +0200
  • d5b5a81946 GitHub Actions CI script for Windows/Linux/MacOS/iOS/Emscripten builds. Rokas Kupstys 2019-10-23 18:10:47 +0300
  • 24e9a6e92c Remove .travis.yml due to switching to github actions. Rokas Kupstys 2019-10-23 15:39:14 +0300
  • ec0e953cca Fixed a couple of subtle bounding box vertical positioning issues relating to text baseline alignment. The issue would generally manifest when laying out multiple items on a same line, with varying heights and text baseline offsets. (#2833) Some specific examples, e.g. a button with regular frame padding followed by another item with a multi-line label and no frame padding, such as: multi-line text, small button, tree node item, etc. The second item was correctly offset to match text baseline, and would interact/display correctly,but it wouldn't push the contents area boundary low enough. Note: previously the second parameter to ItemSize() was 0.0f was default, now -1.0f to signify "no text baseline offset request". If you have code using ItemSize() with an hardcoded zero you may need to change it. (+1 squashed commits) omar 2019-10-06 23:17:36 +0200
  • 75d540d336 Example: Emscripten: Fix for compilation (filesystem module is required) (#2734) Funto 2019-10-23 16:55:26 +0200
  • be9f1e8f00 ColorPicker: Fixed SV triangle gradient to block (broken in 1.73). (#2864, #2711). [@lewa-j] Alexey 2019-10-23 00:45:59 +0300
  • 23c1ff4907 Removed redirecting functions/enums names that were marked obsolete in 1.52 (October 2017). - Begin() [old 5 args version] -> use Begin() [3 args], use SetNextWindowSize() SetNextWindowBgAlpha() if needed - IsRootWindowOrAnyChildHovered() -> use IsWindowHovered(ImGuiHoveredFlags_RootAndChildWindows) - AlignFirstTextHeightToWidgets() -> use AlignTextToFramePadding(); - SetNextWindowPosCenter() -> use SetNextWindowPos() with a pivot of (0.5f, 0.5f) - ImFont::Glyph -> use ImFontGlyph If you were still using the old names, read "API Breaking Changes" section of imgui.cpp to find out the new names or equivalent features, or see how they were implemented until 1.73. omar 2019-10-22 14:43:04 +0200
  • 048b73dfaa Various comments + Doc: Examples readme. Moved main menu bar code below menu bar code. omar 2019-10-21 16:12:46 +0200
  • 7b77cb3bb8 Backend: DX12: Fixed incorrect assert (#2851) omar 2019-10-21 13:38:33 +0200
  • 7dbae8a198
    Doc: Simplified Readme, removed FAQ index omar 2019-10-21 13:26:47 +0200
  • 6ffee0e75e Backends: DX12: Added extra ID3D12DescriptorHeap parameter to ImGui_ImplDX12_Init() function. The value is unused in master branch but will be used by the multi-viewport features (docking branch). (#2851) + Using SafeRelease() in master. omar 2019-10-18 18:32:48 +0200
  • 6faad0c34f Backend: DX12: Amend 899e485. Fix memory leaks. Remove unused variable. (#2851) omar 2019-10-18 18:03:56 +0200
  • 05c1f2795a Add multi-viewports for DX12. (#2851) Ilya.Sevrikov 2019-10-17 16:53:43 +0300
  • eedc8f993f Examples: DX12: Using IDXGIDebug1::ReportLiveObjects() when DX12_ENABLE_DEBUG_LAYER is enabled. omar 2019-10-18 18:20:53 +0200
  • 7feccf9ab2 Merge branch 'master' into docking omar 2019-10-18 16:50:30 +0200
  • 4de32cc87e Backends: GLFW: Restore previously installed user callbacks in ImplGlfw when ImGui shuts down (#2836) malte-v 2019-10-18 16:25:18 +0200
  • 714fe29d1a Replace manual flooring with IM_FLOOR() macro. (#2850) Rokas Kupstys 2019-10-17 12:36:26 +0300
  • 53278be61f FAQ, Readme. Use = {} instead of = { 0 }, wasn't problematic because they were all static variables or one stack array not read. But hey. omar 2019-10-18 12:54:30 +0200
  • 9994f5bcbe Fixed more FAQ links, oops.. (#2848) omar 2019-10-16 11:28:45 +0200
  • 3bbc27ebd9 Fixed more FAQ links. (#2848) omar 2019-10-16 11:23:15 +0200
  • 5fc427a49e Improved and moved FAQ to docs/FAQ.md so it can be readable on the web. (#2848) omar 2019-10-16 11:03:41 +0200
  • 9d6b2b096b Ignore directories created by JetBrains IDEs. Rokas Kupstys 2019-10-15 15:48:46 +0300
  • 6892b81578 Remove trailing spaces from bunch of files. Rokas Kupstys 2019-10-15 16:20:27 +0300
  • c21fdabb43 Doc: Readme: moving contents to FAQ. omar 2019-10-15 13:00:04 +0200
  • a41f0b2df4 Inputs: Fixed a miscalculation in the keyboard/mouse "typematic" repeat delay/rate calculation, used by keys and e.g. repeating mouse buttons as well as the GetKeyPressedAmount() function. IMPORTANT: Renamed internal CalcTypematicPressedRepeatAmount to CalcTypematicRepeatAmount and reordered the t1, t0 arguments to t0, t1 !! If you were using a non-default value for io.KeyRepeatRate (previous default was 0.250), you can add +io.KeyRepeatDelay to it to compensate for the fix. The function was triggering on: 0.0 and (delay+rate*N) where (N>=1). Fixed formula responds to (N>=0). Effectively it made io.KeyRepeatRate behave like it was set to (io.KeyRepeatRate + io.KeyRepeatDelay). Fixed the code and altered default io.KeyRepeatRate,Delay from 0.250,0.050 to 0.300,0.050 to compensate. If you never altered io.KeyRepeatRate nor used GetKeyPressedAmount() this won't affect you. omar 2019-10-14 23:07:06 +0200
  • c7bdec7e18 InputText, Nav: Fixed Left!Right keys broken when activating Keyboard Navigation. (#787) Amend 892dfb1 omar 2019-10-14 22:43:04 +0200
  • 67e4cd5cc6 Comments, some logging for NavInitRequest debugging Moved OpenPopupOnItemClick() next to BeginPopupContextItem() omar 2019-10-14 14:08:56 +0200
  • 8c4dcbfa45
    Diligent Engine omar 2019-10-12 17:56:32 +0200
  • 23eabd5991
    Emscripten omar 2019-10-12 17:41:56 +0200
  • 58411033e2
    Bindings omar 2019-10-12 17:21:11 +0200
  • 1c73a0c17e
    Bindings omar 2019-10-12 17:18:44 +0200
  • cba84df7b5
    Update README.md omar 2019-10-12 17:05:08 +0200
  • aeb6481499 InputText: Filter out Ascii 127 (DEL) emitted by low-level OSX layer, as we are using the Key value. (#2578) omar 2019-10-12 14:25:18 +0200
  • fc10ba8d24 Amend f0238ece9cba67ecabef438008fea53682bd6bc7 (#2817, #2818) omar 2019-10-11 14:20:04 +0200
  • 378035c6ff Fixed backspace handling on MacOS (fixed https://github.com/ocornut/imgui/issues/2817). Allow null view passing as parameter to ImGui_ImplOSX_NewFrame Egor Yusov 2019-09-30 21:16:30 -0700
  • bf746c4215 DragScalar, SliderScalar, InputScalar: Added p_ prefix to parameter that are pointers to the datato clarify how they are used, and more comments redirecting to the demo code. (#2844) omar 2019-10-11 12:03:43 +0200
  • bf4880f6a2 Merge branch 'master' into docking omar 2019-10-07 19:14:37 +0200
  • 927472f5ff Combo: Added _NoMove flag to prevent window from docking, which has an effect in Docking branch (in Master was not noticeable as the Combo code kept repositioning the window). (#2835) omar 2019-10-07 19:14:08 +0200
  • 3b271b1847 Demo: Added simple item reordering demo in Widgets -> Drag and Drop section. (#2823, #143) [@rokups] omar 2019-10-07 17:52:31 +0200
  • 8aad3482a4 ImVector: Fixed index_from_ptr() not asserting when passed end() element. omar 2019-10-07 17:22:55 +0200
  • 323412dd23 Examples: Allegro5: updated build instructions for macOS Harris Brakmic 2019-10-06 13:02:01 +0200
  • 73fa6509a5 Internal: InputTextEx: tweaked a bit of code (should be a no-op) omar 2019-10-05 16:53:28 +0200
  • f1f321d3f6
    Update README.md omar 2019-10-05 16:07:00 +0200
  • e0c0e53edf Merge branch 'master' into docking omar 2019-10-04 19:22:42 +0200
  • ee3373d067 TreeNode: Fixed combination of ImGuiTreeNodeFlags_SpanFullWidth and ImGuiTreeNodeFlags_OpenOnArrow incorrectly locating the arrow hit position to the left of the frame. (#2451, #2438, #1897) omar 2019-10-04 19:21:29 +0200
  • ccb2a947a2 Internal: SliderBehaviorT: Condition '!is_decimal' is always true (#2828) domgho 2019-10-04 11:57:20 +0200