Changeset 117 in tmcsimulator-scriptbuilder for trunk/src/scriptbuilder/gui/IncidentEditorFrame.form


Ignore:
Timestamp:
09/07/2017 02:08:40 PM (9 years ago)
Author:
bmcguffin
Message:

Redesigned the method by which the first event in an event is added to relative time 00:00:00.

Added a second timestamp panel to the incident editor screen, which displays absolute script time in red. The original timestamp panel displays time relative to the start of the incident, in black.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/gui/IncidentEditorFrame.form

    r113 r117  
    456456                      <Group type="103" groupAlignment="0" attributes="0"> 
    457457                          <Group type="102" alignment="0" attributes="0"> 
    458                               <Group type="103" groupAlignment="0" attributes="0"> 
    459                                   <Component id="zoomInIcon" alignment="0" min="-2" max="-2" attributes="0"/> 
    460                                   <Component id="zoomOutIcon" alignment="0" min="-2" max="-2" attributes="0"/> 
    461                               </Group> 
    462                               <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 
    463                           </Group> 
    464                           <Group type="102" alignment="0" attributes="0"> 
    465458                              <Component id="zoomSlider" min="-2" pref="31" max="-2" attributes="0"/> 
    466459                              <EmptySpace max="-2" attributes="0"/> 
    467460                              <Component id="btnAddTime" max="32767" attributes="0"/> 
     461                          </Group> 
     462                          <Group type="102" attributes="0"> 
     463                              <Group type="103" groupAlignment="0" attributes="0"> 
     464                                  <Component id="zoomInIcon" min="-2" max="-2" attributes="0"/> 
     465                                  <Component id="zoomOutIcon" min="-2" max="-2" attributes="0"/> 
     466                              </Group> 
     467                              <EmptySpace min="0" pref="0" max="32767" attributes="0"/> 
    468468                          </Group> 
    469469                      </Group> 
     
    476476                      <Component id="scriptEventsPanel" max="32767" attributes="0"/> 
    477477                  </Group> 
     478                  <Component id="timeStampScrollPane1" alignment="0" max="32767" attributes="0"/> 
    478479              </Group> 
    479480              <EmptySpace max="-2" attributes="0"/> 
     
    484485      <Group type="103" groupAlignment="0" attributes="0"> 
    485486          <Group type="102" alignment="1" attributes="0"> 
    486               <Group type="103" groupAlignment="0" attributes="0"> 
     487              <Group type="103" groupAlignment="0" max="-2" attributes="0"> 
    487488                  <Group type="102" attributes="0"> 
    488489                      <EmptySpace max="-2" attributes="0"/> 
     
    496497                      </Group> 
    497498                  </Group> 
    498                   <Group type="102" alignment="0" attributes="0"> 
    499                       <EmptySpace min="-2" pref="20" max="-2" attributes="0"/> 
    500                       <Component id="zoomInIcon" min="-2" max="-2" attributes="0"/> 
    501                       <Group type="103" groupAlignment="0" attributes="0"> 
     499                  <Group type="102" attributes="0"> 
     500                      <Group type="103" groupAlignment="0" max="-2" attributes="0"> 
    502501                          <Group type="102" attributes="0"> 
    503                               <EmptySpace min="-2" pref="1" max="-2" attributes="0"/> 
     502                              <EmptySpace min="-2" pref="9" max="-2" attributes="0"/> 
     503                              <Component id="zoomInIcon" min="-2" max="-2" attributes="0"/> 
     504                              <EmptySpace max="32767" attributes="0"/> 
    504505                              <Component id="zoomSlider" min="-2" pref="69" max="-2" attributes="1"/> 
    505506                          </Group> 
    506                           <Group type="102" alignment="0" attributes="0"> 
    507                               <EmptySpace min="-2" pref="17" max="-2" attributes="0"/> 
     507                          <Group type="102" attributes="0"> 
     508                              <EmptySpace min="-2" pref="61" max="-2" attributes="0"/> 
    508509                              <Component id="btnAddTime" min="-2" pref="44" max="-2" attributes="0"/> 
    509510                          </Group> 
    510511                      </Group> 
    511                       <EmptySpace max="-2" attributes="0"/> 
     512                      <EmptySpace max="32767" attributes="0"/> 
    512513                      <Component id="zoomOutIcon" min="-2" max="-2" attributes="0"/> 
    513514                  </Group> 
     
    516517              <Component id="timeStampScrollPane" min="-2" pref="20" max="-2" attributes="0"/> 
    517518              <EmptySpace max="-2" attributes="0"/> 
     519              <Component id="timeStampScrollPane1" min="-2" pref="20" max="-2" attributes="0"/> 
     520              <EmptySpace min="-2" max="-2" attributes="0"/> 
    518521              <Component id="timelinesScrollPane" min="-2" pref="324" max="-2" attributes="0"/> 
    519522              <EmptySpace max="-2" attributes="0"/> 
     
    12861289      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 
    12871290      <SubComponents> 
    1288         <Container class="scriptbuilder.gui.panels.TimeStampPanel" name="timeStampPanel"> 
     1291        <Container class="scriptbuilder.gui.panels.TimeStampPanel" name="absoluteTimeStampPanel"> 
    12891292 
    12901293          <Layout> 
     
    13111314      </Events> 
    13121315    </Component> 
     1316    <Container class="javax.swing.JScrollPane" name="timeStampScrollPane1"> 
     1317      <Properties> 
     1318        <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor"> 
     1319          <Border info="null"/> 
     1320        </Property> 
     1321        <Property name="horizontalScrollBarPolicy" type="int" value="31"/> 
     1322        <Property name="verticalScrollBarPolicy" type="int" value="21"/> 
     1323      </Properties> 
     1324 
     1325      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> 
     1326      <SubComponents> 
     1327        <Container class="scriptbuilder.gui.panels.TimeStampPanel" name="relativeTimeStampPanel"> 
     1328 
     1329          <Layout> 
     1330            <DimensionLayout dim="0"> 
     1331              <Group type="103" groupAlignment="0" attributes="0"> 
     1332                  <EmptySpace min="0" pref="1036" max="32767" attributes="0"/> 
     1333              </Group> 
     1334            </DimensionLayout> 
     1335            <DimensionLayout dim="1"> 
     1336              <Group type="103" groupAlignment="0" attributes="0"> 
     1337                  <EmptySpace min="0" pref="100" max="32767" attributes="0"/> 
     1338              </Group> 
     1339            </DimensionLayout> 
     1340          </Layout> 
     1341        </Container> 
     1342      </SubComponents> 
     1343    </Container> 
    13131344  </SubComponents> 
    13141345</Form> 
Note: See TracChangeset for help on using the changeset viewer.