bWidgets
Core widget toolkit designed for Blender
bWidgets::bwScreenGraph Namespace Reference

Classes

class  Builder
 Helper class to construct screen-graphs. More...
 
class  ContainerNode
 Node representing a widget with children. More...
 
class  Drawer
 
class  EventHandler
 API for registering and calling event-listeners. More...
 
class  LayoutNode
 Node for aligning children to a specific layout. More...
 
class  Node
 The base data-structure for a screen-graph node. More...
 
class  PreOrderIterator
 Iterator for pre-order (depth-first) traversal. More...
 
class  ScreenGraph
 
class  WidgetNode
 Node representing a single widget with no children. More...
 

Typedefs

using EventListener = std::function< void(Node &)>
 

Functions

auto begin (Node &node) -> PreOrderIterator
 
auto end (Node &) -> PreOrderIterator
 
auto begin (ScreenGraph &screen_graph) -> PreOrderIterator
 
auto end (ScreenGraph &screen_graph) -> PreOrderIterator
 

Typedef Documentation

◆ EventListener

using bWidgets::bwScreenGraph::EventListener = typedef std::function<void(Node&)>

Function Documentation

◆ begin() [1/2]

auto bWidgets::bwScreenGraph::begin ( Node node) -> PreOrderIterator

◆ begin() [2/2]

auto bWidgets::bwScreenGraph::begin ( ScreenGraph screen_graph) -> PreOrderIterator

◆ end() [1/2]

auto bWidgets::bwScreenGraph::end ( Node ) -> PreOrderIterator

◆ end() [2/2]

auto bWidgets::bwScreenGraph::end ( ScreenGraph screen_graph) -> PreOrderIterator