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:
Tristan Rowley
2020-03-07 21:59:08 +00:00
parent 6bc4ce92d7
commit aade37bde8
6 changed files with 118 additions and 11 deletions

View File

@@ -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):