StatusBar.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*
  2. ==============================================================================
  3. This is an automatically generated GUI class created by the Introjucer!
  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 with Introjucer version: 3.1.0
  8. ------------------------------------------------------------------------------
  9. The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
  10. Copyright 2004-13 by Raw Material Software Ltd.
  11. ==============================================================================
  12. */
  13. #ifndef _STATUSBAR_H_
  14. #define _STATUSBAR_H_
  15. //[Headers] -- You can add your own extra header files here --
  16. #include "JuceHeader.h"
  17. //[/Headers]
  18. //==============================================================================
  19. /**
  20. //[Comments]
  21. StatusBar is a sub-section of the main jam "screen"
  22. it displays state information such as current server, BPM, BPI
  23. //[/Comments]
  24. */
  25. class StatusBar : public Component
  26. {
  27. public:
  28. //==============================================================================
  29. StatusBar ();
  30. ~StatusBar();
  31. //==============================================================================
  32. //[UserMethods] -- You can add your own custom methods in this section.
  33. void setStatusL(String statusText) ;
  34. void setStatusR(String statusText) ;
  35. //[/UserMethods]
  36. void paint (Graphics& g);
  37. void resized();
  38. private:
  39. //[UserVariables] -- You can add your own custom variables in this section.
  40. //[/UserVariables]
  41. //==============================================================================
  42. ScopedPointer<Label> statusLLabel;
  43. ScopedPointer<Label> statusRLabel;
  44. //==============================================================================
  45. JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StatusBar)
  46. };
  47. //[EndFile] You can add extra defines here...
  48. //[/EndFile]
  49. #endif // _STATUSBAR_H_