added treebox use_entire_line mode

Added new interaction/display mode to treebox control.
Enabling use_entire_line the entire line of the treebox/child is used for mouse interactions and display purposes.
This commit is contained in:
besh81
2020-02-07 13:06:34 +01:00
parent 1a91511d64
commit add0af843e
2 changed files with 28 additions and 3 deletions

View File

@@ -492,6 +492,14 @@ namespace nana
/// Gets the current hovered node.
item_proxy hovered(bool exclude_expander) const;
/// Enable/disable the interactions (selection, click, ...) on the entire line of the treebox.
/**
* @param enable bool whether to enable.
*/
void use_entire_line(bool enable);
private:
std::shared_ptr<scroll_operation_interface> _m_scroll_operation() override;