mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-03 22:51:06 +01:00 
			
		
		
		
	Nav: Added a CTRL+TAB window list and changed the highlight system accordingly. (#787)
This commit is contained in:
		
							
								
								
									
										6
									
								
								imgui.h
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								imgui.h
									
									
									
									
									
								
							@@ -921,15 +921,17 @@ enum ImGuiCol_
 | 
			
		||||
    ImGuiCol_PlotHistogram,
 | 
			
		||||
    ImGuiCol_PlotHistogramHovered,
 | 
			
		||||
    ImGuiCol_TextSelectedBg,
 | 
			
		||||
    ImGuiCol_ModalWindowDarkening,  // Darken/colorize entire screen behind a modal window, when one is active
 | 
			
		||||
    ImGuiCol_DragDropTarget,
 | 
			
		||||
    ImGuiCol_NavHighlight,          // Gamepad/keyboard: current highlighted item
 | 
			
		||||
    ImGuiCol_NavWindowingHighlight, // Gamepad/keyboard: when holding NavMenu to focus/move/resize windows
 | 
			
		||||
    ImGuiCol_NavWindowListHighlight,// Highlight window when using CTRL+TAB
 | 
			
		||||
    ImGuiCol_NavWindowListDimBg,    // Darken/colorize entire screen behind the CTRL+TAB window list, when active
 | 
			
		||||
    ImGuiCol_ModalWindowDimBg,      // Darken/colorize entire screen behind a modal window, when one is active
 | 
			
		||||
    ImGuiCol_COUNT
 | 
			
		||||
 | 
			
		||||
    // Obsolete names (will be removed)
 | 
			
		||||
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
 | 
			
		||||
    , ImGuiCol_ChildWindowBg = ImGuiCol_ChildBg, ImGuiCol_Column = ImGuiCol_Separator, ImGuiCol_ColumnHovered = ImGuiCol_SeparatorHovered, ImGuiCol_ColumnActive = ImGuiCol_SeparatorActive
 | 
			
		||||
    , ImGuiCol_ModalWindowDarkening = ImGuiCol_ModalWindowDimBg
 | 
			
		||||
    //ImGuiCol_CloseButton, ImGuiCol_CloseButtonActive, ImGuiCol_CloseButtonHovered, // [unused since 1.60+] the close button now uses regular button colors.
 | 
			
		||||
    //ImGuiCol_ComboBg,                                                              // [unused since 1.53+] ComboBg has been merged with PopupBg, so a redirect isn't accurate.
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user