andrewm@41: /* andrewm@41: ============================================================================== andrewm@41: andrewm@41: This is an automatically generated GUI class created by the Introjucer! andrewm@41: andrewm@41: Be careful when adding custom code to these files, as only the code within andrewm@41: the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded andrewm@41: and re-saved. andrewm@41: andrewm@41: Created with Introjucer version: 3.1.0 andrewm@41: andrewm@41: ------------------------------------------------------------------------------ andrewm@41: andrewm@41: The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions" andrewm@41: Copyright 2004-13 by Raw Material Software Ltd. andrewm@41: andrewm@41: ============================================================================== andrewm@41: */ andrewm@41: andrewm@41: #ifndef __JUCE_HEADER_AD461861885EB942__ andrewm@41: #define __JUCE_HEADER_AD461861885EB942__ andrewm@41: andrewm@41: //[Headers] -- You can add your own extra header files here -- andrewm@50: #ifndef TOUCHKEYS_NO_GUI andrewm@50: andrewm@41: #include "JuceHeader.h" andrewm@41: #include "TouchkeyControlMappingFactory.h" andrewm@41: //[/Headers] andrewm@41: andrewm@41: andrewm@41: andrewm@41: //============================================================================== andrewm@41: /** andrewm@41: //[Comments] andrewm@41: An auto-generated component, created by the Introjucer. andrewm@41: andrewm@41: Describe your class and how it works here! andrewm@41: //[/Comments] andrewm@41: */ andrewm@41: class TouchkeyControlMappingExtendedEditor : public MappingEditorComponent, andrewm@41: public TextEditor::Listener, andrewm@41: public ComboBoxListener, andrewm@41: public ButtonListener andrewm@41: { andrewm@41: public: andrewm@41: //============================================================================== andrewm@41: TouchkeyControlMappingExtendedEditor (TouchkeyControlMappingFactory& factory); andrewm@41: ~TouchkeyControlMappingExtendedEditor(); andrewm@41: andrewm@41: //============================================================================== andrewm@41: //[UserMethods] -- You can add your own custom methods in this section. andrewm@41: void textEditorTextChanged(TextEditor &editor) {} andrewm@41: void textEditorReturnKeyPressed(TextEditor &editor); andrewm@41: void textEditorEscapeKeyPressed(TextEditor &editor); andrewm@41: void textEditorFocusLost(TextEditor &editor); andrewm@41: andrewm@41: void synchronize(); andrewm@41: String getDescription(); andrewm@41: //[/UserMethods] andrewm@41: andrewm@41: void paint (Graphics& g); andrewm@41: void resized(); andrewm@41: void comboBoxChanged (ComboBox* comboBoxThatHasChanged); andrewm@41: void buttonClicked (Button* buttonThatWasClicked); andrewm@41: andrewm@41: andrewm@41: andrewm@41: private: andrewm@41: //[UserVariables] -- You can add your own custom variables in this section. andrewm@41: String getDescriptionHelper(String baseName); andrewm@41: andrewm@41: TouchkeyControlMappingFactory& factory_; andrewm@41: bool typeWasAbsolute_; andrewm@41: //[/UserVariables] andrewm@41: andrewm@41: //============================================================================== andrewm@41: ScopedPointer inputRangeLowEditor; andrewm@41: ScopedPointer