Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: keilmillerjr on November 09, 2016, 12:12:53 PM

Title: HistoryPlugin - need m_text added to surface in layout
Post by: keilmillerjr on November 09, 2016, 12:12:53 PM
My layout has all objects drawn to a surface with a filter applied. Id like the same filter to be applied to the history plugin. Maybe some one can steer me in the right direction.

The fe object cant have filters applied. Only to surfaces. I cant pass my surgave object to a plugin, correct?
Title: Re: HistoryPlugin - need m_text added to surface in layout
Post by: keilmillerjr on November 10, 2016, 09:39:20 PM
I acomplished my goal. I copied/modified the class HistoryViewer into my layout. This is nice because i can have the menu hide after inactivity and my layout goes into its attract sequence.

To get this to work, I had to copy file_util.nut to my theme. Maybe the file should be a module so we dont have to include copies in our layouts for history functionality? Or possibly have access via a fe.variable to a plugin directory?
Title: Re: HistoryPlugin - need m_text added to surface in layout
Post by: jedione on November 11, 2016, 07:36:58 PM
thank you....good reference.