Ignore:
Timestamp:
2013-01-09T23:32:41+13:00 (11 years ago)
Author:
davidb
Message:

Change in a variable name, position of some overlay annotations and introduction of a method to position overlay link items relative to the screen size.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/GlamED/trunk/src/org/honours/gui/Interfaces.java

    r26588 r26635  
    3131   
    3232    private static final String AO_TEXT3 = "@ao:3";
    33     private static final String _aoText4 = "@ao:4";
     33    private static final String AO_TEXT4 = "@ao:4";
    3434
    3535    //used to determine positioning of the various @ao:3/4 text items.
    36     private static int _mainOverAoX = 3;
    37     private static int _mainOverAoY = 10;
     36    private static int _mainOverAoX = 1272;
     37    private static int _mainOverAoY = 130;
    3838   
    3939    private static int _toolbarAoX = 1272;
     
    4848    private static String _overlayAnnotationData = "overlay-annotation";
    4949   
     50   
     51    /** Method to set up overlay locations relative to the screen size. **/
     52    public static void setUpOverlayLocations(){
     53       
     54    }
    5055   
    5156    /**
     
    176181            Text t = list.get(i);
    177182           
    178             if(t.getText().equals(_aoText4)){
     183            if(t.getText().equals(AO_TEXT4)){
    179184               
    180185                if(t.hasLink()){
     
    224229            }
    225230           
    226             Text newText = ciFrame.addText(_notesAoX,_notesAoY,_aoText4,null);
     231            Text newText = ciFrame.addText(_notesAoX,_notesAoY,AO_TEXT4,null);
    227232            newText.setLink(getNotesOverlayFrame.getName());
    228233        }
Note: See TracChangeset for help on using the changeset viewer.