ConfigClient.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. ==============================================================================
  3. This is an automatically generated GUI class created by the Introjucer!
  4. Be careful when adding custom code to these files, as only the code within
  5. the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  6. and re-saved.
  7. Created with Introjucer version: 3.1.0
  8. ------------------------------------------------------------------------------
  9. The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
  10. Copyright 2004-13 by Raw Material Software Ltd.
  11. ==============================================================================
  12. */
  13. #ifndef __JUCE_HEADER_CB08A39AD889D82__
  14. #define __JUCE_HEADER_CB08A39AD889D82__
  15. //[Headers] -- You can add your own extra header files here --
  16. #include "JuceHeader.h"
  17. //[/Headers]
  18. //==============================================================================
  19. /**
  20. //[Comments]
  21. An auto-generated component, created by the Introjucer.
  22. Describe your class and how it works here!
  23. //[/Comments]
  24. */
  25. class ConfigClient : public Component,
  26. public ComboBoxListener,
  27. public ButtonListener
  28. {
  29. public:
  30. //==============================================================================
  31. ConfigClient (ValueTree config_store);
  32. ~ConfigClient();
  33. //==============================================================================
  34. //[UserMethods] -- You can add your own custom methods in this section.
  35. //[/UserMethods]
  36. void paint (Graphics& g);
  37. void resized();
  38. void comboBoxChanged (ComboBox* comboBoxThatHasChanged);
  39. void buttonClicked (Button* buttonThatWasClicked);
  40. private:
  41. //[UserVariables] -- You can add your own custom variables in this section.
  42. ValueTree configStore ;
  43. void setConfig(Identifier a_key , var a_value) ;
  44. //[/UserVariables]
  45. //==============================================================================
  46. ScopedPointer<Label> saveAudioLabel;
  47. ScopedPointer<ComboBox> saveAudioComboBox;
  48. ScopedPointer<ToggleButton> oggMixdownButton;
  49. ScopedPointer<ToggleButton> wavMixdownButton;
  50. ScopedPointer<Label> debugLevelLabel;
  51. ScopedPointer<ComboBox> debugLevelComboBox;
  52. ScopedPointer<ToggleButton> saveLogButton;
  53. ScopedPointer<ToggleButton> hideBotsButton;
  54. //==============================================================================
  55. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ConfigClient)
  56. };
  57. //[EndFile] You can add extra defines here...
  58. //[/EndFile]
  59. #endif // __JUCE_HEADER_CB08A39AD889D82__