mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	Tidying up README, moved entries to FAQ, updated screenshots, removed comma in title.
This commit is contained in:
		
							
								
								
									
										20
									
								
								imgui.cpp
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								imgui.cpp
									
									
									
									
									
								
							| @@ -43,6 +43,7 @@ DOCUMENTATION | ||||
|   - How can I load multiple fonts? | ||||
|   - How can I display and input non-latin characters such as Chinese, Japanese, Korean, Cyrillic? | ||||
|   - How can I use the drawing facilities without an ImGui window? (using ImDrawList API) | ||||
|   - How can I use Dear ImGui on a platform that doesn't have a mouse or a keyboard? (input share, remoting, gamepad) | ||||
|   - I integrated Dear ImGui in my engine and the text or lines are blurry.. | ||||
|   - I integrated Dear ImGui in my engine and some elements are clipping or disappearing when I move windows around.. | ||||
|   - How can I help? | ||||
| @@ -818,8 +819,23 @@ CODE | ||||
|       (The ImGuiWindowFlags_NoDecoration flag itself is a shortcut for NoTitleBar | NoResize | NoScrollbar | NoCollapse) | ||||
|       Then you can retrieve the ImDrawList* via GetWindowDrawList() and draw to it in any way you like. | ||||
|     - You can call ImGui::GetOverlayDrawList() and use this draw list to display contents over every other imgui windows. | ||||
|     - You can create your own ImDrawList instance. You'll need to initialize them ImGui::GetDrawListSharedData(), or create your own ImDrawListSharedData, | ||||
|       and then call your rendered code with your own ImDrawList or ImDrawData data. | ||||
|     - You can create your own ImDrawList instance. You'll need to initialize them ImGui::GetDrawListSharedData(), or create   | ||||
|       your own ImDrawListSharedData, and then call your rendered code with your own ImDrawList or ImDrawData data. | ||||
|  | ||||
|  Q: How can I use this without a mouse, without a keyboard or without a screen? (gamepad, input share, remote display) | ||||
|  A: - You can control Dear ImGui with a gamepad. Read about navigation in "Using gamepad/keyboard navigation controls". | ||||
|       (short version: map gamepad inputs into the io.NavInputs[] array + set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad) | ||||
|     - You can share your computer mouse seamlessly with your console/tablet/phone using Synergy (https://symless.com/synergy)  | ||||
|       This is the preferred solution for developer productivity.  | ||||
|       In particular, the "micro-synergy-client" repository (https://github.com/symless/micro-synergy-client) has simple | ||||
|       and portable source code (uSynergy.c/.h) for a small embeddable client that you can use on any platform to connect  | ||||
|       to your host computer, based on the Synergy 1.x protocol. Make sure you download the Synergy 1 server on your computer. | ||||
|       Console SDK also sometimes provide equivalent tooling or wrapper for Synergy-like protocols. | ||||
|     - You may also use a third party solution such as Remote ImGui (https://github.com/JordiRos/remoteimgui) which sends  | ||||
|       the vertices to render over the local network, allowing you to use Dear ImGui even on a screen-less machine. | ||||
|     - For touch inputs, you can increase the hit box of widgets (via the style.TouchPadding setting) to accommodate  | ||||
|       for the lack of precision of touch inputs, but it is recommended you use a mouse or gamepad to allow optimizing | ||||
|       for screen real-estate and precision. | ||||
|  | ||||
|  Q: I integrated Dear ImGui in my engine and the text or lines are blurry.. | ||||
|  A: In your Render function, try translating your projection matrix by (0.5f,0.5f) or (0.375f,0.375f). | ||||
|   | ||||
		Reference in New Issue
	
	Block a user