The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
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.

76 lines
2.6KB

  1. /*
  2. ==============================================================================
  3. This is an automatically generated file!
  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 for JUCE version: JUCE v2.0.16
  8. ------------------------------------------------------------------------------
  9. JUCE is copyright 2004-11 by Raw Material Software ltd.
  10. ==============================================================================
  11. */
  12. #ifndef __JUCER_PROJECTINFORMATIONCOMPONENT_H_30FFCD07__
  13. #define __JUCER_PROJECTINFORMATIONCOMPONENT_H_30FFCD07__
  14. //[Headers] -- You can add your own extra header files here --
  15. #include "jucer_Project.h"
  16. //[/Headers]
  17. //==============================================================================
  18. /**
  19. //[Comments]
  20. Holds the tabs containing all the project info.
  21. //[/Comments]
  22. */
  23. class ProjectInformationComponent : public Component,
  24. public ChangeListener,
  25. public ButtonListener
  26. {
  27. public:
  28. //==============================================================================
  29. ProjectInformationComponent (Project& project_);
  30. ~ProjectInformationComponent();
  31. //==============================================================================
  32. //[UserMethods] -- You can add your own custom methods in this section.
  33. void changeListenerCallback (ChangeBroadcaster*);
  34. //[/UserMethods]
  35. void buttonClicked (Button* buttonThatWasClicked);
  36. void paint (Graphics& g);
  37. private:
  38. //==============================================================================
  39. //[UserVariables] -- You can add your own custom variables in this section.
  40. Project& project;
  41. class RolloverHelpComp;
  42. //[/UserVariables]
  43. //==============================================================================
  44. Viewport viewport;
  45. TextButton openProjectButton;
  46. TextButton saveAndOpenButton;
  47. ScopedPointer<RolloverHelpComp> rollover;
  48. void initialiseComponentState();
  49. static ValueTree getComponentState();
  50. //==============================================================================
  51. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProjectInformationComponent);
  52. };
  53. #endif // __JUCER_PROJECTINFORMATIONCOMPONENT_H_30FFCD07__