public |
Inheritance Graph
graph BT
Connector
Connector --> Container
click Connector "classGUI_1_1Connector"
click Container "classGUI_1_1Container"
Description
Classes
class | GUI::Connector::ConnectorPoint |
Protected Attributes
Util::Reference < Component > | firstComponent |
Util::Reference < Component > | secondComponent |
Public Static Functions
void | findConnectors( Container * container, const Component * endpoint, std::list< Connector * > & connectors) |
Public Functions
Connector( GUI_Manager & gui, flag_t flags) | |
~Connector() | |
void | doLayout() |
bool | coversLocalPosition(const Geometry::Vec2 & pos) |
float | getLength() const |
void | addConnectorPoint() |
Component * | getFirstComponent() const |
Component * | getSecondComponent() const |
void | setFirstComponent( Component * c) |
void | setSecondComponent( Component * c) |
Documentation
variable
GUI::Connector::firstComponent
protected |
Util::Reference < Component > firstComponent |
Defined in GUI/Components/Connector.h:64
variable
GUI::Connector::secondComponent
protected |
Util::Reference < Component > secondComponent |
Defined in GUI/Components/Connector.h:65
function
GUI::Connector::findConnectors
public | static |
void findConnectors( | Container * | container, |
const Component * | endpoint, | |
std::list< Connector * > & | connectors | |
) |
Find all Connectors in container which are connected the Component enpoint on one side.
Defined in GUI/Components/Connector.h:26
function
GUI::Connector::Connector
public |
Connector( | GUI_Manager & | gui, |
flag_t | flags | |
) |
Defined in GUI/Components/Connector.h:29
function
GUI::Connector::~Connector
public | virtual |
~Connector( | ) |
Defined in GUI/Components/Connector.h:30
function
GUI::Connector::doLayout
public | virtual |
void doLayout( | ) |
Defined in GUI/Components/Connector.h:33
function
GUI::Connector::coversLocalPosition
public | virtual |
bool coversLocalPosition( | const Geometry::Vec2 & | pos ) |
Defined in GUI/Components/Connector.h:34
function
GUI::Connector::getLength
public | const |
float getLength( | ) const |
Defined in GUI/Components/Connector.h:42
function
GUI::Connector::addConnectorPoint
public |
void addConnectorPoint( | ) |
Defined in GUI/Components/Connector.h:43
function
GUI::Connector::getFirstComponent
public | const | inline |
Component * getFirstComponent( | ) const |
Defined in GUI/Components/Connector.h:45
function
GUI::Connector::getSecondComponent
public | const | inline |
Component * getSecondComponent( | ) const |
Defined in GUI/Components/Connector.h:46
function
GUI::Connector::setFirstComponent
public | inline |
void setFirstComponent( | Component * | c ) |
Defined in GUI/Components/Connector.h:47
function
GUI::Connector::setSecondComponent
public | inline |
void setSecondComponent( | Component * | c ) |
Defined in GUI/Components/Connector.h:48