[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Popups



On Thu, 2013-03-28 at 21:17 +1000, Miro Kropáček wrote:

> Trouble is that Mikro uses cflib for this stuff, i.e. I'd need to

Yes, ideally this should be fixed in CFlib. Shouldn't be difficult at
all actually. But you don't have to, it can easily be worked around
inside mxPlay too.

At some point in your evnt_timer handler you update the display. So
instead of a simple...

  update_display();

...you surround it in wind_update()-calls like this:

  if (wind_update(BEG_UPDATE|0x100))
  {
    update_display();
    wind_update(END_UPDATE);
  }

That should do the trick. But remember that it doesn't work with plain
TOS or MultiTOS.

>  change it within the library. Does this fix only the popup issue or
> something else, too?

It also fixes the blocking when other processes (like Teradesk) blocks
the screen while doing graw_dragbox() and stuff.

Jo Even