andrewm@0: /* andrewm@0: ============================================================================== andrewm@0: andrewm@0: This is an automatically generated GUI class created by the Introjucer! andrewm@0: andrewm@0: Be careful when adding custom code to these files, as only the code within andrewm@0: the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded andrewm@0: and re-saved. andrewm@0: andrewm@0: Created with Introjucer version: 3.1.0 andrewm@0: andrewm@0: ------------------------------------------------------------------------------ andrewm@0: andrewm@0: The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions" andrewm@0: Copyright 2004-13 by Raw Material Software Ltd. andrewm@0: andrewm@0: ============================================================================== andrewm@0: */ andrewm@0: andrewm@0: #ifndef __JUCE_HEADER_8369B097DBF9195A__ andrewm@0: #define __JUCE_HEADER_8369B097DBF9195A__ andrewm@0: andrewm@0: //[Headers] -- You can add your own extra header files here -- andrewm@0: #ifndef TOUCHKEYS_NO_GUI andrewm@0: andrewm@0: #include "JuceHeader.h" andrewm@0: #include "../Mappings/MappingFactory.h" andrewm@0: andrewm@0: class MappingListComponent; andrewm@0: //[/Headers] andrewm@0: andrewm@0: andrewm@0: andrewm@0: //============================================================================== andrewm@0: /** andrewm@0: //[Comments] andrewm@0: An auto-generated component, created by the Introjucer. andrewm@0: andrewm@0: Describe your class and how it works here! andrewm@0: //[/Comments] andrewm@0: */ andrewm@0: class MappingListItem : public Component, andrewm@0: public ButtonListener andrewm@0: { andrewm@0: public: andrewm@0: //============================================================================== andrewm@0: MappingListItem (MappingListComponent& listComponent); andrewm@0: ~MappingListItem(); andrewm@0: andrewm@0: //============================================================================== andrewm@0: //[UserMethods] -- You can add your own custom methods in this section. andrewm@0: static void alertBoxResultChosen(int result, MappingListItem *item); andrewm@0: void deleteMapping(); andrewm@0: andrewm@0: MappingFactory* mappingFactory() { return factory_; } andrewm@0: void setMappingFactory(MappingFactory *factory); andrewm@0: void synchronize(); andrewm@0: //[/UserMethods] andrewm@0: andrewm@0: void paint (Graphics& g); andrewm@0: void resized(); andrewm@0: void buttonClicked (Button* buttonThatWasClicked); andrewm@0: andrewm@0: andrewm@0: andrewm@0: private: andrewm@0: //[UserVariables] -- You can add your own custom variables in this section. andrewm@0: MappingFactory *factory_; andrewm@0: MappingListComponent& listComponent_; andrewm@0: //[/UserVariables] andrewm@0: andrewm@0: //============================================================================== andrewm@0: ScopedPointer bypassToggleButton; andrewm@0: ScopedPointer showDetailsButton; andrewm@0: ScopedPointer