Changeset 1059


Ignore:
Timestamp:
05/04/16 20:13:09 (8 years ago)
Author:
davidb
Message:

Timeline semi-transparent; more careful use of audience mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/apollo/gui/OverdubbedFrameTimeAxis.java

    r372 r1059  
    3636
    3737        private static final int GLOBAL_TIMELINE_HEIGHT = 30;
    38         private static final Color GLOBAL_TIMELINE_BACKCOLOR = new Color(220, 220, 220);
    39         private static final Color GLOBAL_EMPTY_TIMELINE_BACKCOLOR = new Color(240, 240, 240);
     38        private static final Color GLOBAL_TIMELINE_BACKCOLOR = new Color(220, 220, 220, 100);
     39        private static final Color GLOBAL_EMPTY_TIMELINE_BACKCOLOR = new Color(240, 240, 240, 100);
    4040       
    4141        public static final Stroke TRACK_TIMELINE_STROKE = new BasicStroke(
     
    157157                assert(Browser._theBrowser != null);
    158158                int y = Browser._theBrowser.getContentPane().getHeight() - GLOBAL_TIMELINE_HEIGHT;
    159                 if (FrameGraphics.getMode() != FrameGraphics.MODE_AUDIENCE)
     159                if (!FrameGraphics.isAudienceMode()) {
    160160                        y -= MessageBay.MESSAGE_BUFFER_HEIGHT;
     161                }
    161162               
    162163                if (y < 0) y = 0;
Note: See TracChangeset for help on using the changeset viewer.