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.

101 lines
4.0KB

  1. # data file for the Fltk User Interface Designer (fluid)
  2. version 1.0300
  3. header_name {.H}
  4. code_name {.C}
  5. class NSM_Proxy_UI {open
  6. } {
  7. Function {make_window()} {open
  8. } {
  9. Fl_Window {} {
  10. label {NSM Proxy} open selected
  11. xywh {644 190 635 665} type Double color 47 labelcolor 55 xclass {NSM-Proxy} visible
  12. } {
  13. Fl_Box {} {
  14. label {Command-line options are incompatible with robust session management for a variety of reasons, so the NSM server does not support them directly. This proxy exists to allow programs which require command-line options to be included in an NSM session. Be warned that referring to files outside of the session directory will impair your ability to reliably archive and transport sessions. Patching the program to use NSM natively will result in a better experience.
  15. The program will be started with its current directory being a uniquely named directory under the current session directory. It is recommended that you only refer to files in the current directory.
  16. }
  17. xywh {15 11 610 139} box BORDER_BOX color 41 labelfont 8 labelsize 12 labelcolor 55 align 128
  18. }
  19. Fl_File_Input executable_input {
  20. label {Executable: }
  21. xywh {115 162 495 31}
  22. }
  23. Fl_Input arguments_input {
  24. label {Arguments:}
  25. xywh {110 310 350 28}
  26. }
  27. Fl_Input label_input {
  28. label {Label:}
  29. xywh {110 340 350 28}
  30. }
  31. Fl_Return_Button start_button {
  32. label Start
  33. xywh {535 630 88 25}
  34. }
  35. Fl_Button kill_button {
  36. label Kill
  37. xywh {295 625 80 25} color 72 hide
  38. }
  39. Fl_Choice save_signal_choice {
  40. label {Save Signal:} open
  41. xywh {110 468 170 25} down_box BORDER_BOX
  42. } {
  43. MenuItem {} {
  44. label None
  45. xywh {0 0 40 24}
  46. }
  47. MenuItem {} {
  48. label SIGUSR1
  49. xywh {10 10 40 24}
  50. }
  51. MenuItem {} {
  52. label SIGUSR2
  53. xywh {20 20 40 24}
  54. }
  55. MenuItem {} {
  56. label SIGINT
  57. xywh {30 30 40 24}
  58. }
  59. }
  60. Fl_Box {} {
  61. label {The environment variables $NSM_CLIENT_ID and $NSM_SESSION_NAME will contain the unique client ID (suitable for use as e.g. a JACK client name) and the display name for the session, respectively. The variable $CONFIG_FILE will contain the name of the config file selected above.}
  62. xywh {15 235 610 69} box BORDER_BOX color 41 labelfont 8 labelsize 12 labelcolor 55 align 128
  63. }
  64. Fl_Box {} {
  65. label {Some (very few) programs may respond to a specific Unix signal by somehow saving their state. If 'Save Signal' is set to something other than 'None', then NSM Proxy will deliver the specified signal to the proxied process upon an NSM 'Save' event. Most programs will treat these signals just like SIGTERM and die. You have been warned.}
  66. xywh {15 378 610 79} box BORDER_BOX color 41 labelfont 8 labelsize 12 labelcolor 55 align 128
  67. }
  68. Fl_Choice stop_signal_choice {
  69. label {Stop Signal:} open
  70. xywh {108 592 170 25} down_box BORDER_BOX
  71. } {
  72. MenuItem {} {
  73. label SIGTERM
  74. xywh {10 10 40 24}
  75. }
  76. MenuItem {} {
  77. label SIGINT
  78. xywh {40 40 40 24}
  79. }
  80. MenuItem {} {
  81. label SIGHUP
  82. xywh {50 50 40 24}
  83. }
  84. }
  85. Fl_Box {} {
  86. label {Most programs will shutdown gracefully when sent a SIGTERM or SIGINT signal. It's impossible to know which signal a specific program will respond to. A unhandled signal will simply kill the process, and may cause problems with the audio subsystem (e.g. JACK). Check the program's documentation or source code to determine which signal to use to stop it gracefully.}
  87. xywh {15 502 610 79} box BORDER_BOX color 41 labelfont 8 labelsize 12 labelcolor 55 align 128
  88. }
  89. Fl_File_Input config_file_input {
  90. label {Config File:}
  91. xywh {114 195 406 31}
  92. }
  93. Fl_Button config_file_browse_button {
  94. label Browse
  95. xywh {530 195 85 25}
  96. }
  97. }
  98. }
  99. }