View Single Post
Old 04-20-2010, 05:43 PM   #106
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Quote:
Originally Posted by Matthijs View Post
I would like to get some feedback on how to best implement a shortcut for the various pen modes. Let me explain the problem:

In the document viewer (UDS), the stylus can be in one of the following modes:
  • pencil
  • eraser
  • panning
  • zooming
  • nothing

In the Notepad app, it is easy: the stylus can be either a pencil or an eraser, so switching by clicking on the icon is unambiguous.

In the document viewer, it's not that easy. There is no logical 'next state' to be defined. If you're in pencil mode, you may want to either go back to 'nothing' or go to 'eraser'. When you're zoomed in, you may want to switch between 'panning' and 'nothing', but you may also want to enable the pencil.

What we could do is by clicking the icon it will cycle through the modes which are available in the current state, which may be (depending on your settings):

nothing, pencil, eraser, panning, (zooming)

I would personally exclude zooming from the list, as you don't need that too often.

Comments, thoughts? I cannot promise this will make it into 2.0 (since that's mostly finalized) but if it doesn't make it we will certainly look at this for the next version.
I would vote for a different and simpler approach: 2 independent "circuits".
- a drawing state machine, with 3 cycling states: pen, eraser, nothing
and:
- a viewing state machine, with 3 cycling states: zoom, pan, nothing

Activate or change to one of these circuits using the menu (isn't it a popup menu in fact?).

The reasoning behind this proposal is that both circuits are very different in nature, and it's not usual to change from one activities to the other.
Iņigo is offline   Reply With Quote