Background.cpp 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. //[Headers] You can add your own extra header files here...
  14. //[/Headers]
  15. #include "Background.h"
  16. //[MiscUserDefs] You can add your own user definitions and misc code here...
  17. //[/MiscUserDefs]
  18. //==============================================================================
  19. Background::Background ()
  20. {
  21. setName ("Background");
  22. //[UserPreSize]
  23. //[/UserPreSize]
  24. setSize (630, 470);
  25. //[Constructor] You can add your own custom stuff here..
  26. //[/Constructor]
  27. }
  28. Background::~Background()
  29. {
  30. //[Destructor_pre]. You can add your own custom destruction code here..
  31. //[/Destructor_pre]
  32. //[Destructor]. You can add your own custom destruction code here..
  33. //[/Destructor]
  34. }
  35. //==============================================================================
  36. void Background::paint (Graphics& g)
  37. {
  38. //[UserPrePaint] Add your own custom painting code here..
  39. //[/UserPrePaint]
  40. g.fillAll (Colour (0xff202020));
  41. //[UserPaint] Add your own custom painting code here..
  42. //[/UserPaint]
  43. }
  44. void Background::resized()
  45. {
  46. //[UserResized] Add your own custom resize handling here..
  47. //[/UserResized]
  48. }
  49. //[MiscUserCode] You can add your own definitions of your custom methods or any other code here...
  50. //[/MiscUserCode]
  51. //==============================================================================
  52. #if 0
  53. /* -- Introjucer information section --
  54. This is where the Introjucer stores the metadata that describe this GUI layout, so
  55. make changes in here at your peril!
  56. BEGIN_JUCER_METADATA
  57. <JUCER_COMPONENT documentType="Component" className="Background" componentName="Background"
  58. parentClasses="public Component" constructorParams="" variableInitialisers=""
  59. snapPixels="8" snapActive="1" snapShown="1" overlayOpacity="0.330"
  60. fixedSize="0" initialWidth="630" initialHeight="470">
  61. <BACKGROUND backgroundColour="ff202020"/>
  62. </JUCER_COMPONENT>
  63. END_JUCER_METADATA
  64. */
  65. #endif
  66. //[EndFile] You can add extra defines here...
  67. //[/EndFile]