ui: renamed undo&redo to back&forward, control back&forward via mouse and backspace
* the key codes for mouse back and forward buttons can be defined in the ApplicationSettings * fixed only left mouse button allowed for graph interactions
This commit is contained in:
@@ -149,4 +149,14 @@ int ApplicationSettings::getCoatiPort() const
|
||||
void ApplicationSettings::setCoatiPort(const int coatiPort)
|
||||
{
|
||||
setValue<int>("network/coati_port", coatiPort);
|
||||
}
|
||||
}
|
||||
|
||||
int ApplicationSettings::getControlsMouseBackButton() const
|
||||
{
|
||||
return getValue<int>("controls/mouse_back_button", 0x8);
|
||||
}
|
||||
|
||||
int ApplicationSettings::getControlsMouseForwardButton() const
|
||||
{
|
||||
return getValue<int>("controls/mouse_forward_button", 0x16);
|
||||
}
|
||||
|
||||
@@ -59,6 +59,10 @@ public:
|
||||
int getCoatiPort() const;
|
||||
void setCoatiPort(const int coatiPort);
|
||||
|
||||
// controls
|
||||
int getControlsMouseBackButton() const;
|
||||
int getControlsMouseForwardButton() const;
|
||||
|
||||
private:
|
||||
ApplicationSettings();
|
||||
ApplicationSettings(const ApplicationSettings&);
|
||||
|
||||
Reference in New Issue
Block a user