Changeset 1314 for trunk/src/org/expeditee/gui/DisplayController.java
- Timestamp:
- 04/16/19 09:52:23 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/DisplayController.java
r1258 r1314 1375 1375 } 1376 1376 1377 /* 1378 * 1379 * Thread-safe rendering. 1380 * 1381 */ 1382 1377 public static void refreshBayArea() { 1378 // Always get the clip as it clears at the same time 1379 Clip clip = _damagedAreas.getClip(); 1380 GraphicsManager g = EcosystemManager.getGraphicsManager(); 1381 pushBayAreaUpdate(true, clip, g); 1382 } 1383 1383 1384 /** 1384 1385 * Redraws the entire window. Shouldn't be called directly, instead use … … 1441 1442 } 1442 1443 1444 pushBayAreaUpdate(useInvalidation, clip, g); 1445 1446 // Draw any separator lines 1447 g.drawLine(getMessageBaySeparatorLine(), SEPARATOR_COLOUR, SEPARATOR_STROKE); 1448 g.drawLine(getTwinFramesSeparatorLine(), SEPARATOR_COLOUR, SEPARATOR_STROKE); 1449 1450 // Paint any popups 1451 if (PopupManager.getInstance() != null) { 1452 PopupManager.getInstance().paint(); 1453 } 1454 1455 g.popDrawingSurface(); 1456 g.drawImage(_refreshBuffer, Point.ORIGIN); 1457 return true; 1458 } 1459 1460 private static void pushBayAreaUpdate(boolean useInvalidation, Clip clip, GraphicsManager g) { 1443 1461 if (!isAudienceMode()) { 1444 1462 if (!isMailMode()) { … … 1450 1468 } 1451 1469 } 1452 1453 // Draw any separator lines 1454 g.drawLine(getMessageBaySeparatorLine(), SEPARATOR_COLOUR, SEPARATOR_STROKE); 1455 g.drawLine(getTwinFramesSeparatorLine(), SEPARATOR_COLOUR, SEPARATOR_STROKE); 1456 1457 // Paint any popups 1458 if (PopupManager.getInstance() != null) { 1459 PopupManager.getInstance().paint(); 1460 } 1461 1462 g.popDrawingSurface(); 1463 g.drawImage(_refreshBuffer, Point.ORIGIN); 1464 return true; 1465 } 1466 1470 } 1471 1467 1472 private static void paintMessageBay(boolean useInvalidation, Clip clip, GraphicsManager g) { 1468 1473 Clip messageBayClip = null;
Note:
See TracChangeset
for help on using the changeset viewer.