forked from openlp/openlp
fixed docstrings
This commit is contained in:
parent
9259eed4a6
commit
a75e0156cc
@ -57,14 +57,14 @@ class Renderer(object):
|
|||||||
|
|
||||||
def __init__(self, imageManager, themeManager):
|
def __init__(self, imageManager, themeManager):
|
||||||
"""
|
"""
|
||||||
Initialise the render manager.
|
Initialise the renderer.
|
||||||
|
|
||||||
``imageManager``
|
``imageManager``
|
||||||
A ImageManager instance which takes care of e. g. caching and resizing
|
A imageManager instance which takes care of e. g. caching and resizing
|
||||||
images.
|
images.
|
||||||
|
|
||||||
``themeManager``
|
``themeManager``
|
||||||
The ThemeManager instance, used to get the current theme details.
|
The themeManager instance, used to get the current theme details.
|
||||||
"""
|
"""
|
||||||
log.debug(u'Initialisation started')
|
log.debug(u'Initialisation started')
|
||||||
self.themeManager = themeManager
|
self.themeManager = themeManager
|
||||||
@ -81,7 +81,7 @@ class Renderer(object):
|
|||||||
|
|
||||||
def update_display(self):
|
def update_display(self):
|
||||||
"""
|
"""
|
||||||
Updates the render manager's information about the current screen.
|
Updates the renderer's information about the current screen.
|
||||||
"""
|
"""
|
||||||
log.debug(u'Update Display')
|
log.debug(u'Update Display')
|
||||||
self._calculate_default()
|
self._calculate_default()
|
||||||
|
@ -159,8 +159,8 @@ class ServiceItem(object):
|
|||||||
def render(self, use_override=False):
|
def render(self, use_override=False):
|
||||||
"""
|
"""
|
||||||
The render method is what generates the frames for the screen and
|
The render method is what generates the frames for the screen and
|
||||||
obtains the display information from the renderemanager. At this point
|
obtains the display information from the renderer. At this point all
|
||||||
all the slides are built for the given display size.
|
slides are built for the given display size.
|
||||||
"""
|
"""
|
||||||
log.debug(u'Render called')
|
log.debug(u'Render called')
|
||||||
self._display_frames = []
|
self._display_frames = []
|
||||||
|
Loading…
Reference in New Issue
Block a user