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.

71 lines
2.4KB

  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]
  33. void changeListenerCallback (ChangeBroadcaster*);
  34. //[/UserMethods]
  35. void buttonClicked (Button* buttonThatWasClicked);
  36. void paint (Graphics& g);
  37. private:
  38. //==============================================================================
  39. //[UserVariables]
  40. Project& project;
  41. //[/UserVariables]
  42. //==============================================================================
  43. Viewport viewport;
  44. TextButton openProjectButton;
  45. TextButton saveAndOpenButton;
  46. RolloverHelpComp rollover;
  47. void initialiseComponentState();
  48. static ValueTree getComponentState();
  49. //==============================================================================
  50. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProjectInformationComponent)
  51. };
  52. #endif // __JUCER_PROJECTINFORMATIONCOMPONENT_H_30FFCD07__