For step 1, now iViewer resamples de lanscapes image and rotate them 90º, in that point you can implend you behavor. just resample the image. This code is in iViewerModel, getPage(int page).
I hope that this weekend I could try to put a button and call a callback function.
I tried to box all the toolbar behaivor in two classes IliadToolbar and ToolbarEvenHandler. The goal was that you could create a toolbar just creating a new IliadToolbar, adding buttons (addIcon function) and adding callbacks for every button, but that was never implemented (exists a onReceiveToolbarMsg function but all the code is commented).
|