Ignore:
Timestamp:
04/21/20 16:21:20 (4 years ago)
Author:
bnemhaus
Message:

org.expeditee.core.Anchoring -> Rename some parameters to have better names.
org.expeditee.items.widgets.Widget -> Widgets now anchor from two points, their top left corner and their bottom right corner. This allows a widget to have anchoring both left and right (or top and bottom). The left (or top) anchor applies to one of the anchor points. The right (or bottom) to the other.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/core/Anchoring.java

    r1513 r1525  
    131131        }
    132132                       
    133         private void setXAnchor(Integer offset, VerticalDirection left) {
     133        private void setXAnchor(Integer offset, VerticalDirection vertical_direction) {
    134134                _xAnchor = offset;
    135                 verticalDirection = left;
     135                verticalDirection = vertical_direction;
    136136        }
    137137
    138         private void setYAnchor(Integer offset, HorizontalDirection top) {
     138        private void setYAnchor(Integer offset, HorizontalDirection horizontal_direction) {
    139139                _yAnchor = offset;
    140                 horizonalDirection = top;
     140                horizonalDirection = horizontal_direction;
    141141        }
    142142       
Note: See TracChangeset for help on using the changeset viewer.