mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-14 20:30:06 +01:00
Tidyups to make showing bar graphics easier, ShaderQuickPresetPlugin has a display page that summarises the currently selected preset, Frame knows how to summarise stuff for display
This commit is contained in:
@@ -412,6 +412,9 @@ class PluginCollection(object):
|
||||
"""Upon creation, this class will read the plugins package for modules
|
||||
that contain a class definition that is inheriting from the Plugin class
|
||||
"""
|
||||
@property
|
||||
def display(self):
|
||||
return self.actions.display
|
||||
|
||||
@property
|
||||
def shaders(self):
|
||||
@@ -436,6 +439,7 @@ class PluginCollection(object):
|
||||
#self.actions = message_handler.actions
|
||||
self.reload_plugins()
|
||||
|
||||
# set up a FrameManager too so that plugins can use it
|
||||
self.fm = FrameManager(self)
|
||||
|
||||
def read_json(self, file_name):
|
||||
|
||||
Reference in New Issue
Block a user