AboutWindow.cpp 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #include "AboutWindow.h"
  2. AboutWindow::AboutWindow(void) : Fl_Window(600,400,"About GNU Ballistics Computer"){
  3. begin();
  4. lic = new Fl_Text_Display(5,5,590,390);
  5. buf = new Fl_Text_Buffer(36000);
  6. buf->text("GNU Exterior Ballistics Computer v1.00\n\
  7. Created by: Derek R. Yates\n\
  8. Released on: February, 2008\n\
  9. Built using: Mingw32 / GCC compiler\n\
  10. \n\
  11. Note from the Creator:\n\
  12. GNU Exterior Ballistics Computer was created as an open-sourced\n\
  13. alternative to the multitude of commercial ballistics computers.\n\
  14. As an avid shooter, I have purchased several commercial packages\n\
  15. over the years, but never found exactly what I wanted in any of them.\n\
  16. I have created this program, and released it under the GNU GPL\n\
  17. License in order to create what I am looking for in a program, \n\
  18. and to give you a base on which to build and improve what I've \n\
  19. started. The unique features I have included are a multitude of\n\
  20. data export features, making it easy to load your data into a variety\n\
  21. of analysis software, from OpenOffice to Microsoft Excel, and also in\n\
  22. Adobe PDF format. Never before has so much ballistics information been\n\
  23. available so freely.\n\
  24. \n\
  25. This program was written in C++, and uses the excellent GNU Exterior\n\
  26. ballistics library (which I wrote previously for personal use). The \n\
  27. solutions are based on the three degrees of freedom differential equations\n\
  28. and solved numerically to get a very accurate solution. In general the\n\
  29. range data is accurate to within 0.1 yards, and the drop data is accurate\n\
  30. to within a fraction of an inch. Standard drag models from G1-G8 are supported\n\
  31. making this program very flexible for advanced ballistics use.\n\
  32. \n\
  33. The GUI was created using FLTK, to allow both Windows and Linux users\n\
  34. to build the source. PDF creation is done using the LibHaru library, which\n\
  35. is highly recommended should you ever need a C++ library for PDF creation.\n\
  36. \n\
  37. I hope you have as much fun using this program as I have had creating it,\n\
  38. and wish you the best shooting.\n");
  39. lic->buffer(buf);
  40. end();
  41. show();
  42. }
  43. AboutWindow::~AboutWindow(void){
  44. delete lic;
  45. delete buf;
  46. }