mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-30 20:51:06 +01:00 
			
		
		
		
	Added BETA api for Tab Bar/Tabs widgets. (#261, #351) (merged this feature from the from Docking branch so it can be used earlier as as standalone feature)
- Added BeginTabBar(), EndTabBar(), BeginTabItem(), EndTabItem(), SetTabItemClosed() API. - Added ImGuiTabBarFlags flags for BeginTabBar(). - Added ImGuiTabItemFlags flags for BeginTabItem(). - Style: Added ImGuiCol_Tab, ImGuiCol_TabHovered, ImGuiCol_TabActive, ImGuiCol_TabUnfocused, ImGuiCol_TabUnfocusedActive colors. - Demo: Added Layout->Tabs demo code. - Demo: Added "Documents" example app showcasing possible use for tabs.
This commit is contained in:
		| @@ -127,7 +127,8 @@ It's mostly a bunch of personal notes, probably incomplete. Feel free to query i | ||||
|  - dock: docking extension | ||||
|  - dock: dock out from a collapsing header? would work nicely but need emitting window to keep submitting the code. | ||||
|  | ||||
|  - tabs: re-ordering, close buttons, context menu, persistent order (#261, #351) | ||||
|  - tabs: make EndTabBar fail if users doesn't respect BeginTabBar return value, for consistency/future-proofing. | ||||
|  - tabs: persistent order/focus in BeginTabBar() api (#261, #351) | ||||
|  | ||||
|  - ext: stl-ish friendly extension (imgui_stl.h) that has wrapper for std::string, std::vector etc. | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user