IIRC the viewer toolbar is built from scratch using just detection of whether a 
pendown event 
was over a certain bitmap.

One possible implementation of this is to just abstract out the toolbar detection area 
into 
empty hotspots. These spots can be then filled it with tools of choice. I guess an 
inteface 
similar to "Tap Action Mode 1" form or "Button action" form would fit into the 
application as a 
whole. Each slot can then be either have an action from the drop down, or be left 
empty (allows 
you to space out the icons if you are only using all 10 or 11 slots.

The drawing of the toolbar just draws the icon relevant for the action in that slot, 
and the 
event handler would be similar to what is done now, execpt it just gets the action out 
of the 
tool action arrray. It would be nice to have the same options available as gestures, 
taps, 
buttons, or icons. However its doubtful that the size of icons is merited or not for 
some of 
the lesser-used ones like "half-page down", and "gesture action". 

One caveat of the current toolbar is that the width of each icon is not the same width 
(almost, 
but not quite the same).

BTW, noticed that the viewer had memo export. Tried it out, and it works really well. 
I can 
forsee people asking for more text to export (Possible? since you have already caught 
the top 
of the string in the port to put some more in, or a prompt to ask how far down from 
the visible 
to export?

Best wishes,
Robert

On 23 Jul 2002 at 14:29, Masakazu Matsumoto wrote:

> In the latest viewer, toolbar is already filled with full of icons and 
> there is no place for new feature.
> I frequently use some of them and I've never used some(like autoscroll 
> icons) And also I'm now preparing 4 additional features to the viewer, 
> which I will use much more frequently....  So it would be nice if I can 
> choose the icon to be placed at the position of autoscroll icon, like 
> the command bar icon (Yes, i can choose command bar icon, but toolbar 
> icon is one stroke quicker than command bar icons)
> 
> How do you think?
> 
> matto
> 
> 

  __    
_________________________________________________________
==(__)==  MedicalMnemonics.com   
  o  o    A free non-profit online database to help 
remember the   
  \__/    important details.     
http://www.medicalmnemonics.com


Reply via email to