This change adds font size and font family to the ApplicationSettings to have a single point for manipulating them. The font size can also be changed via the menu or the zoomIn and zoomOut shortcuts on all platforms.
30 lines
719 B
C++
30 lines
719 B
C++
#ifndef REFRESH_CONTROLLER_H
|
|
#define REFRESH_CONTROLLER_H
|
|
|
|
#include "component/controller/Controller.h"
|
|
#include "utility/messaging/MessageListener.h"
|
|
#include "utility/messaging/type/MessageAutoRefreshChanged.h"
|
|
#include "utility/messaging/type/MessageWindowFocus.h"
|
|
|
|
class RefreshView;
|
|
|
|
class RefreshController
|
|
: public Controller
|
|
, public MessageListener<MessageAutoRefreshChanged>
|
|
, public MessageListener<MessageWindowFocus>
|
|
{
|
|
public:
|
|
RefreshController();
|
|
virtual ~RefreshController();
|
|
|
|
private:
|
|
virtual void handleMessage(MessageAutoRefreshChanged* message);
|
|
virtual void handleMessage(MessageWindowFocus* message);
|
|
|
|
RefreshView* getView();
|
|
|
|
bool m_autoRefreshEnabled;
|
|
};
|
|
|
|
#endif // REFRESH_CONTROLLER_H
|