Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
3.5KB

  1. # data file for the Fltk User Interface Designer (fluid)
  2. version 1.0300
  3. header_name {.H}
  4. code_name {.C}
  5. decl {\#include <FL/Fl.H>} {private local
  6. }
  7. decl {\#include <FL/Fl_Shared_Image.H>} {private local
  8. }
  9. decl {\#include <FL/filename.H>} {private local
  10. }
  11. Function {open_url( const char *url )} {open return_type void
  12. } {
  13. code {\#if ! ( FL_MAJOR_VERSION >= 1 && FL_MINOR_VERSION >= 1 && FL_PATCH_VERSION >= 8 )
  14. // FIXME: got a better idea?
  15. char cmd[256];
  16. snprintf( cmd, sizeof( cmd ), "x-www-browser '%s' &", url );
  17. system( cmd );
  18. \#else
  19. fl_open_uri( url );
  20. \#endif} {}
  21. }
  22. class About_Dialog {open
  23. } {
  24. Function {About_Dialog( const char *logo_filename )} {} {
  25. code {make_window( logo_filename );} {}
  26. }
  27. Function {run()} {return_type void
  28. } {
  29. code {window->show();
  30. while ( window->shown() )
  31. Fl::wait();
  32. delete window;} {}
  33. }
  34. Function {make_window( const char *logo_filename )} {open private
  35. } {
  36. Fl_Window window {
  37. label About
  38. callback {o->hide();
  39. if ( logo_box->image() )
  40. {
  41. ((Fl_Shared_Image*)logo_box->image())->release();
  42. logo_box->image( 0 );
  43. }} open
  44. private xywh {1183 305 560 695} type Double xclass {Non-DAW} visible
  45. } {
  46. Fl_Tabs {} {open
  47. xywh {0 352 558 296}
  48. } {
  49. Fl_Group {} {
  50. label Credits open
  51. xywh {2 386 553 261}
  52. } {
  53. Fl_Box credits {
  54. label {Non-DAW was written from scratch by
  55. Jonathan Moore Liles for his own use
  56. (see the manual).
  57. Nobody planned. Nobody helped.
  58. You can help now by donating time, money,
  59. and/or replacing the rest of Linux Audio
  60. with fast, light, reliable alternatives.}
  61. xywh {5 389 545 249} box ROUNDED_BOX color 46 labelsize 18
  62. }
  63. }
  64. Fl_Group {} {
  65. label License open
  66. xywh {2 378 553 268} hide
  67. } {
  68. Fl_Box copyright {
  69. label COPYRIGHT
  70. xywh {43 389 462 22} labeltype SHADOW_LABEL labelfont 1 labelsize 18
  71. }
  72. Fl_Box {} {
  73. label {This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
  74. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  75. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.}
  76. xywh {10 414 535 225} box ROUNDED_BOX color 46 labelfont 1 labelsize 12 labelcolor 53 align 144
  77. }
  78. }
  79. }
  80. Fl_Box logo_box {
  81. label VERSION selected
  82. xywh {5 5 550 305} color 48 labelfont 1 labelsize 18 align 16
  83. code0 {o->image( Fl_Shared_Image::get( logo_filename ) );}
  84. code1 {o->label( VERSION );}
  85. }
  86. Fl_Return_Button {} {
  87. label Rock
  88. callback {o->window()->do_callback();}
  89. xywh {400 660 76 30}
  90. }
  91. Fl_Button website_url {
  92. label {http://non-daw.tuxfamily.org}
  93. callback {open_url( o->label() );}
  94. xywh {125 660 245 30} color 14 labeltype SHADOW_LABEL labelcolor 6
  95. }
  96. Fl_Box title {
  97. label TITLE
  98. xywh {5 317 545 29} labeltype SHADOW_LABEL labelfont 3 labelsize 17
  99. }
  100. }
  101. }
  102. }