@@ -2934,17 +2934,21 @@ void svShowAboutHelp ()
29342934 hv->color (FL_BACKGROUND2_COLOR);
29352935 hv->textsize (app->nAppFontSize );
29362936 hv->textfont (0 );
2937+
2938+ char flVersion[20 ] = {};
2939+
2940+ snprintf (flVersion, 19 , " %i.%i.%i" , FL_MAJOR_VERSION, FL_MINOR_VERSION, FL_PATCH_VERSION);
29372941
2938- const char strHelp[] = " <center><font face='sans'><h5>SpiritVNC - FLTK</h5></font></center>"
2939-
2942+ std::string strHelp = " <center><font face='sans'><h5>SpiritVNC - FLTK</h5></font></center>"
29402943 " <p><center>"
29412944 " © 2016-" SV_CURRENT_YEAR " Will Brokenbourgh - <a href='https://www.willbrokenbourgh.com/brainout/'>"
29422945 " https://www.willbrokenbourgh.com/brainout/</a>"
29432946 " </center></p>"
29442947 // -
29452948 " <p><center>"
29462949 " Version " SV_APP_VERSION " • "
2947- " Built " __DATE__ " • " __TIME__
2950+ " Built " __DATE__ " • " __TIME__ " <br>"
2951+ " FLTK version " + std::string (flVersion) +
29482952 " </center></p>"
29492953 // -
29502954 " <p><center>"
@@ -2953,7 +2957,6 @@ void svShowAboutHelp ()
29532957 " connections and automatic timed scanning of each connected viewer."
29542958 " </center></p>"
29552959 // ---
2956- " <p><center><font color='gray'>- - -</font></center></p>"
29572960 " <p><center><strong>Instructions</strong></center><br>"
29582961 // -
29592962 " <ul>"
@@ -2968,25 +2971,25 @@ void svShowAboutHelp ()
29682971 " <li>To disconnect, edit or 'paste' a F12 macro to a 'listening' connection, right-click it while connected</li>"
29692972 " <li>To change application options, click the settings button (looks like three control sliders)</li>"
29702973 " <li>To perform remote actions, press F8 when a remote host is being displayed</li>"
2971- " <li>See the README file for more detailed instructions</li>"
2974+ " <li>See the README.md file for more detailed instructions</li>"
29722975 " </ul>"
29732976 // ---
2974- " <p><center><font color='gray'>- - -</font></center></p>"
29752977 " <p><center>"
29762978 " Many thanks to the <em>FLTK</em> and <em>libvncserver</em> projects for their libraries "
29772979 " and example code."
29782980 " </center></p>"
29792981 // -
29802982 " <p><center>"
2981- " If you have any questions, need to report a bug or have suggestions, please"
2983+ " If you have any questions, need to report a bug or have suggestions, please create an issue on "
2984+ " github or "
29822985 " <a href='https://www.willbrokenbourgh.com/brainout/content/spiritvnc.php'>visit the SpiritVNC page</a>"
29832986 " "
29842987 " </center></p>"
29852988 // -
29862989 " <p><center><strong>To God be the glory! :-D</strong></center></p>" ;
29872990
29882991 // set helpview's text
2989- hv->value (strHelp);
2992+ hv->value (strHelp. c_str () );
29902993
29912994 // 'OK' button
29922995 Fl_Button * btnOK = new Fl_Button ((nWinWidth - 100 - 10 ), nWinHeight - (35 + 10 ), 100 , 35 , " OK" );
0 commit comments