* WIP: update to latest egui
* Update egui git hash
* Update examples
* Example style editor: make color pickers into popups
* Nicer style editor
* Simplify the tab painting, and make it look better
* simplify code
* Add hline_color
* Add ability to control text color of active tabs
* Document Node::Lead
* Derive clone
* Code cleanup
* Bug fix: show grab cursor preview when hovering a tab
* Add TabViewer::on_tab_button to let users listen for clicks etc
* use same resize colors as egui
* Update to egui 0.21.0
* Don't force default_fonts onto users of egui_dock
* Update changelog
* Example style editor: make color pickers into popups
* Simplify the tab painting, and make it look better
* simplify code
* Add hline_color
* Add ability to control text color of active tabs
* By default, connect the tab name and the tab contents
* Fix doclink
* Code cleanup
* Bug fix: show grab cursor preview when hovering a tab
* Make response mut
* Added ability to remove tab (using logic from render)
* Simplify `Tree::remove_Tab`
* Updated changelog, added view menu to 'hello' example to demonstrate tabs that can be toggled with remove_tab/push_to_focused_leaf
* Documented remove_tab function, fixed clippy issues
Co-authored-by: Andrew J Westlake <awestlake87@yahoo.com>
Co-authored-by: Adanos020 <adanos020@gmail.com>
* Change separator color on hover and drag
* Document what Style::from_egui does
* Update changelog
* Replace glob `use` statements with specific imports
* Added basic context menus
* Added a default close option in the context menu
* changed the example a bit
* removed useless format!
* added show_context_menu to Style and StyleBuilder, changed example and fixed typo
* Changed documentation
* minor formating changes
* Refactor: TabViewer
* Fix examples
* buildfix
* Implement Default for all Tree:s
* Fix doclinks and main example
* Remove example from README.md
Better to just have the one in the docs, which is tested
* Update changelog
* Document `fn find_tab`
* Expand changelog
* added ability to close and insert tabs
added option to have a close tab button.
the tab binary tree will keep track of the current "focused" leaf.
adding new tabs will automatically insert them into the currently focused leaf and select them.
* made DockArea to prevent invalidation of Tree
* changed default closing behavior
made it so tabs will always close when the user presses the close button by default
* Updated Documentation and TabBuilder
* Replace Option::Some with Some and Option::None with None
* Code Updates/Fixes
replaced lines 303-308 in src/lib.rs with updated code
replaced lines 195-206 in src/style.rs with updated code
replaced lines 247-253 in src/style.rs with updated code
* fixed formatting
* Documentation / Examples / Fix
Added documentation for DockArea.
Updated CHANGELOG.md
Updated README.md
added an example for using the Tab trait directly
Clarified / updated documentation / comments
Changed it so tab.force_close is called after tab.ui
Added ui.push_id to prevent tabs from having id clashes
* resolved clippy error
* Apply requested changes
* Add `Style` to imports in code example.
Co-authored-by: Adanos020 <adanos020@gmail.com>