summaryrefslogtreecommitdiff
path: root/src/c_fl_chart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_chart.cpp')
-rw-r--r--src/c_fl_chart.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/c_fl_chart.cpp b/src/c_fl_chart.cpp
index 56bfb80..c065327 100644
--- a/src/c_fl_chart.cpp
+++ b/src/c_fl_chart.cpp
@@ -50,102 +50,102 @@ CHART new_fl_chart(int x, int y, int w, int h, char* label) {
}
void free_fl_chart(CHART b) {
- delete reinterpret_cast<My_Chart*>(b);
+ delete static_cast<My_Chart*>(b);
}
void fl_chart_add(CHART b, double v, char * s, unsigned int c) {
- reinterpret_cast<Fl_Chart*>(b)->add(v,s,c);
+ static_cast<Fl_Chart*>(b)->add(v,s,c);
}
void fl_chart_insert(CHART b, int i, double v, char * s, unsigned int c) {
- reinterpret_cast<Fl_Chart*>(b)->insert(i,v,s,c);
+ static_cast<Fl_Chart*>(b)->insert(i,v,s,c);
}
void fl_chart_replace(CHART b, int i, double v, char * s, unsigned int c) {
- reinterpret_cast<Fl_Chart*>(b)->replace(i,v,s,c);
+ static_cast<Fl_Chart*>(b)->replace(i,v,s,c);
}
void fl_chart_clear(CHART b) {
- reinterpret_cast<Fl_Chart*>(b)->clear();
+ static_cast<Fl_Chart*>(b)->clear();
}
int fl_chart_get_autosize(CHART b) {
- return reinterpret_cast<Fl_Chart*>(b)->autosize();
+ return static_cast<Fl_Chart*>(b)->autosize();
}
void fl_chart_set_autosize(CHART b, int a) {
- reinterpret_cast<Fl_Chart*>(b)->autosize(a);
+ static_cast<Fl_Chart*>(b)->autosize(a);
}
void fl_chart_get_bounds(CHART b, double * l, double * u) {
- reinterpret_cast<Fl_Chart*>(b)->bounds(l,u);
+ static_cast<Fl_Chart*>(b)->bounds(l,u);
}
void fl_chart_set_bounds(CHART b, double l, double u) {
- reinterpret_cast<Fl_Chart*>(b)->bounds(l,u);
+ static_cast<Fl_Chart*>(b)->bounds(l,u);
}
int fl_chart_get_maxsize(CHART b) {
- return reinterpret_cast<Fl_Chart*>(b)->maxsize();
+ return static_cast<Fl_Chart*>(b)->maxsize();
}
void fl_chart_set_maxsize(CHART b, int m) {
- reinterpret_cast<Fl_Chart*>(b)->maxsize(m);
+ static_cast<Fl_Chart*>(b)->maxsize(m);
}
int fl_chart_size(CHART b) {
- return reinterpret_cast<Fl_Chart*>(b)->size();
+ return static_cast<Fl_Chart*>(b)->size();
}
void fl_chart_size2(CHART b, int w, int h) {
- reinterpret_cast<Fl_Chart*>(b)->size(w, h);
+ static_cast<Fl_Chart*>(b)->size(w, h);
}
unsigned int fl_chart_get_textcolor(CHART b) {
- return reinterpret_cast<Fl_Chart*>(b)->textcolor();
+ return static_cast<Fl_Chart*>(b)->textcolor();
}
void fl_chart_set_textcolor(CHART b, unsigned int c) {
- reinterpret_cast<Fl_Chart*>(b)->textcolor(c);
+ static_cast<Fl_Chart*>(b)->textcolor(c);
}
int fl_chart_get_textfont(CHART b) {
- return reinterpret_cast<Fl_Chart*>(b)->textfont();
+ return static_cast<Fl_Chart*>(b)->textfont();
}
void fl_chart_set_textfont(CHART b, int f) {
- reinterpret_cast<Fl_Chart*>(b)->textfont(f);
+ static_cast<Fl_Chart*>(b)->textfont(f);
}
int fl_chart_get_textsize(CHART b) {
- return reinterpret_cast<Fl_Chart*>(b)->textsize();
+ return static_cast<Fl_Chart*>(b)->textsize();
}
void fl_chart_set_textsize(CHART b, int s) {
- reinterpret_cast<Fl_Chart*>(b)->textsize(s);
+ static_cast<Fl_Chart*>(b)->textsize(s);
}
void fl_chart_draw(CHART n) {
- reinterpret_cast<My_Chart*>(n)->Fl_Chart::draw();
+ static_cast<My_Chart*>(n)->Fl_Chart::draw();
}
int fl_chart_handle(CHART n, int e) {
- return reinterpret_cast<My_Chart*>(n)->Fl_Chart::handle(e);
+ return static_cast<My_Chart*>(n)->Fl_Chart::handle(e);
}