Author Topic: HistoryPlugin - need m_text added to surface in layout  (Read 3077 times)

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
HistoryPlugin - need m_text added to surface in layout
« 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?

keilmillerjr

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1167
    • View Profile
Re: HistoryPlugin - need m_text added to surface in layout
« Reply #1 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?

jedione

  • Hero Member
  • *****
  • Posts: 1135
  • punktoe
    • View Profile
Re: HistoryPlugin - need m_text added to surface in layout
« Reply #2 on: November 11, 2016, 07:36:58 PM »
thank you....good reference.
help a friend....