123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /*
- ==============================================================================
- This is an automatically generated GUI class created by the Introjucer!
- 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.
- Created with Introjucer version: 3.1.0
- ------------------------------------------------------------------------------
- The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
- Copyright 2004-13 by Raw Material Software Ltd.
- ==============================================================================
- */
- #ifndef __JUCE_HEADER_EB46FF61849DA256__
- #define __JUCE_HEADER_EB46FF61849DA256__
- //[Headers] -- You can add your own extra header files here --
- #include "Channels.h"
- #include "JuceHeader.h"
- //[/Headers]
- //==============================================================================
- /**
- //[Comments]
- An auto-generated component, created by the Introjucer.
- Describe your class and how it works here!
- //[/Comments]
- */
- class Mixer : public Component,
- public ButtonListener
- {
- public:
- //==============================================================================
- Mixer ();
- ~Mixer();
- //==============================================================================
- //[UserMethods] -- You can add your own custom methods in this section.
- bool addRemoteUser( ValueTree user_store , ValueTree subscriptions) ;
- bool addChannel( Identifier channels_id , ValueTree channel_store) ;
- void removeChannel( Identifier channels_id , Identifier channel_id) ;
- void positionResizers() ;
- void pruneRemotes( ValueTree active_users) ;
- //[/UserMethods]
- void paint (Graphics& g);
- void resized();
- private:
- //[UserVariables] -- You can add your own custom variables in this section.
- ScopedPointer<MasterChannels> masterChannels ;
- ScopedPointer<LocalChannels> localChannels ;
- ScopedPointer<TextButton> prevScrollButton ;
- ScopedPointer<TextButton> nextScrollButton ;
- ScopedPointer<ResizableEdgeComponent> localsResizer ;
- ScopedPointer<ResizableEdgeComponent> mastersResizer ;
- uint8 scrollZ ;
- void buttonClicked( Button* buttonThatWasClicked) override ;
- void addChannels( Channels* channels , Identifier channels_id) ;
- void removeChannels( Channels* channels) ;
- void addScrollButton( TextButton* scroll_button , String button_text) ;
- void addResizer( ResizableEdgeComponent* resizer) ;
- Channels* getChannels( Identifier channels_id) ;
- int getNumDynamicMixers() ;
- int getLocalsResizerNextX() ;
- int getMastersResizerNextX() ;
- //[/UserVariables]
- //==============================================================================
- //==============================================================================
- JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Mixer)
- };
- //[EndFile] You can add extra defines here...
- //[/EndFile]
- #endif // __JUCE_HEADER_EB46FF61849DA256__
|