bWidgets
Core widget toolkit designed for Blender
Drawer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <stack>
4
5
#include "
bwRectangle.h
"
6
7
namespace
bWidgets
{
8
9
class
bwStyle;
10
11
namespace
bwScreenGraph {
12
class
ScreenGraph;
13
class
Node;
14
15
class
Drawer
{
16
public
:
17
static
void
draw
(
ScreenGraph
& screen_graph,
bwStyle
& style);
18
static
void
drawSubtree
(
Node
& subtree_root,
bwStyle
& style);
19
20
private
:
21
Drawer
(
bwStyle
& style);
22
23
void
drawSubtreeRecursive(
Node
& subtree_root);
24
void
drawNode(
Node
& node);
25
void
pushMask(
const
Node
& node);
26
void
popMask();
27
28
bwStyle
& style;
29
std::stack<bwRectanglePixel> maskrect_stack;
30
};
31
32
}
// namespace bwScreenGraph
33
}
// namespace bWidgets
bwRectangle.h
bWidgets::bwScreenGraph::Drawer
Definition:
Drawer.h:15
bWidgets::bwScreenGraph::Drawer::draw
static void draw(ScreenGraph &screen_graph, bwStyle &style)
Definition:
Drawer.cc:17
bWidgets::bwScreenGraph::Drawer::drawSubtree
static void drawSubtree(Node &subtree_root, bwStyle &style)
Definition:
Drawer.cc:23
bWidgets::bwScreenGraph::Node
The base data-structure for a screen-graph node.
Definition:
Node.h:36
bWidgets::bwScreenGraph::ScreenGraph
Definition:
ScreenGraph.h:12
bWidgets::bwStyle
Definition:
bwStyle.h:10
bWidgets
Definition:
bwContext.h:3
bwidgets
screen_graph
Drawer.h
Generated by
1.9.3