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

Re: [MiNT] Popups



Only about half an year later ...

On Fri, Mar 29, 2013 at 12:24 AM, Jo Even Skarstein <joska@online.no> 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);
  }
This trick actually really works, popups in Thing no more block playback. In the follow up email you had sent a patched CFLib build, however, without symbols so I couldn't link it :)

By any chance, do you still have the patch for this somewhere? I wouldn't mind to let it as is in mxPlay but unfortunately, when programming mxPlay I had been young and stupid so UI updates are all over the place, there's no single 'update_display()' function therefore you can observe effects like end of song => a new one should be started but it is not because the PanelNext() function is omitted leading to the famous sound repeat pattern... 


--
MiKRO / Mystic Bytes
http://mikro.atari.org