mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 13:11:05 +01:00 
			
		
		
		
	Added GetCursorStartPos() necessary for using scroll target relative to beginning of window content (#150)
This commit is contained in:
		
							
								
								
									
										1
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								imgui.h
									
									
									
									
									
								
							| @@ -201,6 +201,7 @@ namespace ImGui | ||||
|     IMGUI_API void          SetCursorPos(const ImVec2& pos);                                    // " | ||||
|     IMGUI_API void          SetCursorPosX(float x);                                             // " | ||||
|     IMGUI_API void          SetCursorPosY(float y);                                             // " | ||||
|     IMGUI_API ImVec2        GetCursorStartPos();                                                // initial cursor position  | ||||
|     IMGUI_API ImVec2        GetCursorScreenPos();                                               // cursor position in absolute screen coordinates [0..io.DisplaySize] | ||||
|     IMGUI_API void          SetCursorScreenPos(const ImVec2& pos);                              // cursor position in absolute screen coordinates [0..io.DisplaySize] | ||||
|     IMGUI_API void          AlignFirstTextHeightToWidgets();                                    // call once if the first item on the line is a Text() item and you want to vertically lower it to match subsequent (bigger) widgets | ||||
|   | ||||
		Reference in New Issue
	
	Block a user