@@ -2934,17 +2934,21 @@ void svShowAboutHelp ()
2934
2934
hv->color (FL_BACKGROUND2_COLOR);
2935
2935
hv->textsize (app->nAppFontSize );
2936
2936
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);
2937
2941
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>"
2940
2943
" <p><center>"
2941
2944
" © 2016-" SV_CURRENT_YEAR " Will Brokenbourgh - <a href='https://www.willbrokenbourgh.com/brainout/'>"
2942
2945
" https://www.willbrokenbourgh.com/brainout/</a>"
2943
2946
" </center></p>"
2944
2947
// -
2945
2948
" <p><center>"
2946
2949
" Version " SV_APP_VERSION " • "
2947
- " Built " __DATE__ " • " __TIME__
2950
+ " Built " __DATE__ " • " __TIME__ " <br>"
2951
+ " FLTK version " + std::string (flVersion) +
2948
2952
" </center></p>"
2949
2953
// -
2950
2954
" <p><center>"
@@ -2953,7 +2957,6 @@ void svShowAboutHelp ()
2953
2957
" connections and automatic timed scanning of each connected viewer."
2954
2958
" </center></p>"
2955
2959
// ---
2956
- " <p><center><font color='gray'>- - -</font></center></p>"
2957
2960
" <p><center><strong>Instructions</strong></center><br>"
2958
2961
// -
2959
2962
" <ul>"
@@ -2968,25 +2971,25 @@ void svShowAboutHelp ()
2968
2971
" <li>To disconnect, edit or 'paste' a F12 macro to a 'listening' connection, right-click it while connected</li>"
2969
2972
" <li>To change application options, click the settings button (looks like three control sliders)</li>"
2970
2973
" <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>"
2972
2975
" </ul>"
2973
2976
// ---
2974
- " <p><center><font color='gray'>- - -</font></center></p>"
2975
2977
" <p><center>"
2976
2978
" Many thanks to the <em>FLTK</em> and <em>libvncserver</em> projects for their libraries "
2977
2979
" and example code."
2978
2980
" </center></p>"
2979
2981
// -
2980
2982
" <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 "
2982
2985
" <a href='https://www.willbrokenbourgh.com/brainout/content/spiritvnc.php'>visit the SpiritVNC page</a>"
2983
2986
" "
2984
2987
" </center></p>"
2985
2988
// -
2986
2989
" <p><center><strong>To God be the glory! :-D</strong></center></p>" ;
2987
2990
2988
2991
// set helpview's text
2989
- hv->value (strHelp);
2992
+ hv->value (strHelp. c_str () );
2990
2993
2991
2994
// 'OK' button
2992
2995
Fl_Button * btnOK = new Fl_Button ((nWinWidth - 100 - 10 ), nWinHeight - (35 + 10 ), 100 , 35 , " OK" );
0 commit comments