So my problem is that I'm making a class with some fltk objects in but then within this I want callback functions for them to use. I'll write out an illustration:
int main(){
fltkstuff test;
test.set_window();
test.set_button();
test.run_object();
return 0;
}
But then I get the error that the call back is of <unresolved overloaded function type> and I can't see why.
Any insight would be appreciated (and feel free to comment on any other slips in my code, I'm entirely new to classes and fltk and have only delved into coding on occasion up until now).