1ere tentative IHM IA
This commit is contained in:
1 parent
44a43828f1
commit
83422c624a
35 files changed
+785
-106
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#ifndef ECHOPRESENTER_HPP
|
||||
#define ECHOPRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class EchoView;
|
||||
|
||||
class EchoPresenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
EchoPresenter(EchoView& v);
|
||||
virtual void activate();
|
||||
virtual void deactivate();
|
||||
virtual ~EchoPresenter() {}
|
||||
|
||||
private:
|
||||
EchoPresenter();
|
||||
EchoView& view;
|
||||
};
|
||||
|
||||
#endif // ECHOPRESENTER_HPP
|
||||
@@ -0,0 +1,23 @@
|
||||
#ifndef ECHOVIEW_HPP
|
||||
#define ECHOVIEW_HPP
|
||||
|
||||
#include <gui_generated/echo_screen/EchoViewBase.hpp>
|
||||
#include <gui/echo_screen/EchoPresenter.hpp>
|
||||
|
||||
class EchoView : public EchoViewBase
|
||||
{
|
||||
public:
|
||||
EchoView();
|
||||
virtual ~EchoView() {}
|
||||
virtual void setupScreen();
|
||||
virtual void tearDownScreen();
|
||||
|
||||
virtual void goBack();
|
||||
virtual void toggleEnabled();
|
||||
virtual void param1Changed(int value);
|
||||
virtual void param2Changed(int value);
|
||||
virtual void param3Changed(int value);
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // ECHOVIEW_HPP
|
||||
@@ -0,0 +1,24 @@
|
||||
#ifndef EQUALIZERPRESENTER_HPP
|
||||
#define EQUALIZERPRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class EqualizerView;
|
||||
|
||||
class EqualizerPresenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
EqualizerPresenter(EqualizerView& v);
|
||||
virtual void activate();
|
||||
virtual void deactivate();
|
||||
virtual ~EqualizerPresenter() {}
|
||||
|
||||
private:
|
||||
EqualizerPresenter();
|
||||
EqualizerView& view;
|
||||
};
|
||||
|
||||
#endif // EQUALIZERPRESENTER_HPP
|
||||
@@ -0,0 +1,30 @@
|
||||
#ifndef EQUALIZERVIEW_HPP
|
||||
#define EQUALIZERVIEW_HPP
|
||||
|
||||
#include <gui_generated/equalizer_screen/EqualizerViewBase.hpp>
|
||||
#include <gui/equalizer_screen/EqualizerPresenter.hpp>
|
||||
|
||||
class EqualizerView : public EqualizerViewBase
|
||||
{
|
||||
public:
|
||||
EqualizerView();
|
||||
virtual ~EqualizerView() {}
|
||||
virtual void setupScreen();
|
||||
virtual void tearDownScreen();
|
||||
|
||||
virtual void goBack();
|
||||
virtual void toggleEnabled();
|
||||
virtual void band1Changed(int value);
|
||||
virtual void band2Changed(int value);
|
||||
virtual void band3Changed(int value);
|
||||
virtual void band4Changed(int value);
|
||||
virtual void band5Changed(int value);
|
||||
virtual void band6Changed(int value);
|
||||
virtual void band7Changed(int value);
|
||||
virtual void band8Changed(int value);
|
||||
virtual void band9Changed(int value);
|
||||
virtual void band10Changed(int value);
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // EQUALIZERVIEW_HPP
|
||||
@@ -0,0 +1,24 @@
|
||||
#ifndef OVERDRIVEPRESENTER_HPP
|
||||
#define OVERDRIVEPRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class OverdriveView;
|
||||
|
||||
class OverdrivePresenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
OverdrivePresenter(OverdriveView& v);
|
||||
virtual void activate();
|
||||
virtual void deactivate();
|
||||
virtual ~OverdrivePresenter() {}
|
||||
|
||||
private:
|
||||
OverdrivePresenter();
|
||||
OverdriveView& view;
|
||||
};
|
||||
|
||||
#endif // OVERDRIVEPRESENTER_HPP
|
||||
@@ -0,0 +1,23 @@
|
||||
#ifndef OVERDRIVEVIEW_HPP
|
||||
#define OVERDRIVEVIEW_HPP
|
||||
|
||||
#include <gui_generated/overdrive_screen/OverdriveViewBase.hpp>
|
||||
#include <gui/overdrive_screen/OverdrivePresenter.hpp>
|
||||
|
||||
class OverdriveView : public OverdriveViewBase
|
||||
{
|
||||
public:
|
||||
OverdriveView();
|
||||
virtual ~OverdriveView() {}
|
||||
virtual void setupScreen();
|
||||
virtual void tearDownScreen();
|
||||
|
||||
virtual void goBack();
|
||||
virtual void toggleEnabled();
|
||||
virtual void param1Changed(int value);
|
||||
virtual void param2Changed(int value);
|
||||
virtual void param3Changed(int value);
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // OVERDRIVEVIEW_HPP
|
||||
@@ -0,0 +1,24 @@
|
||||
#ifndef OVERVIEWPRESENTER_HPP
|
||||
#define OVERVIEWPRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class OverviewView;
|
||||
|
||||
class OverviewPresenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
OverviewPresenter(OverviewView& v);
|
||||
virtual void activate();
|
||||
virtual void deactivate();
|
||||
virtual ~OverviewPresenter() {}
|
||||
|
||||
private:
|
||||
OverviewPresenter();
|
||||
OverviewView& view;
|
||||
};
|
||||
|
||||
#endif // OVERVIEWPRESENTER_HPP
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef OVERVIEWVIEW_HPP
|
||||
#define OVERVIEWVIEW_HPP
|
||||
|
||||
#include <gui_generated/overview_screen/OverviewViewBase.hpp>
|
||||
#include <gui/overview_screen/OverviewPresenter.hpp>
|
||||
|
||||
class OverviewView : public OverviewViewBase
|
||||
{
|
||||
public:
|
||||
OverviewView();
|
||||
virtual ~OverviewView() {}
|
||||
virtual void setupScreen();
|
||||
virtual void tearDownScreen();
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // OVERVIEWVIEW_HPP
|
||||
@@ -0,0 +1,24 @@
|
||||
#ifndef REVERBPRESENTER_HPP
|
||||
#define REVERBPRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class ReverbView;
|
||||
|
||||
class ReverbPresenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
ReverbPresenter(ReverbView& v);
|
||||
virtual void activate();
|
||||
virtual void deactivate();
|
||||
virtual ~ReverbPresenter() {}
|
||||
|
||||
private:
|
||||
ReverbPresenter();
|
||||
ReverbView& view;
|
||||
};
|
||||
|
||||
#endif // REVERBPRESENTER_HPP
|
||||
@@ -0,0 +1,23 @@
|
||||
#ifndef REVERBVIEW_HPP
|
||||
#define REVERBVIEW_HPP
|
||||
|
||||
#include <gui_generated/reverb_screen/ReverbViewBase.hpp>
|
||||
#include <gui/reverb_screen/ReverbPresenter.hpp>
|
||||
|
||||
class ReverbView : public ReverbViewBase
|
||||
{
|
||||
public:
|
||||
ReverbView();
|
||||
virtual ~ReverbView() {}
|
||||
virtual void setupScreen();
|
||||
virtual void tearDownScreen();
|
||||
|
||||
virtual void goBack();
|
||||
virtual void toggleEnabled();
|
||||
virtual void param1Changed(int value);
|
||||
virtual void param2Changed(int value);
|
||||
virtual void param3Changed(int value);
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // REVERBVIEW_HPP
|
||||
@@ -0,0 +1,24 @@
|
||||
#ifndef SATURATIONPRESENTER_HPP
|
||||
#define SATURATIONPRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class SaturationView;
|
||||
|
||||
class SaturationPresenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
SaturationPresenter(SaturationView& v);
|
||||
virtual void activate();
|
||||
virtual void deactivate();
|
||||
virtual ~SaturationPresenter() {}
|
||||
|
||||
private:
|
||||
SaturationPresenter();
|
||||
SaturationView& view;
|
||||
};
|
||||
|
||||
#endif // SATURATIONPRESENTER_HPP
|
||||
@@ -0,0 +1,22 @@
|
||||
#ifndef SATURATIONVIEW_HPP
|
||||
#define SATURATIONVIEW_HPP
|
||||
|
||||
#include <gui_generated/saturation_screen/SaturationViewBase.hpp>
|
||||
#include <gui/saturation_screen/SaturationPresenter.hpp>
|
||||
|
||||
class SaturationView : public SaturationViewBase
|
||||
{
|
||||
public:
|
||||
SaturationView();
|
||||
virtual ~SaturationView() {}
|
||||
virtual void setupScreen();
|
||||
virtual void tearDownScreen();
|
||||
|
||||
virtual void goBack();
|
||||
virtual void toggleEnabled();
|
||||
virtual void param1Changed(int value);
|
||||
virtual void param2Changed(int value);
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // SATURATIONVIEW_HPP
|
||||
@@ -1,36 +0,0 @@
|
||||
#ifndef SCREEN1PRESENTER_HPP
|
||||
#define SCREEN1PRESENTER_HPP
|
||||
|
||||
#include <gui/model/ModelListener.hpp>
|
||||
#include <mvp/Presenter.hpp>
|
||||
|
||||
using namespace touchgfx;
|
||||
|
||||
class Screen1View;
|
||||
|
||||
class Screen1Presenter : public touchgfx::Presenter, public ModelListener
|
||||
{
|
||||
public:
|
||||
Screen1Presenter(Screen1View& v);
|
||||
|
||||
/**
|
||||
* The activate function is called automatically when this screen is "switched in"
|
||||
* (ie. made active). Initialization logic can be placed here.
|
||||
*/
|
||||
virtual void activate();
|
||||
|
||||
/**
|
||||
* The deactivate function is called automatically when this screen is "switched out"
|
||||
* (ie. made inactive). Teardown functionality can be placed here.
|
||||
*/
|
||||
virtual void deactivate();
|
||||
|
||||
virtual ~Screen1Presenter() {}
|
||||
|
||||
private:
|
||||
Screen1Presenter();
|
||||
|
||||
Screen1View& view;
|
||||
};
|
||||
|
||||
#endif // SCREEN1PRESENTER_HPP
|
||||
@@ -1,18 +0,0 @@
|
||||
#ifndef SCREEN1VIEW_HPP
|
||||
#define SCREEN1VIEW_HPP
|
||||
|
||||
#include <gui_generated/screen1_screen/Screen1ViewBase.hpp>
|
||||
#include <gui/screen1_screen/Screen1Presenter.hpp>
|
||||
|
||||
class Screen1View : public Screen1ViewBase
|
||||
{
|
||||
public:
|
||||
Screen1View();
|
||||
virtual ~Screen1View() {}
|
||||
virtual void setupScreen();
|
||||
virtual void tearDownScreen();
|
||||
virtual void slider1Clicked(int value);
|
||||
protected:
|
||||
};
|
||||
|
||||
#endif // SCREEN1VIEW_HPP
|
||||
Reference in new issue
Block a user