15 #include "resources/logo_128.xpm"
17 #include <FL/Fl_Box.H>
18 #include <FL/Fl_Pixmap.H>
19 #include <FL/Fl_RGB_Image.H>
26 void closeCb(Fl_Widget *,
void *user_data)
35 Fl_Double_Window(600, 238,
"About rcdiscover")
41 Fl_Pixmap logo_xpm(logo_128_xpm);
42 Fl_RGB_Image logo_rgb(&logo_xpm, FL_GRAY);
46 box->image(logo_rgb.copy(64, 64));
49 out->labeltype(FL_NO_LABEL);
51 out->textsize(
static_cast<int>(1.2*
out->textsize()));
52 out->clear_visible_focus();
54 std::ostringstream msg;
55 msg <<
"Tool for the discovery of GigE Vision devices." <<
"\n";
57 msg <<
"Version: " << PACKAGE_VERSION <<
"\n";
59 msg <<
"Copyright (c) 2017-2023 Roboception GmbH\n";
60 msg <<
"The source code of rcdiscover is available\n";
61 msg <<
"under the 3-clause BSD license.\n";
63 msg <<
"This program is based on FLTK.\n";
65 out->value(msg.str().c_str());
68 close->callback(closeCb,
this);
73 size_range(w(), h(), w(), h());