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.

111 lines
3.5KB

  1. # data file for the Fltk User Interface Designer (fluid)
  2. version 1.0110
  3. header_name {.H}
  4. code_name {.C}
  5. decl {\#include <FL/Fl.H>} {}
  6. decl {\#include <Fl/Fl_Shared_Image.H>} {}
  7. decl {\#include <Fl/filename.H>} {}
  8. Function {open_url( const char *url )} {open return_type void
  9. } {
  10. code {\#if ! ( FL_MAJOR_VERSION >= 1 && FL_MINOR_VERSION >= 1 && FL_PATCH_VERSION >= 8 )
  11. // FIXME: got a better idea?
  12. char cmd[256];
  13. snprintf( cmd, sizeof( cmd ), "x-www-browser '%s' &", url );
  14. system( cmd );
  15. \#else
  16. fl_open_uri( url );
  17. \#endif} {}
  18. }
  19. class About_Dialog {open
  20. } {
  21. Function {About_Dialog()} {} {
  22. code {make_window();} {}
  23. }
  24. Function {run()} {return_type void
  25. } {
  26. code {window->show();
  27. while ( window->shown() )
  28. Fl::wait();
  29. delete window;} {}
  30. }
  31. Function {make_window()} {open private
  32. } {
  33. Fl_Window window {
  34. label About
  35. callback {o->hide();
  36. if ( logo_box->image() )
  37. {
  38. ((Fl_Shared_Image*)logo_box->image())->release();
  39. logo_box->image( 0 );
  40. }} open selected
  41. private xywh {1355 125 495 655} type Double xclass {Non-DAW} visible
  42. } {
  43. Fl_Tabs {} {open
  44. xywh {0 264 497 392}
  45. } {
  46. Fl_Group {} {
  47. label Credits open
  48. xywh {2 293 492 362}
  49. } {
  50. Fl_Box {} {
  51. label {Non-DAW was written from scratch by
  52. Jonathan Moore Liles for his own use
  53. (see the manual).
  54. Nobody planned. Nobody helped.
  55. You can help now by donating time, money,
  56. and/or replacing the rest of Linux Audio
  57. with fast, light, reliable alternatives.}
  58. xywh {39 322 418 262} box ROUNDED_BOX color 46 labelsize 18
  59. }
  60. }
  61. Fl_Group {} {
  62. label License open
  63. xywh {2 288 492 311} hide
  64. } {
  65. Fl_Box {} {
  66. label {Copyright (C) 2008-2010 Jonathan Moore Liles}
  67. xywh {43 302 410 37} labeltype SHADOW_LABEL labelfont 1 labelsize 18
  68. }
  69. Fl_Box {} {
  70. 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.
  71. 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.
  72. 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.}
  73. xywh {10 351 475 233} box ROUNDED_BOX color 46 labelfont 1 labelsize 12 labelcolor 53 align 144
  74. }
  75. }
  76. }
  77. Fl_Box logo_box {
  78. label VERSION
  79. private xywh {25 20 445 180} box ROUNDED_BOX color 48 labelfont 1 labelsize 18 align 16
  80. code0 {o->image( Fl_Shared_Image::get( INSTALL_PREFIX "/share/pixmaps/non-daw/logo.png" ) );}
  81. code1 {o->label( VERSION );}
  82. }
  83. Fl_Return_Button {} {
  84. label Rock
  85. callback {o->window()->do_callback();}
  86. xywh {400 614 76 30}
  87. }
  88. Fl_Button {} {
  89. label {http://non-daw.tuxfamily.org}
  90. callback {open_url( o->label() );}
  91. xywh {125 614 245 30} color 14 labeltype SHADOW_LABEL labelcolor 6
  92. }
  93. Fl_Box {} {
  94. label {The Non DAW (Digital Audio Workstation)}
  95. xywh {32 221 430 29} labeltype SHADOW_LABEL labelfont 3 labelsize 17
  96. }
  97. }
  98. }
  99. }