Changeset 32 in tmcsimulator-scriptbuilder for trunk


Ignore:
Timestamp:
08/02/2017 12:51:53 PM (9 years ago)
Author:
bmcguffin
Message:

Added a constant representing the maximum simulation length in seconds. Also altered the left-margin position of the tick timeline by a few pixels so that ticks will line up with the time values they represent. (Was 119, now 116)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/ScriptBuilderGuiConstants.java

    r1 r32  
    3636                            TIMELINE_HEIGHT = 3, 
    3737                            TICK_TIMELINE_TOP_MARGIN = 50, 
    38                             TICK_TIMELINE_LEFT_MARGIN = 119, 
     38                            TICK_TIMELINE_LEFT_MARGIN = 116, 
    3939                            TICK_TIMELINE_SMALLEST_LENGTH = 800, 
    4040                            TICK_TIMELINE_HEIGHT = 0, 
     
    5151                            COLLEX_BUTTON_Y = 18, 
    5252                            COLLEX_BUTTON_WIDTH = 20, 
    53                             COLLEX_BUTTON_HEIGHT = 20; 
     53                            COLLEX_BUTTON_HEIGHT = 20, 
     54                            MAX_SIMULATION_LENGTH = 999999; 
    5455 
    5556    public static final Color   CURSOR_TIMESTAMP_BORDER_COLOR = Color.BLACK, 
Note: See TracChangeset for help on using the changeset viewer.