4 |
|
|
5 |
:Author: Benja Fallenstein |
:Author: Benja Fallenstein |
6 |
:Date: 2002-10-06 |
:Date: 2002-10-06 |
7 |
:Status: Incomplete |
:Status: Current |
8 |
|
|
9 |
|
|
10 |
Tuomas Lukka wrote in "[Gzz] gzz.vob.vobs, gzz.vobs or ???" (2002-08-26): |
Tuomas Lukka wrote in "[Gzz] gzz.vob.vobs, gzz.vobs or ???" (2002-08-26): |
13 |
and leave only the framework classes there. However, there's a bit of |
and leave only the framework classes there. However, there's a bit of |
14 |
a naming problem... |
a naming problem... |
15 |
|
|
16 |
I propose to split the vob package in three parts: |
I propose to split the vob package in the following parts: |
17 |
|
|
18 |
- ``gzz.vob``: the interfaces |
- ``gzz.vob``: the interfaces, including ``GraphicsAPI`` |
19 |
|
- ``gzz.vob.breaking``: linebreaking-related code |
20 |
- ``gzz.vob.impl``: the default impls of ``VobScene`` etc. |
- ``gzz.vob.impl``: the default impls of ``VobScene`` etc. |
21 |
|
- ``gzz.vob.impl.awt``, ``gzz.vob.impl.gl``: Platform-specific stuff. |
22 |
- ``gzz.vob.util``: the default vob impls |
- ``gzz.vob.util``: the default vob impls |
23 |
|
|
24 |
After this, ``gzz.vob`` would be added to the list of frozen packages |
After this, ``gzz.vob`` would be added to the list of frozen packages |
26 |
|
|
27 |
.. _pegboard: ../pegboard.html |
.. _pegboard: ../pegboard.html |
28 |
|
|
|
It would also be nice to move the ``GraphicsAPI`` and platform-related |
|
|
classes here, if it's possible to separate them cleanly from Gzz-specific |
|
|
code: |
|
|
|
|
|
- ``gzz.vob.impl.awt`` |
|
|
- ``gzz.vob.impl.gl`` |
|
|
|
|
|
Is this possible? [Note: this question is why this PEG is 'incomplete.'] |
|
|
|
|
|
In the future, a ``gzz.vob.breaking`` package for linebreaking-related |
|
|
interfaces might be nice, but for now I propose to put the interfaces |
|
|
into ``gzz.vob``, the linebreaker implementations into ``gzz.vob.impl``, |
|
|
and the ``HBox``es into ``gzz.vob.util``. |
|
|
|
|
29 |
\- Benja |
\- Benja |
30 |
|
|