ui: added shortcut to refresh view
Added a refresh shortcut to the new View menu, that causes stylesheets to be refreshed by dispatching a MessageRefresh.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef MESSAGE_REFRESH_H
|
||||
#define MESSAGE_REFRESH_H
|
||||
|
||||
#include "utility/messaging/Message.h"
|
||||
#include "utility/types.h"
|
||||
|
||||
class MessageRefresh: public Message<MessageRefresh>
|
||||
{
|
||||
public:
|
||||
MessageRefresh()
|
||||
{
|
||||
}
|
||||
|
||||
static const std::string getStaticType()
|
||||
{
|
||||
return "MessageRefresh";
|
||||
}
|
||||
};
|
||||
|
||||
#endif // MESSAGE_REFRESH_H
|
||||
Reference in New Issue
Block a user