HDK
|
#include <OP_Layout.h>
Public Member Functions | |
OP_Layout (OP_Network *net, enum OP_LayoutSort sorted=OP_LAYOUT_SORT_NONE) | |
~OP_Layout () | |
void | addLayoutItem (OP_NetworkBoxItem *item, int selected=-1) |
void | layoutOps (OP_LayoutDirection direction, OP_NetworkBoxItem *currentItem, bool currentTreeOnly=false, bool selectedOnly=false, bool stagger=true, fpreal child_space_factor=-1, fpreal parent_space_factor=-1, bool snapGrid=false, fpreal gridSizeX=0, fpreal gridSizeY=0) |
Definition at line 58 of file OP_Layout.h.
OP_Layout::OP_Layout | ( | OP_Network * | net, |
enum OP_LayoutSort | sorted = OP_LAYOUT_SORT_NONE |
||
) |
OP_Layout::~OP_Layout | ( | ) |
void OP_Layout::addLayoutItem | ( | OP_NetworkBoxItem * | item, |
int | selected = -1 |
||
) |
void OP_Layout::layoutOps | ( | OP_LayoutDirection | direction, |
OP_NetworkBoxItem * | currentItem, | ||
bool | currentTreeOnly = false , |
||
bool | selectedOnly = false , |
||
bool | stagger = true , |
||
fpreal | child_space_factor = -1 , |
||
fpreal | parent_space_factor = -1 , |
||
bool | snapGrid = false , |
||
fpreal | gridSizeX = 0 , |
||
fpreal | gridSizeY = 0 |
||
) |