Ticket #1191 (new defect)

Opened 4 years ago

Last modified 4 years ago

Reinstate the getWindowTick facility for Graphics.SOE.Gtk module

Reported by: guest Owned by: duncan
Priority: normal Milestone: 0.11.0
Component: SOE package Version: 0.11.0
Keywords: getWindowTick openWindowEx Cc: jdg@…

Description

This patch reinstates the original timing facility described in The Haskell School of Expression; for some reason, the gtk2hs instantiation of the SOEGraphics module did not implement this feature, and as a result, all graphics animations end up devouring CPU time needlessly. Paul Hudak has approved this patch in principle (though may not have looked at it in detail) and would certainly appreciate it being applied to the gtk2hs package.

Of course, this is released to the gtk2hs project with the same license as the soegtk module (LGPL).

Many thanks!

Julian Gilbey

Attachments

soegtk.patch (3.5 kB) - added by guest 4 years ago.
Patch for soegtk/Graphics/SOE/Gtk.hs.pp to implement getWindowTick
window-tick (3.1 kB) - added by guest 4 years ago.
Patch against version 0.11.0

Change History

Changed 4 years ago by guest

Patch for soegtk/Graphics/SOE/Gtk.hs.pp to implement getWindowTick

Changed 4 years ago by guest

About to attach an updated patch against version 0.11.0.

Changed 4 years ago by guest

Patch against version 0.11.0

Note: See TracTickets for help on using tickets.