Logo Search packages:      
Sourcecode: csound version File versions  Download package

CsoundPerformanceSettingsPanel_FLTK.hpp

// generated by Fast Light User Interface Designer (fluid) version 1.0107

#ifndef CsoundPerformanceSettingsPanel_FLTK_hpp
#define CsoundPerformanceSettingsPanel_FLTK_hpp
#include <FL/Fl.H>
#include <vector>
#include <string>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Tabs.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Input.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Value_Input.H>
#include <FL/Fl_Check_Button.H>
#include <FL/Fl_Spinner.H>
#include <FL/Fl_Input_Choice.H>

class CsoundPerformanceSettingsPanel {
public:
  CsoundPerformanceSettings performanceSettings;
  int status;
  CsoundPerformanceSettingsPanel(CsoundPerformanceSettings& p);
  Fl_Double_Window *window;
private:
  void cb_window_i(Fl_Double_Window*, void*);
  static void cb_window(Fl_Double_Window*, void*);
public:
  Fl_Tabs *tabs;
  Fl_Input *orcNameInput;
private:
  void cb_orcNameInput_i(Fl_Input*, void*);
  static void cb_orcNameInput(Fl_Input*, void*);
public:
  Fl_Button *orcNameButton;
private:
  void cb_orcNameButton_i(Fl_Button*, void*);
  static void cb_orcNameButton(Fl_Button*, void*);
public:
  Fl_Input *scoNameInput;
private:
  void cb_scoNameInput_i(Fl_Input*, void*);
  static void cb_scoNameInput(Fl_Input*, void*);
public:
  Fl_Button *scoNameButton;
private:
  void cb_scoNameButton_i(Fl_Button*, void*);
  static void cb_scoNameButton(Fl_Button*, void*);
public:
  Fl_Input *lineInputDeviceInput;
private:
  void cb_lineInputDeviceInput_i(Fl_Input*, void*);
  static void cb_lineInputDeviceInput(Fl_Input*, void*);
public:
  Fl_Button *lineInputDeviceButton;
private:
  void cb_lineInputDeviceButton_i(Fl_Button*, void*);
  static void cb_lineInputDeviceButton(Fl_Button*, void*);
public:
  Fl_Input *pluginLibsInput;
private:
  void cb_pluginLibsInput_i(Fl_Input*, void*);
  static void cb_pluginLibsInput(Fl_Input*, void*);
public:
  Fl_Button *pluginLibsButton;
private:
  void cb_pluginLibsButton_i(Fl_Button*, void*);
  static void cb_pluginLibsButton(Fl_Button*, void*);
  void cb_Display_i(Fl_Choice*, void*);
  static void cb_Display(Fl_Choice*, void*);
  void cb_Message_i(Fl_Value_Input*, void*);
  static void cb_Message(Fl_Value_Input*, void*);
  void cb_Heartbeat_i(Fl_Choice*, void*);
  static void cb_Heartbeat(Fl_Choice*, void*);
  void cb_Verbose_i(Fl_Check_Button*, void*);
  static void cb_Verbose(Fl_Check_Button*, void*);
public:
  Fl_Value_Input *sampleRateInput;
private:
  void cb_sampleRateInput_i(Fl_Value_Input*, void*);
  static void cb_sampleRateInput(Fl_Value_Input*, void*);
public:
  Fl_Value_Input *controlRateInput;
private:
  void cb_controlRateInput_i(Fl_Value_Input*, void*);
  static void cb_controlRateInput(Fl_Value_Input*, void*);
  void cb_Score_i(Fl_Value_Input*, void*);
  static void cb_Score(Fl_Value_Input*, void*);
  void cb_Initial_i(Fl_Value_Input*, void*);
  static void cb_Initial(Fl_Value_Input*, void*);
  void cb_String_i(Fl_Value_Input*, void*);
  static void cb_String(Fl_Value_Input*, void*);
  void cb_Optimize_i(Fl_Check_Button*, void*);
  static void cb_Optimize(Fl_Check_Button*, void*);
  void cb_Skip_i(Fl_Check_Button*, void*);
  static void cb_Skip(Fl_Check_Button*, void*);
  void cb_I_i(Fl_Check_Button*, void*);
  static void cb_I(Fl_Check_Button*, void*);
  void cb_Defer_i(Fl_Check_Button*, void*);
  static void cb_Defer(Fl_Check_Button*, void*);
public:
  Fl_Check_Button *useAdditionalFlagsToggle;
private:
  void cb_useAdditionalFlagsToggle_i(Fl_Check_Button*, void*);
  static void cb_useAdditionalFlagsToggle(Fl_Check_Button*, void*);
public:
  Fl_Input *additionalFlagsInput;
private:
  void cb_additionalFlagsInput_i(Fl_Input*, void*);
  static void cb_additionalFlagsInput(Fl_Input*, void*);
public:
  Fl_Input *inputFileBox;
private:
  void cb_inputFileBox_i(Fl_Input*, void*);
  static void cb_inputFileBox(Fl_Input*, void*);
  void cb__i(Fl_Button*, void*);
  static void cb_(Fl_Button*, void*);
public:
  Fl_Input *outputFileBox;
private:
  void cb_outputFileBox_i(Fl_Input*, void*);
  static void cb_outputFileBox(Fl_Input*, void*);
  void cb_1_i(Fl_Button*, void*);
  static void cb_1(Fl_Button*, void*);
  void cb_File_i(Fl_Choice*, void*);
  static void cb_File(Fl_Choice*, void*);
  void cb_Sample_i(Fl_Choice*, void*);
  static void cb_Sample(Fl_Choice*, void*);
  void cb_Peak_i(Fl_Check_Button*, void*);
  static void cb_Peak(Fl_Check_Button*, void*);
  void cb_Enable_i(Fl_Check_Button*, void*);
  static void cb_Enable(Fl_Check_Button*, void*);
  void cb_Rewrite_i(Fl_Check_Button*, void*);
  static void cb_Rewrite(Fl_Check_Button*, void*);
  void cb_Artist_i(Fl_Input*, void*);
  static void cb_Artist(Fl_Input*, void*);
  void cb_Comment_i(Fl_Input*, void*);
  static void cb_Comment(Fl_Input*, void*);
  void cb_Copyright_i(Fl_Input*, void*);
  static void cb_Copyright(Fl_Input*, void*);
  void cb_Date_i(Fl_Input*, void*);
  static void cb_Date(Fl_Input*, void*);
  void cb_Software_i(Fl_Input*, void*);
  static void cb_Software(Fl_Input*, void*);
  void cb_Title_i(Fl_Input*, void*);
  static void cb_Title(Fl_Input*, void*);
  void cb_Do_i(Fl_Check_Button*, void*);
  static void cb_Do(Fl_Check_Button*, void*);
public:
  Fl_Group *RTaudioTab;
private:
  void cb_Buffer_i(Fl_Choice*, void*);
  static void cb_Buffer(Fl_Choice*, void*);
public:
  Fl_Spinner *numBuffersInput;
private:
  void cb_numBuffersInput_i(Fl_Spinner*, void*);
  static void cb_numBuffersInput(Fl_Spinner*, void*);
  void cb_Perform_i(Fl_Check_Button*, void*);
  static void cb_Perform(Fl_Check_Button*, void*);
public:
  Fl_Input_Choice *rtAudioInputDeviceInput;
private:
  void cb_rtAudioInputDeviceInput_i(Fl_Input_Choice*, void*);
  static void cb_rtAudioInputDeviceInput(Fl_Input_Choice*, void*);
public:
  Fl_Input_Choice *rtAudioOutputDeviceInput;
private:
  void cb_rtAudioOutputDeviceInput_i(Fl_Input_Choice*, void*);
  static void cb_rtAudioOutputDeviceInput(Fl_Input_Choice*, void*);
public:
  Fl_Input *jackClientNameInput;
private:
  void cb_jackClientNameInput_i(Fl_Input*, void*);
  static void cb_jackClientNameInput(Fl_Input*, void*);
public:
  Fl_Choice *rtAudioModuleInput;
private:
  void cb_rtAudioModuleInput_i(Fl_Choice*, void*);
  static void cb_rtAudioModuleInput(Fl_Choice*, void*);
public:
  Fl_Input *midiInFileNameInput;
private:
  void cb_midiInFileNameInput_i(Fl_Input*, void*);
  static void cb_midiInFileNameInput(Fl_Input*, void*);
  void cb_2_i(Fl_Button*, void*);
  static void cb_2(Fl_Button*, void*);
  void cb_Mute_i(Fl_Input*, void*);
  static void cb_Mute(Fl_Input*, void*);
  void cb_Terminate_i(Fl_Check_Button*, void*);
  static void cb_Terminate(Fl_Check_Button*, void*);
public:
  Fl_Input *midiOutFileNameInput;
private:
  void cb_midiOutFileNameInput_i(Fl_Input*, void*);
  static void cb_midiOutFileNameInput(Fl_Input*, void*);
  void cb_3_i(Fl_Button*, void*);
  static void cb_3(Fl_Button*, void*);
public:
  Fl_Choice *rtMidiModulesChoice;
private:
  void cb_rtMidiModulesChoice_i(Fl_Choice*, void*);
  static void cb_rtMidiModulesChoice(Fl_Choice*, void*);
public:
  Fl_Input_Choice *rtMidiInputDeviceInput;
private:
  void cb_rtMidiInputDeviceInput_i(Fl_Input_Choice*, void*);
  static void cb_rtMidiInputDeviceInput(Fl_Input_Choice*, void*);
public:
  Fl_Input_Choice *rtMidiOutputDeviceInput;
private:
  void cb_rtMidiOutputDeviceInput_i(Fl_Input_Choice*, void*);
  static void cb_rtMidiOutputDeviceInput(Fl_Input_Choice*, void*);
  void cb_Raw_i(Fl_Check_Button*, void*);
  static void cb_Raw(Fl_Check_Button*, void*);
public:
  Fl_Spinner *midiKeyMidiSpinner;
private:
  void cb_midiKeyMidiSpinner_i(Fl_Spinner*, void*);
  static void cb_midiKeyMidiSpinner(Fl_Spinner*, void*);
public:
  Fl_Check_Button *midiKeyMidiOn;
private:
  void cb_midiKeyMidiOn_i(Fl_Check_Button*, void*);
  static void cb_midiKeyMidiOn(Fl_Check_Button*, void*);
public:
  Fl_Spinner *midiKeyCpsSpinner;
private:
  void cb_midiKeyCpsSpinner_i(Fl_Spinner*, void*);
  static void cb_midiKeyCpsSpinner(Fl_Spinner*, void*);
public:
  Fl_Check_Button *midiKeyCpsOn;
private:
  void cb_midiKeyCpsOn_i(Fl_Check_Button*, void*);
  static void cb_midiKeyCpsOn(Fl_Check_Button*, void*);
public:
  Fl_Spinner *midiKeyOctSpinner;
private:
  void cb_midiKeyOctSpinner_i(Fl_Spinner*, void*);
  static void cb_midiKeyOctSpinner(Fl_Spinner*, void*);
public:
  Fl_Check_Button *midiKeyOctOn;
private:
  void cb_midiKeyOctOn_i(Fl_Check_Button*, void*);
  static void cb_midiKeyOctOn(Fl_Check_Button*, void*);
public:
  Fl_Spinner *midiKeyPchSpinner;
private:
  void cb_midiKeyPchSpinner_i(Fl_Spinner*, void*);
  static void cb_midiKeyPchSpinner(Fl_Spinner*, void*);
public:
  Fl_Check_Button *midiKeyPchOn;
private:
  void cb_midiKeyPchOn_i(Fl_Check_Button*, void*);
  static void cb_midiKeyPchOn(Fl_Check_Button*, void*);
public:
  Fl_Spinner *midiVelMidiSpinner;
private:
  void cb_midiVelMidiSpinner_i(Fl_Spinner*, void*);
  static void cb_midiVelMidiSpinner(Fl_Spinner*, void*);
public:
  Fl_Check_Button *midiVelMidiOn;
private:
  void cb_midiVelMidiOn_i(Fl_Check_Button*, void*);
  static void cb_midiVelMidiOn(Fl_Check_Button*, void*);
public:
  Fl_Spinner *midiVelAmpSpinner;
private:
  void cb_midiVelAmpSpinner_i(Fl_Spinner*, void*);
  static void cb_midiVelAmpSpinner(Fl_Spinner*, void*);
public:
  Fl_Check_Button *midiVelAmpOn;
private:
  void cb_midiVelAmpOn_i(Fl_Check_Button*, void*);
  static void cb_midiVelAmpOn(Fl_Check_Button*, void*);
public:
  Fl_Input *sadirBox;
private:
  void cb_sadirBox_i(Fl_Input*, void*);
  static void cb_sadirBox(Fl_Input*, void*);
  void cb_4_i(Fl_Button*, void*);
  static void cb_4(Fl_Button*, void*);
public:
  Fl_Input *ssdirBox;
private:
  void cb_ssdirBox_i(Fl_Input*, void*);
  static void cb_ssdirBox(Fl_Input*, void*);
  void cb_5_i(Fl_Button*, void*);
  static void cb_5(Fl_Button*, void*);
public:
  Fl_Input *sfdirBox;
private:
  void cb_sfdirBox_i(Fl_Input*, void*);
  static void cb_sfdirBox(Fl_Input*, void*);
  void cb_6_i(Fl_Button*, void*);
  static void cb_6(Fl_Button*, void*);
public:
  Fl_Input *incdirBox;
private:
  void cb_incdirBox_i(Fl_Input*, void*);
  static void cb_incdirBox(Fl_Input*, void*);
  void cb_7_i(Fl_Button*, void*);
  static void cb_7(Fl_Button*, void*);
public:
  Fl_Input *csdocdirBox;
private:
  void cb_csdocdirBox_i(Fl_Input*, void*);
  static void cb_csdocdirBox(Fl_Input*, void*);
  void cb_8_i(Fl_Button*, void*);
  static void cb_8(Fl_Button*, void*);
  void cb_11_i(Fl_Input*, void*);
  static void cb_11(Fl_Input*, void*);
  void cb_21_i(Fl_Input*, void*);
  static void cb_21(Fl_Input*, void*);
  void cb_31_i(Fl_Input*, void*);
  static void cb_31(Fl_Input*, void*);
  void cb_41_i(Fl_Input*, void*);
  static void cb_41(Fl_Input*, void*);
  void cb_51_i(Fl_Input*, void*);
  static void cb_51(Fl_Input*, void*);
  void cb_61_i(Fl_Input*, void*);
  static void cb_61(Fl_Input*, void*);
  void cb_71_i(Fl_Input*, void*);
  static void cb_71(Fl_Input*, void*);
  void cb_81_i(Fl_Input*, void*);
  static void cb_81(Fl_Input*, void*);
  void cb_9_i(Fl_Input*, void*);
  static void cb_9(Fl_Input*, void*);
  void cb_10_i(Fl_Input*, void*);
  static void cb_10(Fl_Input*, void*);
  void cb_OK_i(Fl_Button*, void*);
  static void cb_OK(Fl_Button*, void*);
  void cb_Cancel_i(Fl_Button*, void*);
  static void cb_Cancel(Fl_Button*, void*);
public:
  ~CsoundPerformanceSettingsPanel();
private:
  std::vector<std::string> rtAudioModules;
  std::vector<std::string> rtMidiModules;
  std::vector<deviceInfo> rtAudioOutputDevices;
  std::vector<deviceInfo> rtAudioInputDevices;
  std::vector<deviceInfo> rtMidiInputDevices;
  std::vector<deviceInfo> rtMidiOutputDevices;
  void makeAudioDeviceName(std::string Name, bool isInput);
  void makeMidiDeviceName(std::string Name, bool isInput);
  void updateGUIState_Midi();
  void setPerformanceSettingsWindow(int action = 0);
  int getNumber(std::string module, std::vector<std::string> list);
  void querySoundDevices();
  void queryMidiDevices();
};
#endif

Generated by  Doxygen 1.6.0   Back to index