/*
  ==============================================================================

  This is an automatically generated file created by the Jucer!

  Creation date:  15 May 2013 4:41:55pm

  Be careful when adding custom code to these files, as only the code within
  the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
  and re-saved.

  Jucer version: 1.12

  ------------------------------------------------------------------------------

  The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
  Copyright 2004-6 by Raw Material Software ltd.

  ==============================================================================
*/

#ifndef __JUCER_HEADER_SETTINGSDIALOGCOMPONENT_SETTINGSDIALOGCOMPONENT_9545D2EA__
#define __JUCER_HEADER_SETTINGSDIALOGCOMPONENT_SETTINGSDIALOGCOMPONENT_9545D2EA__

//[Headers]     -- You can add your own extra header files here --
#include "../JuceHeader.h"

#include "../Processor.h"
//[/Headers]



//==============================================================================
/**
                                                                    //[Comments]
    An auto-generated component, created by the Jucer.

    Describe your class and how it works here!
                                                                    //[/Comments]
*/
class SettingsDialogComponent  : public Component,
                                 public ButtonListener
{
public:
    //==============================================================================
    SettingsDialogComponent (Processor& processor);
    ~SettingsDialogComponent();

    //==============================================================================
    //[UserMethods]     -- You can add your own custom methods in this section.
    //[/UserMethods]

    void paint (Graphics& g);
    void resized();
    void buttonClicked (Button* buttonThatWasClicked);

    // Binary resources:
    static const char* hifilofi_jpg;
    static const int hifilofi_jpgSize;


    //==============================================================================
    juce_UseDebuggingNewOperator

private:
    //[UserVariables]   -- You can add your own custom variables in this section.
    Processor& _processor;
    juce::ScopedPointer<juce::FileBrowserComponent> _irDirectoryBrowserComponent;
    //[/UserVariables]

    //==============================================================================
    GroupComponent* _irDirectoryGroupComponent;
    GroupComponent* _aboutGroupComponent;
    Label* _nameVersionLabel;
    Label* _copyrightLabel;
    Label* _myLabel;
    HyperlinkButton* _licenseHyperlink;
    GroupComponent* _infoGroupComponent;
    Label* _juceVersionPrefixLabel;
    Label* _juceVersionLabel;
    Label* _numberInputsPrefixLabel;
    Label* _numberInputsLabel;
    Label* _numberOutputsPrefixLabel;
    Label* _numberOutputsLabel;
    Label* _sseOptimizationPrefixLabel;
    Label* _sseOptimizationLabel;
    Label* _headBlockSizePrefixLabel;
    Label* _headBlockSizeLabel;
    Label* _tailBlockSizePrefixLabel;
    Label* _tailBlockSizeLabel;
    TextButton* _selectIRDirectoryButton;
    Image cachedImage_hifilofi_jpg;


    //==============================================================================
    // (prevent copy constructor and operator= being generated..)
    SettingsDialogComponent (const SettingsDialogComponent&);
    const SettingsDialogComponent& operator= (const SettingsDialogComponent&);
};


#endif   // __JUCER_HEADER_SETTINGSDIALOGCOMPONENT_SETTINGSDIALOGCOMPONENT_9545D2EA__
