/[libvob]/libvob/doc/pegboard/single_focus_manager--mudyc/peg.rst
ViewVC logotype

Diff of /libvob/doc/pegboard/single_focus_manager--mudyc/peg.rst

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

revision 1.4 by mudyc, Mon Sep 15 13:17:36 2003 UTC revision 1.5 by mudyc, Wed Sep 17 13:08:54 2003 UTC
# Line 7  PEG single_focus_manager--mudyc: Single Line 7  PEG single_focus_manager--mudyc: Single
7  :Date-Created: 2003-09-05  :Date-Created: 2003-09-05
8  :Last-Modified: $Date$  :Last-Modified: $Date$
9  :Revision: $Revision$  :Revision: $Revision$
10  :Status:   Incomplete  :Status:   Current
11  :Stakeholders: mudyc, tjl, benja  :Stakeholders: mudyc, tjl, benja
12  :Scope:    Major  :Scope:    Major
13  :Type:     Interface  :Type:     Interface
14    
15    
16  The buoy oriented interface is in real use and must be stabilized.  The buoy oriented interface is in real use and must be stabilized.
17  Here are the propose interface to be implemented by manager of  Here is the proposed interface.
 one focus view port and buoy view ports.  
18    
19    
20  Issues  Issues
# Line 26  Issues Line 25  Issues
25  Changes  Changes
26  =======  =======
27    
28  We define the following......  We define the following interface.
 The following interface should be implemented:  
29    
30  ::  ::
31    
32      /** An interface for managing the buoy links and the construction      /** An interface for managing the buoy links, focus main node and
33       * of base coordinate systems related to buoy view.       * the construction of base coordinate systems related to buoy view.
34       * Basicly the manager constructs activated coordinate systems for focus, main node,       * Basicly the manager constructs activated coordinate systems for focus, main node,
35       * and for every buoy links. The information of buoys, i.e. buoy anchor, node type etc.,       * and for every buoy links. The information of buoys, i.e. buoy anchor, node type etc.,
36       * are needed afterwards when user clicks any of the buoys to perform an action.       * are needed afterwards when user clicks any of the buoys to perform an action.
# Line 83  The following interface should be implem Line 81  The following interface should be implem
81          void moveFocusTo(Buoy buoy);          void moveFocusTo(Buoy buoy);
82    
83          /** Draw the focus main node. While rendering BuoyViewMainNode          /** Draw the focus main node. While rendering BuoyViewMainNode
84            * BuoyManager get buoys with LinkListener's call back           * BuoyManager get buoys with LinkListener's call back
85            * interface which it implements. The buoys must not be rendered           * interface which it implements. The buoys must not be rendered
86            * while call back linking but after every link, because           * while call back linking but after every link, because
87            * main node might render into stenciled buffer.           * main node might render into stenciled buffer.
88            * @param into The coordinate system where the focus is drawn.           * @param into The coordinate system where the focus is drawn.
89           */           */
90          void draw(VobScene vs, int into);          void draw(VobScene vs, int into);
91    
# Line 95  The following interface should be implem Line 93  The following interface should be implem
93           */           */
94          BuoyViewMainNode getMainNode();          BuoyViewMainNode getMainNode();
95    
96          /** To found the buoy which is clicked ask activated          /** Return the buoy found by coordinate system.
97           * coordinate system from VobScene.           * To found the buoy which is clicked, ask activated
98             * coordinate system from VobScene. If coordinate system
99             * is not constructed in this BuoyManager, null is returned.
100           */           */
101          Buoy getBuoy(int cs);          Buoy getBuoy(int cs);
102    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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