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.

82 lines
2.9KB

  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.52.92
  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_ProjectExporter.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 Button::Listener
  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 (void*);
  34. void rebuildConfigTabs();
  35. //[/UserMethods]
  36. void resized();
  37. void buttonClicked (Button* buttonThatWasClicked);
  38. void paint (Graphics& g);
  39. //==============================================================================
  40. juce_UseDebuggingNewOperator
  41. private:
  42. //[UserVariables] -- You can add your own custom variables in this section.
  43. Project& project;
  44. var lastProjectType;
  45. void updateConfigTabs();
  46. void showConfigMenu();
  47. void showExporterMenu();
  48. //[/UserVariables]
  49. //==============================================================================
  50. TabbedComponent configTabBox;
  51. TextButton editConfigsButton;
  52. TextButton openProjectButton;
  53. TextButton editExportersButton;
  54. TextButton saveAndOpenButton;
  55. //==============================================================================
  56. // (prevent copy constructor and operator= being generated..)
  57. ProjectInformationComponent (const ProjectInformationComponent&);
  58. ProjectInformationComponent& operator= (const ProjectInformationComponent&);
  59. };
  60. #endif // __JUCER_PROJECTINFORMATIONCOMPONENT_H_2F89B0AC__