omar
|
a899c1e570
|
Internals: Using ImU64 for internal ImFile api so we can later wrap them to fseeko/ftello//_fseeki64/_ftelli64 (#2734)
|
2019-11-20 10:40:14 +01:00 |
|
omar
|
ecbedc8c26
|
Tweaks, ammend 93efa54 , rename to IMGUI_DISABLE_DEFAULT_FORMAT_FUNCTIONS (#1038)
|
2019-11-19 21:29:12 +01:00 |
|
omar
|
4e90906b04
|
Added IMGUI_DISABLE_DEFAULT_FILE_FUNCTIONS / IMGUI_DISABLE_FILE_FUNCTIONS #2734)
Using in Emscripten example.
|
2019-11-19 21:14:44 +01:00 |
|
omar
|
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.
|
2019-11-19 20:53:17 +01:00 |
|
omar
|
9efaf2828b
|
Doc comments. Removed .ini parsing code from 1.53 that parsed entries without the [Window] tag (which enabled importing an old .ini file)
|
2019-11-19 19:39:46 +01:00 |
|
omar
|
3895363432
|
Merge branch 'master' into docking inc alter GetWindowResizeID
# Conflicts:
# imgui.cpp
|
2019-11-18 13:58:50 +01:00 |
|
omar
|
ca30ef4269
|
Drag and drop: Increase local payload buffer from 8 to 16 bytes.
|
2019-11-15 18:36:06 +01:00 |
|
omar
|
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().
|
2019-11-15 16:59:43 +01:00 |
|
omar
|
a1e43c682a
|
Merge branch 'master' into docking (with fixes)
# Conflicts:
# imgui.cpp
# imgui_internal.h
|
2019-11-15 15:32:36 +01:00 |
|
Tracy Ma
|
8f40020ca6
|
Disable Win32 clipboard and IME functions when build target UWP (#2892, #2895)
|
2019-11-15 12:19:44 +01:00 |
|
omar
|
be05e12e21
|
Misc: Using static_assert() when using C++11, instead of our own construct (avoid zealous Clang warnings).
|
2019-11-14 18:02:18 +01:00 |
|
omar
|
b23dcab6e1
|
Fix 25eee91 incorrect assert when ending a child-popup (rarely used but used by sub-nenus)
|
2019-11-14 16:06:39 +01:00 |
|
omar
|
be436e2b0b
|
Fix HelpMarker() symbol collision for unity builds (#2893)
|
2019-11-13 22:04:16 +01:00 |
|
omar
|
03852470de
|
Internals: Routing recoverable user errors via IMGUI_USER_ERROR() macro. (#1651)
|
2019-11-13 21:58:18 +01:00 |
|
omar
|
25eee91542
|
Error handling: Assert if user mistakenly calls End() instead of EndChild() on a child window. (#1651)
Internals: Moved some error handling code.
|
2019-11-13 21:51:38 +01:00 |
|
omar
|
b138f8cbcd
|
Internal: Nav rename preparing for nav inputs ownership changes. IsNavInputPressed() -> IsNavInputTest()
|
2019-11-13 21:02:25 +01:00 |
|
omar
|
7c441e37fa
|
CI: Update jobs to MacOS latest (Catalina)
Metrics: Added description to Item Picker.
|
2019-11-13 20:34:55 +01:00 |
|
omar
|
c3fd4ae473
|
Docking: comments
|
2019-11-12 11:06:02 +01:00 |
|
omar
|
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.
|
2019-11-08 19:01:54 +01:00 |
|
omar
|
69b5c2f541
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_internal.h
|
2019-11-08 15:45:12 +01:00 |
|
omar
|
57dc34f4e8
|
TreeNode: Added IsItemToggledOpen() to explicitly query if item was just open/closed, facilitating interactions with custom multi-selections patterns. (#1896, #1861)
|
2019-11-08 15:30:15 +01:00 |
|
omar
|
011d475532
|
TreeNode: The collapsing arrow accepts click even if modifier keys are being held, facilitating interactions with multi-select patterns. (#2886, #1896, #1861)
|
2019-11-08 15:30:15 +01:00 |
|
omar
|
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)
|
2019-11-08 15:00:28 +01:00 |
|
omar
|
d003674f2c
|
Internals: Added ImChunkStream, used by window settings. (more generic followup to 4c13807 , the class will be used more extensively by Tables)
|
2019-11-07 16:05:03 +01:00 |
|
omar
|
a337e219b6
|
Internals: ImPool: Renaming.
|
2019-11-07 16:04:51 +01:00 |
|
omar
|
28f1d60de1
|
Internals: Renaming + added ImStrSkipBlank() from docking branch.
(cherry picked from commit a573943fa0ce323ffb4080e57f5e8fe1bc777c36)
|
2019-11-06 23:37:35 +01:00 |
|
omar
|
09b2310237
|
Internals: Added index of helpers and shuffled a few things.
|
2019-11-06 20:37:47 +01:00 |
|
omar
|
4c13807b7d
|
Misc: Optimized storage of window settings data (reducing allocation count).
|
2019-11-05 22:43:53 +01:00 |
|
omar
|
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]
|
2019-11-05 12:53:30 +01:00 |
|
Konstantin Podsvirov
|
916487a653
|
example_emscripten: skip outdated compiler option
For more info see: https://github.com/ocornut/imgui/issues/2877
|
2019-11-05 12:43:15 +01:00 |
|
omar
|
bff2d5d5e2
|
Update README.md
|
2019-11-05 11:41:02 +01:00 |
|
omar
|
a704614b3e
|
Merge branch 'master' into docking
# Conflicts:
# imgui.cpp
# imgui_internal.h
# imgui_widgets.cpp
|
2019-11-04 16:33:57 +01:00 |
|
Rokas Kupstys
|
c9182424a8
|
Normalize all the line endings.
(cherry picked from commit f1772d44be09fd78bf5f1ebda44b39b96180d319)
|
2019-11-04 15:28:31 +01:00 |
|
Rokas Kupstys
|
c9ffa62e1f
|
Add .gitattributes with rules for line endings of files.
(cherry picked from commit f2a2be72b341f55c44a035b1257177d83489ea5c)
|
2019-11-04 15:28:25 +01:00 |
|
Rokas Kupstys
|
bcd752cfcc
|
CI: Fix emscripten builds after portable SDK archive became unavailable.
(cherry picked from commit 14b18697e653de80f75af18113033b2086846194)
|
2019-11-04 15:17:06 +01:00 |
|
omar
|
792a8631aa
|
Metrics: Expose basic details of each window key/value state storage.
|
2019-10-31 14:01:35 +01:00 |
|
omar
|
8fee5a4349
|
Internals: Renaming for consistency.
|
2019-10-31 11:15:40 +01:00 |
|
Rokas Kupstys
|
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.
(cherry picked from commit 6c0e1baca29b853586dadf75eb32ef75e2725f10)
|
2019-10-30 15:58:03 +01:00 |
|
Rokas Kupstys
|
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.
|
2019-10-30 15:58:03 +01:00 |
|
Rokas Kupstys
|
a4420be1a2
|
CI: Split builds of examples into separate jobs.
(cherry picked from commit ee73b1b5a47f176ab123239aa3cbcc2cdf284383)
|
2019-10-30 15:57:16 +01:00 |
|
Rokas Kupstys
|
9f979c33f4
|
CI: Fix builds failing because of missing v140 toolset and SDK on dx12 sample.
(cherry picked from commit 8d91a77e9b42eac7a6d7d28c8563ccc468842e8b)
|
2019-10-30 15:57:09 +01:00 |
|
omar
|
d62a413476
|
Misc: Windows: Do not use _wfopen() if IMGUI_DISABLE_WIN32_FUNCTIONS is defined. (#2815)
|
2019-10-29 21:47:43 +01:00 |
|
omar
|
6024051a2f
|
Viewport: Fixed 32380a0 (#2876)
|
2019-10-29 21:18:01 +01:00 |
|
omar
|
b3e94f5de8
|
Merge branch 'master' into docking
# Conflicts:
# examples/imgui_impl_opengl3.cpp
# imgui_widgets.cpp
|
2019-10-29 17:21:19 +01:00 |
|
stfx
|
6bf5aed325
|
Declaration and assignment can be joined, Member function may be 'const'. (#2875)
|
2019-10-29 17:11:49 +01:00 |
|
Rokas Kupstys
|
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)
|
2019-10-29 17:05:25 +01:00 |
|
omar
|
32380a0112
|
Viewport: Store current dpi scale in context.
|
2019-10-29 16:43:11 +01:00 |
|
Sam Hocevar
|
0b2d35f63f
|
Fix snprintf and vsnprintf definition inconsistencies.
|
2019-10-28 13:58:32 +01:00 |
|
omar
|
4e56de757c
|
Doc: Promote Discord over Discourse. Obsoleting Discourse server.
|
2019-10-25 15:36:37 +02:00 |
|
omar
|
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]
|
2019-10-25 11:56:44 +02:00 |
|