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.

78 lines
2.7KB

  1. /*
  2. ==============================================================================
  3. This is an automatically generated file created by the Jucer!
  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 v1.53.8
  8. ------------------------------------------------------------------------------
  9. JUCE and the Jucer are copyright 2004-10 by Raw Material Software ltd.
  10. ==============================================================================
  11. */
  12. #ifndef __JUCER_PROJECTINFORMATIONCOMPONENT_H_2F89B0AC__
  13. #define __JUCER_PROJECTINFORMATIONCOMPONENT_H_2F89B0AC__
  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. void rebuildConfigTabs();
  35. //[/UserMethods]
  36. void resized();
  37. void buttonClicked (Button* buttonThatWasClicked);
  38. void paint (Graphics& g);
  39. private:
  40. //==============================================================================
  41. //[UserVariables] -- You can add your own custom variables in this section.
  42. Project& project;
  43. var lastProjectType;
  44. void updateConfigTabs();
  45. void showConfigMenu();
  46. void showExporterMenu();
  47. //[/UserVariables]
  48. //==============================================================================
  49. TabbedComponent configTabBox;
  50. TextButton editConfigsButton;
  51. TextButton openProjectButton;
  52. TextButton editExportersButton;
  53. TextButton saveAndOpenButton;
  54. //==============================================================================
  55. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProjectInformationComponent);
  56. };
  57. #endif // __JUCER_PROJECTINFORMATIONCOMPONENT_H_2F89B0AC__