Changeset 1258 for trunk/src/org/apollo
- Timestamp:
- 03/18/19 18:38:32 (5 years ago)
- Location:
- trunk/src/org/apollo/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/apollo/gui/ExpandedTrackManager.java
r1102 r1258 170 170 if (!PopupManager.getInstance().isShowing(trackSelectionPopup)) { 171 171 172 trackSelectionPopup.setLocation((DisplayController.getFramePaintArea ().getWidth() - trackSelectionPopup.getFullBounds().getWidth()) / 2, 0);172 trackSelectionPopup.setLocation((DisplayController.getFramePaintAreaWidth() - trackSelectionPopup.getFullBounds().getWidth()) / 2, 0); 173 173 174 174 // Creep from above … … 413 413 assert(Browser._theBrowser != null); 414 414 415 int cpWidth = DisplayController.getFramePaintArea ().getWidth();416 int cpHeight = DisplayController.getFramePaintArea ().getHeight();415 int cpWidth = DisplayController.getFramePaintAreaWidth(); 416 int cpHeight = DisplayController.getFramePaintAreaHeight(); 417 417 if (!DisplayController.isAudienceMode()) { // if message bay is showing - the remove the height 418 418 -
trunk/src/org/apollo/gui/FrameLayoutDaemon.java
r1142 r1258 423 423 // Ensure that left most pixel is at a reasonable position 424 424 if (!supressSpatialLayout && (initiationXPixel < 0 || 425 (initiationXPixel > DisplayController.getFramePaintArea ().getWidth() && DisplayController.getFramePaintArea().getWidth() > leftMargin))) {425 (initiationXPixel > DisplayController.getFramePaintAreaWidth() && DisplayController.getFramePaintAreaWidth() > leftMargin))) { 426 426 initiationXPixel = leftMargin; 427 427 } else if (!supressSpatialLayout && initiationXPixel > LAYOUT_MAX_INITIATION_PIXEL) { … … 432 432 timelineWidth = rightMostPixel - initiationXPixel; 433 433 } else { 434 timelineWidth = DisplayController.getFramePaintArea ().getWidth() - initiationXPixel - rightMargin;434 timelineWidth = DisplayController.getFramePaintAreaWidth() - initiationXPixel - rightMargin; 435 435 } 436 436 … … 546 546 if (width > 0) { 547 547 548 if (width > (DisplayController.getFramePaintArea ().getWidth() - (2 * FREE_SPACE_MARGINS))) {549 width = DisplayController.getFramePaintArea ().getWidth() - (2 * FREE_SPACE_MARGINS);548 if (width > (DisplayController.getFramePaintAreaWidth() - (2 * FREE_SPACE_MARGINS))) { 549 width = DisplayController.getFramePaintAreaWidth() - (2 * FREE_SPACE_MARGINS); 550 550 } 551 551
Note:
See TracChangeset
for help on using the changeset viewer.