Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function key #2280

Closed
wants to merge 535 commits into from
Closed

function key #2280

wants to merge 535 commits into from

Conversation

labienus9
Copy link

Hi,

Is it possible to add function key in enum ImGuiKey_ like ImGuiKey_F1, .....

Thanks for this wonderful library

# Conflicts:
#	imgui.cpp
# Conflicts:
#	imgui.cpp
# Conflicts:
#	imgui.cpp
…mesForResize) preserve their SizeContents, so restoring a auto-resize window after it's been hidden by tabs won't reset its size for a frame. Arguable. Let's see how it goes. (Followup to b48e295bddbf965d7382ec5578ed05d2fe601114)
…eting some values earlier in Begin. Added IMGUI_DEBUG_LOG() helper. Added docking source code section.
…coming code (otherwise git gives us a messier patch).
# Conflicts:
#	examples/example_glfw_opengl2/main.cpp
#	examples/example_glfw_opengl3/main.cpp
#	examples/example_glfw_vulkan/main.cpp
#	examples/example_sdl_opengl3/main.cpp
#	examples/example_sdl_vulkan/main.cpp
#	examples/example_win32_directx10/main.cpp
#	examples/example_win32_directx11/main.cpp
#	examples/example_win32_directx12/main.cpp
#	imgui.cpp
#	imgui.h
#	imgui_demo.cpp
#	imgui_internal.h
…pace and window merging. Added DockSpace() flag ImGuiDockFlags_NoSplit. Renaming. Reworked the DockNodeUpdateFindOnlyNodeWithWindows code so DockNodeUpdate can access the first window.
…ked() will need to use it. Extracted some code into a DockNodeIsDropAllowedOne() function. Comments.
…being restoring focus properly after the main menu bar or last focused window is deactivated.
…ce() skips node update if already submitted (when transitioning from implicit -> explicit DockSpace).
…t_KeyMenu_). Cancelling out on platform window. close request. (#1542, #787)
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
…t_KeyMenu_). Cancelling out on platform window. close request. (#1542, #787)
…ple level of tabs. (also renamed ImGuiDockFlags to ImGuiDockSpaceFlags.)
…es() to transfer the LastExplicitSize value (was inconsequential afaik).
…in particular would be noticeable when using nested tab bars.
…akenly destroying the platform window because the upcoming tab isn't visible and triggers viewport GC. Fixed missing title bar data on recreate window.
…hen viewport are disabled. Also made the DestroyPlatformWindow process more sturdy. (#1542)
# Conflicts:
#	examples/imgui_impl_dx9.cpp
#	examples/imgui_impl_opengl2.cpp
#	examples/imgui_impl_opengl3.cpp
#	examples/imgui_impl_vulkan.cpp
…n Begin(). Moved code in UpdateViewportsEndFrame() before we introduce family/class based overrides.
…k Win32 code to reflect viewport flags changes into Win32 while the window is active.
…s to return Windows using ImGuiViewportFlags_NoInputs / HTTRANSPARENT when dragging nearby the platform title bar. This is to allow using platform decoration. I don't understand this well atm. (#1542)
…cy. (function vs member are still horribly inconsistent atm)
…rted from Docking ImGuiDockFamily), which currently allows to overwrite viewport flags on a per-window basis. Exposed FindViewportByID(). Win32: Support for ParentViewportId. (#1542)
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
# Conflicts:
#	imgui.cpp
#	imgui_internal.h
# Conflicts:
#	imgui.cpp
…tted from platform_io.Viewport list where the users assume it is at index 0. Fix d8ab2c1. It wasn't a problem when other viewports were child of the main viewport because they would all be minimized together. (#1542)
…ack-end forcing a parent/child relationship between secondary viewports and the main viewport have hidden this issue). Follows d8ab2c1.
… NULL and not main viewport. Fix eg.. popups appearing erroneously focusing parent window.
…w io.ConfigViewportsXXX flags. Pay attention that ImGuiConfigFlags_ViewportsDecoration became ConfigViewportsNoDecoeration, so the value is inverted! (#1542)
# Conflicts:
#	docs/CHANGELOG.txt
#	imgui.cpp
#	imgui_demo.cpp
…nly docked window of a root dockspace with ConfigDockingTabBarOnSingleWindows enabled.
# Conflicts:
#	imgui.cpp
#	imgui.h
#	imgui_internal.h
# Conflicts:
#	imgui_internal.h
#	imgui_widgets.cpp
# Conflicts:
#	imgui.cpp
#	imgui.h
# Conflicts:
#	imgui.cpp
…dockspace leading to the central node tag being incorrectly carried along. (#2109)
@ocornut
Copy link
Owner

ocornut commented Jan 15, 2019

Hello,
Yes it should be done eventually.

@ocornut ocornut closed this Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants