mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 05:01:05 +01:00 
			
		
		
		
	Added TextDisabled(), TextDisabledV() helpers.
This commit is contained in:
		
							
								
								
									
										2
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								imgui.h
									
									
									
									
									
								
							| @@ -215,6 +215,8 @@ namespace ImGui | ||||
|     IMGUI_API void          TextV(const char* fmt, va_list args); | ||||
|     IMGUI_API void          TextColored(const ImVec4& col, const char* fmt, ...);               // shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); | ||||
|     IMGUI_API void          TextColoredV(const ImVec4& col, const char* fmt, va_list args); | ||||
|     IMGUI_API void          TextDisabled(const char* fmt, ...);                                 // shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); | ||||
|     IMGUI_API void          TextDisabledV(const char* fmt, va_list args); | ||||
|     IMGUI_API void          TextWrapped(const char* fmt, ...);                                  // shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos(); | ||||
|     IMGUI_API void          TextWrappedV(const char* fmt, va_list args); | ||||
|     IMGUI_API void          TextUnformatted(const char* text, const char* text_end = NULL);     // doesn't require null terminated string if 'text_end' is specified. no copy done to any bounded stack buffer, recommended for long chunks of text | ||||
|   | ||||
		Reference in New Issue
	
	Block a user