[haiku-commits] Re: r39259 - haiku/trunk/src/apps/showimage

Ryan Leavengood <leavengood@xxxxxxxxx> wrote:
> On 1/8/11, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> > I don't even remember having done that. I might have a look at it
> > tomorrow.
> To give you a head start it seems you #if'ed it out because
> navigation
> support was moved outside of ShowImageView. I think to fix this you
> just need to move the slideshow code to ShowImageWindow (where it
> belongs anyhow.)

Thanks, that was it exactly.

> Though it is implemented in ShowImageView::Pulse() (and windows don't
> have a Pulse() callback) so you may need to find another solution.
> Guess you could just look for B_PULSE in
> ShowImageWindow::MessageReceived().

I found the previous solution rather ugly, and I simply used a
dedicated BMessageRunner now in r40178. I couldn't test it yet, though,
unfortunately, so it might not work yet.

Bye,
   Axel.


Other related posts: