MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / myFlChoice_CB

Method myFlChoice_CB

src/csvapplication.cpp:3158–3165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3156 return ret;
3157}
3158void CsvApplication::myFlChoice_CB(Fl_Widget *widget, void *data) {
3159 Fl_Widget *parent;
3160 parent = widget->parent();
3161 int32_t *intPtr = (int32_t *)data;
3162 ((My_Fl_Small_Window *) parent)->dataExchange = TCRUNCHER_MYFLCHOICE_MAGICAL;
3163 *intPtr = TCRUNCHER_MYFLCHOICE_MAGICAL;
3164 ((Fl_Widget *) parent)->hide();
3165}
3166void CsvApplication::myFlChoiceWin_CB(Fl_Widget *widget, long data) {
3167 My_Fl_Small_Window *myWidget = (My_Fl_Small_Window *)widget;
3168 if( data == TCRUNCHER_MYFLCHOICE_MAGICAL) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected