Commit a8fb65b4 authored by Christoffer Ackelman's avatar Christoffer Ackelman

Glow: Removed empty function.

parent d3fce4b2
......@@ -1250,13 +1250,6 @@ void GlowArray::conpoint_refcon_redraw(void* node, int conpoint)
}
}
void GlowArray::conpoint_refcon_erase(void* node, int conpoint)
{
for (int i = 0; i < a_size; i++) {
a[i]->conpoint_refcon_redraw(node, conpoint);
}
}
void GlowArray::set_inverse(int on)
{
for (int i = 0; i < a_size; i++) {
......
......@@ -177,7 +177,6 @@ public:
void move(double delta_x, double delta_y, int grid);
void move_noerase(int delta_x, int delta_y, int grid);
void conpoint_refcon_redraw(void* node, int conpoint);
void conpoint_refcon_erase(void* node, int conpoint);
void set_inverse(int on);
void configure();
int brow_insert(
......
......@@ -167,7 +167,6 @@ public:
return 0;
}
virtual void conpoint_refcon_redraw(void* node, int conpoint){}
virtual void conpoint_refcon_erase(void* node, int conpoint){}
virtual void remove_notify(){}
virtual void set_user_data(void* data){}
virtual void get_user_data(void** data){}
......
......@@ -3222,11 +3222,6 @@ void GlowCon::move_ref(double x1, double y1, double x2, double y2)
}
}
void GlowCon::conpoint_refcon_erase(void* node, int conpoint)
{
ctx->set_dirty();
}
void GlowCon::conpoint_refcon_redraw(void* node, int conpoint)
{
double x1, y1, x2, y2;
......
......@@ -259,7 +259,6 @@ public:
double src_x, double src_y, glow_eDirection src_dir);
void move_ref(double x1, double y1, double x2, double y2);
void conpoint_refcon_redraw(void* node, int conpoint);
void conpoint_refcon_erase(void* node, int conpoint);
void remove_notify();
int ideal_line_cnt;
int current_line_cnt;
......
......@@ -709,16 +709,6 @@ public:
a.conpoint_refcon_redraw(node, conpoint);
}
//! Erase the reference connections for a specific node and connection point.
/*!
\param node Node.
\param conpoint Connection point number.
*/
void conpoint_refcon_erase(void* node, int conpoint)
{
a.conpoint_refcon_erase(node, conpoint);
}
//! Get object from name.
/*!
\param name Object name.
......
......@@ -383,7 +383,6 @@ void GlowNode::get_annotation(int num, char* text, int size)
void GlowNode::conpoint_refcon_reconfig(int conpoint)
{
// ctx->conpoint_refcon_erase( this, conpoint);
refcon_cnt[conpoint] = 0;
ctx->conpoint_refcon_redraw(this, conpoint);
}
......
......@@ -264,7 +264,6 @@ public:
void conpoint_refcon_reconfig(int conpoint);
void conpoint_refcon_redraw(void* node, int conpoint){}
void conpoint_refcon_erase(void* node, int conpoint){}
void remove_notify();
void* user_data; //!< User data.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment