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.

87 lines
3.1KB

  1. /*
  2. ==============================================================================
  3. This is an automatically generated file created by the Jucer!
  4. Creation date: 10 May 2010 7:13:27pm
  5. Be careful when adding custom code to these files, as only the code within
  6. the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  7. and re-saved.
  8. Jucer version: 1.12
  9. ------------------------------------------------------------------------------
  10. The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
  11. Copyright 2004-6 by Raw Material Software ltd.
  12. ==============================================================================
  13. */
  14. #ifndef __JUCER_HEADER_PROJECTINFORMATIONCOMPONENT_JUCERPROJECTINFORMATIONCOMPONENT_40825900__
  15. #define __JUCER_HEADER_PROJECTINFORMATIONCOMPONENT_JUCERPROJECTINFORMATIONCOMPONENT_40825900__
  16. //[Headers] -- You can add your own extra header files here --
  17. #include "../jucer_Headers.h"
  18. #include "../Project/jucer_Project.h"
  19. //[/Headers]
  20. //==============================================================================
  21. /**
  22. //[Comments]
  23. An auto-generated component, created by the Jucer.
  24. Describe your class and how it works here!
  25. //[/Comments]
  26. */
  27. class ProjectInformationComponent : public Component,
  28. public ChangeListener,
  29. public ButtonListener
  30. {
  31. public:
  32. //==============================================================================
  33. ProjectInformationComponent (Project& project_);
  34. ~ProjectInformationComponent();
  35. //==============================================================================
  36. //[UserMethods] -- You can add your own custom methods in this section.
  37. void changeListenerCallback (void*);
  38. void rebuildConfigTabs();
  39. //[/UserMethods]
  40. void paint (Graphics& g);
  41. void resized();
  42. void buttonClicked (Button* buttonThatWasClicked);
  43. //==============================================================================
  44. juce_UseDebuggingNewOperator
  45. private:
  46. //[UserVariables] -- You can add your own custom variables in this section.
  47. Project& project;
  48. var lastProjectType;
  49. void updateConfigTabs();
  50. void showConfigMenu();
  51. void showExporterMenu();
  52. //[/UserVariables]
  53. //==============================================================================
  54. TabbedComponent* configTabBox;
  55. TextButton* editConfigsButton;
  56. TextButton* openProjectButton;
  57. TextButton* editExportersButton;
  58. //==============================================================================
  59. // (prevent copy constructor and operator= being generated..)
  60. ProjectInformationComponent (const ProjectInformationComponent&);
  61. const ProjectInformationComponent& operator= (const ProjectInformationComponent&);
  62. };
  63. #endif // __JUCER_HEADER_PROJECTINFORMATIONCOMPONENT_JUCERPROJECTINFORMATIONCOMPONENT_40825900__