

Public Member Functions | |
| ConnectionRenderer (GraphEditor *parentEditor, BMessage *forContainer) | |
| virtual void | Draw (BView *drawOn, BRect updateRect) |
| virtual void | MouseDown (BPoint where) |
| virtual void | MouseUp (BPoint where) |
| virtual void | MouseMoved (BPoint pt, uint32 code, const BMessage *msg) |
| virtual void | LanguageChanged () |
| virtual void | MessageReceived (BMessage *message) |
| virtual void | ValueChanged (void) |
| virtual void | SetFrame (BRect newFrame) |
| virtual BRect | Frame (void) |
| virtual void | MoveBy (float dx, float dy) |
| virtual void | ResizeBy (float dx, float dy) |
| virtual bool | Selected (void) |
| virtual bool | Caught (BPoint where) |
Protected Member Functions | |
| void | Init () |
| void | CalcLine () |
| void | DrawStraight (BView *drawOn, BRect updateRect) |
| void | DrawBended (BView *drawOn, BRect updateRect) |
| void | DrawAngled (BView *drawOn, BRect updateRect) |
| bool | CaughtStraigt (BPoint where) |
| bool | CaughtBended (BPoint where) |
| bool | CaughtAngled (BPoint where) |
Protected Attributes | |
| bool | selected |
| BPoint | first |
| BPoint | second |
| BPoint | third |
| rgb_color | fillColor |
| ClassRenderer * | from |
| ClassRenderer * | to |
| BPoint | fromPoint |
| BPoint | toPoint |
| BPoint | firstBend |
| BPoint | secondBend |
| bool | mirrorX |
| bool | mirrorY |
| double | alpha |
| double | ax |
| double | mx |
| double | ay |
| double | my |
| PDocument * | doc |
| BMessenger * | sentTo |
| uint | connectionType |
| ConnectionRenderer::ConnectionRenderer | ( | GraphEditor * | parentEditor, | |
| BMessage * | forContainer | |||
| ) |
| void ConnectionRenderer::CalcLine | ( | ) | [protected] |
| bool ConnectionRenderer::Caught | ( | BPoint | where | ) | [virtual] |
Implements Renderer.
| bool ConnectionRenderer::CaughtAngled | ( | BPoint | where | ) | [protected] |
| bool ConnectionRenderer::CaughtBended | ( | BPoint | where | ) | [protected] |
| bool ConnectionRenderer::CaughtStraigt | ( | BPoint | where | ) | [protected] |
| void ConnectionRenderer::Draw | ( | BView * | drawOn, | |
| BRect | updateRect | |||
| ) | [virtual] |
Implements Renderer.
| void ConnectionRenderer::DrawAngled | ( | BView * | drawOn, | |
| BRect | updateRect | |||
| ) | [protected] |
| void ConnectionRenderer::DrawBended | ( | BView * | drawOn, | |
| BRect | updateRect | |||
| ) | [protected] |
| void ConnectionRenderer::DrawStraight | ( | BView * | drawOn, | |
| BRect | updateRect | |||
| ) | [protected] |
| BRect ConnectionRenderer::Frame | ( | void | ) | [virtual] |
Implements Renderer.
| void ConnectionRenderer::Init | ( | ) | [protected] |
| void ConnectionRenderer::LanguageChanged | ( | ) | [virtual] |
| void ConnectionRenderer::MessageReceived | ( | BMessage * | message | ) | [virtual] |
| void ConnectionRenderer::MouseDown | ( | BPoint | where | ) | [virtual] |
Implements Renderer.
| void ConnectionRenderer::MouseMoved | ( | BPoint | pt, | |
| uint32 | code, | |||
| const BMessage * | msg | |||
| ) | [virtual] |
Implements Renderer.
| void ConnectionRenderer::MouseUp | ( | BPoint | where | ) | [virtual] |
Implements Renderer.
| virtual void ConnectionRenderer::MoveBy | ( | float | dx, | |
| float | dy | |||
| ) | [inline, virtual] |
Implements Renderer.
| virtual void ConnectionRenderer::ResizeBy | ( | float | dx, | |
| float | dy | |||
| ) | [inline, virtual] |
Implements Renderer.
| virtual bool ConnectionRenderer::Selected | ( | void | ) | [inline, virtual] |
Implements Renderer.
| virtual void ConnectionRenderer::SetFrame | ( | BRect | newFrame | ) | [inline, virtual] |
Implements Renderer.
| void ConnectionRenderer::ValueChanged | ( | void | ) | [virtual] |
Implements Renderer.
double ConnectionRenderer::alpha [protected] |
double ConnectionRenderer::ax [protected] |
double ConnectionRenderer::ay [protected] |
uint ConnectionRenderer::connectionType [protected] |
PDocument* ConnectionRenderer::doc [protected] |
rgb_color ConnectionRenderer::fillColor [protected] |
BPoint ConnectionRenderer::first [protected] |
BPoint ConnectionRenderer::firstBend [protected] |
ClassRenderer* ConnectionRenderer::from [protected] |
BPoint ConnectionRenderer::fromPoint [protected] |
bool ConnectionRenderer::mirrorX [protected] |
bool ConnectionRenderer::mirrorY [protected] |
double ConnectionRenderer::mx [protected] |
double ConnectionRenderer::my [protected] |
BPoint ConnectionRenderer::second [protected] |
BPoint ConnectionRenderer::secondBend [protected] |
bool ConnectionRenderer::selected [protected] |
BMessenger* ConnectionRenderer::sentTo [protected] |
BPoint ConnectionRenderer::third [protected] |
ClassRenderer* ConnectionRenderer::to [protected] |
BPoint ConnectionRenderer::toPoint [protected] |
1.5.9