- color and altitude mode can be changed from GUI
git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@126 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -39,7 +39,9 @@
|
||||
*/
|
||||
class MainComponent : public Component,
|
||||
public IFsLinkListener,
|
||||
public SliderListener
|
||||
public ChangeListener,
|
||||
public SliderListener,
|
||||
public ComboBoxListener
|
||||
{
|
||||
public:
|
||||
//==============================================================================
|
||||
@@ -53,24 +55,28 @@ public:
|
||||
void paint (Graphics& g);
|
||||
void resized();
|
||||
void sliderValueChanged (Slider* sliderThatWasMoved);
|
||||
void comboBoxChanged (ComboBox* comboBoxThatHasChanged);
|
||||
|
||||
|
||||
|
||||
private:
|
||||
//[UserVariables] -- You can add your own custom variables in this section.
|
||||
ScopedPointer<TooltipWindow> m_toolTip;
|
||||
ScopedPointer<FsLink> m_fsLink;
|
||||
ScopedPointer<Kml> m_kml;
|
||||
ScopedPointer<HttpServer> m_httpServer;
|
||||
|
||||
void onStateChanged(IFsLink &obj);
|
||||
void onDataChanged(IFsLink &obj);
|
||||
|
||||
void changeListenerCallback(juce::ChangeBroadcaster *source);
|
||||
//[/UserVariables]
|
||||
|
||||
//==============================================================================
|
||||
ScopedPointer<Label> m_fsuipcStatus;
|
||||
ScopedPointer<Label> m_flightStatus;
|
||||
ScopedPointer<Slider> m_kmlUpdInterval_s;
|
||||
ScopedPointer<ColourSelector> m_colorSelector;
|
||||
ScopedPointer<ComboBox> m_altitudeMode;
|
||||
|
||||
|
||||
//==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user