Commit Graph

4 Commits

Author SHA1 Message Date
Jente Hidskes
cd6c528608 UI files: unmark placeholder strings as translatable 2017-08-21 11:06:38 +02:00
Jente Hidskes
7fd66be80f MousePerspective: change button icon to text
Fixes #69.
2017-08-11 13:30:25 +01:00
Jente Hidskes
fb130e6719 MousePerspective: highlight the commit button when a profile gets dirty 2017-08-11 11:07:58 +01:00
Jente Hidskes
52bb5e3781 Introduce perspectives to manage different screens
The welcome and error screens both require a different "perspective"
into Piper, while being in the same window. For this reason, we
introduce a titlebar and a regular stack and the concept of a
"perspective", which is defined as a certain view into Piper.

A perspective needs to implement an interface of sorts of two methods:
one to retrieve its string name, and another to retrieve its widget titlebar.

Different scenarios can then show different perspectives, that have full
control over the main widget and the titlebar displayed. This commit
introduces the MousePerspective, which is a perspective showing the
mouse configuration. Future commits will add an ErrorPerspective and a
WelcomePerspective, and even further into the future we can add a
KeyboardPerspective as well.
2017-08-09 19:17:45 +01:00