Skip to content

Commit

Permalink
fix: Added a better description of the onscreen manager
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoDell committed Jul 30, 2023
1 parent ec4bcde commit 8f8ad5d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/source/posts/2023/2023-07-24-week-8-joaodellagli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,17 @@ commits by prefixes, so I did that as well.
So how did it go?
-----------------

Well, the implemented manager class is named ``EffectManager()`` and to initialize it you only need to pass the onscreen manager:
Well, the implemented manager class is named ``EffectManager()`` and to initialize it you only need to pass the onscreen manager.
The onscreen manager is the standard FURY window manager you would use in a normal FURY-based program:

.. code-block:: python
# Onscreen manager setup
from fury import window
scene = window.Scene()
onscreen_manager = window.ShowManager(scene, "demo", (width, height))
effects = EffectManager(onscreen_manager)
Expand Down

0 comments on commit 8f8ad5d

Please sign in to comment.