/[gzz]/gzz/doc/pegboard/1017/PEG_1017.rst
ViewVC logotype

Diff of /gzz/doc/pegboard/1017/PEG_1017.rst

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by humppake, Tue Oct 15 13:32:52 2002 UTC revision 1.2 by benja, Tue Oct 15 21:23:18 2002 UTC
# Line 7  PEG 1017: Reading depth parameter for BF Line 7  PEG 1017: Reading depth parameter for BF
7  :Revision: $Revision$  :Revision: $Revision$
8  :Status:   Incomplete  :Status:   Incomplete
9    
10  The reading depth in gzz.view.BFRaster is currently a public  The reading depth in ``gzz.view.BFRaster`` is currently a public
11  attribute, which is only used within BFRaster.read(). We could  attribute, which is only used within ``BFRaster.read()``. We could
12  get rid of it by making it parameter for BFRaster.read().  get rid of it by making it parameter for ``BFRaster.read()``.
13  Since it no longer has default value, BFRaster's reading depth  Since it no longer has default value, ``BFRaster``'s reading depth
14  can't be negligently ignored by view designer.  can't be negligently ignored by view designer.
15            
16  Of course we can leave public depth attribute as it is and  Of course we can leave public depth attribute as it is and
17  make new BFRaster.read() simple to give it a new value and call  make new ``BFRaster.read()`` simple to give it a new value and call
18  the old read().  the old ``read()``.
19    
20  Changes  Changes
21  -------  -------
22    
23       gzz/view/BFRaster.java  ::
24    
25  -    /** The depth to which read() will create the raster.           gzz/view/BFRaster.java
 -     */  
 -    public int depth = 5;  
26    
27  -    public void read(Cell center, Dim[] dims) {      -    /** The depth to which read() will create the raster.
28  +    public void read(Cell center, Dim[] dims, int depth) {      -     */
29        -    public int depth = 5;
30    
31        -    public void read(Cell center, Dim[] dims) {
32        +    public void read(Cell center, Dim[] dims, int depth) {
33    
34    
35    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26