External plugins for Carla
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.

61 lines
1.4KB

  1. // generated by Fast Light User Interface Designer (fluid) version 1.0300
  2. #ifndef BankUI_h
  3. #define BankUI_h
  4. #include <FL/Fl.H>
  5. #include <cstdlib>
  6. #include <cstdio>
  7. #include <cstring>
  8. #include <FL/Fl_Button.H>
  9. #include <FL/Fl_File_Chooser.H>
  10. #include <FL/Fl_Input.H>
  11. #include "Fl_Osc_Interface.h"
  12. #include "Fl_Osc_Check.H"
  13. #include "Fl_Osc_Pane.H"
  14. #include "../Misc/Util.h"
  15. #include "BankView.h"
  16. #include <FL/Fl_Box.H>
  17. #include <FL/Fl_Button.H>
  18. #include <FL/Fl_Input.H>
  19. class BankUI {
  20. public:
  21. Fl_Osc_Window* make_window();
  22. Fl_Osc_Window *bankuiwindow;
  23. private:
  24. void cb_Close_i(Fl_Button*, void*);
  25. static void cb_Close(Fl_Button*, void*);
  26. public:
  27. BankView *bankview;
  28. BankViewControls *modeselect;
  29. private:
  30. void cb_New_i(Fl_Button*, void*);
  31. static void cb_New(Fl_Button*, void*);
  32. public:
  33. BankList *banklist;
  34. private:
  35. void cb_banklist_i(BankList*, void*);
  36. static void cb_banklist(BankList*, void*);
  37. void cb_Refresh_i(Fl_Button*, void*);
  38. static void cb_Refresh(Fl_Button*, void*);
  39. void cb_Search_i(Fl_Input*, void*);
  40. static void cb_Search(Fl_Input*, void*);
  41. public:
  42. BankUI(int *npart_, Fl_Osc_Interface *osc_);
  43. virtual ~BankUI();
  44. void show();
  45. void hide();
  46. void init(Fl_Valuator *cbwig_);
  47. void process();
  48. void refreshmainwindow();
  49. void rescan_for_banks();
  50. void update_search(std::string search_string);
  51. private:
  52. Fl_Osc_Interface *osc;
  53. public:
  54. Fl_Valuator *cbwig;
  55. private:
  56. int *npart;
  57. };
  58. #endif