bWidgets
Core widget toolkit designed for Blender
bWidgets::bwScreenGraph::WidgetNode Class Reference

Node representing a single widget with no children. More...

#include <Node.h>

+ Inheritance diagram for bWidgets::bwScreenGraph::WidgetNode:
+ Collaboration diagram for bWidgets::bwScreenGraph::WidgetNode:

Public Member Functions

auto Widget () const -> bwWidget *override
 
auto Rectangle () const -> bwRectanglePixel override
 
auto MaskRectangle () const -> std::optional< bwRectanglePixel > override
 
auto isVisible () const -> bool override
 
- Public Member Functions inherited from bWidgets::bwScreenGraph::Node
 Node ()=default
 
virtual ~Node ()=default
 
virtual auto Children () const -> const ChildList *
 
virtual auto Children () -> ChildList *
 
virtual auto childrenVisible () const -> bool
 
virtual auto Layout () const -> bwLayoutInterface *
 
virtual auto Widget () const -> bwWidget *
 
auto Parent () const -> Node *
 
auto eventHandler () const -> EventHandler *
 
virtual auto Rectangle () const -> bwRectanglePixel=0
 
virtual auto MaskRectangle () const -> std::optional< bwRectanglePixel >=0
 
virtual auto isVisible () const -> bool=0
 

Friends

class Builder
 

Additional Inherited Members

- Public Types inherited from bWidgets::bwScreenGraph::Node
using ChildList = std::list< std::unique_ptr< Node > >
 
using ChildIterator = ChildList::iterator
 

Detailed Description

Node representing a single widget with no children.

Member Function Documentation

◆ isVisible()

auto bWidgets::bwScreenGraph::WidgetNode::isVisible ( ) const -> bool
inlineoverridevirtual

◆ MaskRectangle()

auto bWidgets::bwScreenGraph::WidgetNode::MaskRectangle ( ) const -> std::optional<bwRectanglePixel>
inlineoverridevirtual

◆ Rectangle()

auto bWidgets::bwScreenGraph::WidgetNode::Rectangle ( ) const -> bwRectanglePixel
inlineoverridevirtual

◆ Widget()

auto bWidgets::bwScreenGraph::WidgetNode::Widget ( ) const -> bwWidget*
inlineoverridevirtual

Friends And Related Function Documentation

◆ Builder

friend class Builder
friend

The documentation for this class was generated from the following file: