License.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 _LICENSE_H_
  14. #define _LICENSE_H_
  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 License : public Component,
  26. public ButtonListener
  27. {
  28. public:
  29. //==============================================================================
  30. License ();
  31. ~License();
  32. //==============================================================================
  33. //[UserMethods] -- You can add your own custom methods in this section.
  34. friend class LinJam ;
  35. //[/UserMethods]
  36. void paint (Graphics& g);
  37. void resized();
  38. void buttonClicked (Button* buttonThatWasClicked);
  39. private:
  40. //[UserVariables] -- You can add your own custom variables in this section.
  41. void setLicenseText(String license_text) ;
  42. //[/UserVariables]
  43. //==============================================================================
  44. ScopedPointer<TextEditor> licenseTextEditor;
  45. ScopedPointer<TextButton> cancelButton;
  46. ScopedPointer<TextButton> agreeButton;
  47. ScopedPointer<ToggleButton> alwaysButton;
  48. //==============================================================================
  49. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (License)
  50. };
  51. //[EndFile] You can add extra defines here...
  52. //[/EndFile]
  53. #endif // _LICENSE_H_