<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hallo Robert,<br>
    </p>
    Am 17.02.2017 um 17:56 schrieb Robert Helling:<br>
    <blockquote
      cite="mid:FD8C392D-25DD-4D59-BC39-DB0F65AA4F02@atdotde.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div class="">
        <div>
          <blockquote type="cite" class="">
            <div class="">
              <div style="font-family: Menlo-Regular; font-size: 12px;
                font-style: normal; font-variant-caps: normal;
                font-weight: normal; letter-spacing: normal; orphans:
                auto; text-align: start; text-indent: 0px;
                text-transform: none; white-space: normal; widows: auto;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;"
                class="">
                <blockquote type="cite" class="">
                  <div class="">
                    <blockquote
                      cite="mid:5f4d55cb-dc1b-0355-f7a9-158cbe4aa2eb@gmx.de"
                      type="cite" class="" style="font-family:
                      Helvetica; font-size: 12px; font-style: normal;
                      font-variant-caps: normal; font-weight: normal;
                      letter-spacing: normal; orphans: auto; text-align:
                      start; text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255);"><br>
                      <blockquote
cite="mid:CAF+v9JuVuHmrGMaSnQGPfxMx9NpkX6pou2i3HYNdb2b15o+EhA@mail.gmail.com"
                        type="cite" class="">
                        <div dir="ltr" class="">
                          <div class="gmail_extra">
                            <div class="gmail_quote">
                              <blockquote class="gmail_quote"
                                style="margin: 0px 0px 0px 0.8ex;
                                border-left-width: 1px;
                                border-left-style: solid;
                                border-left-color: rgb(204, 204, 204);
                                padding-left: 1ex;">More details
                                below...<br class="">
                                <div class="">
                                  <p class="">Link to initial idea and
                                    discussion:<br class="">
                                    <a moz-do-not-send="true"
                                      target="_blank"
                                      href="https://github.com/Subsurface-divelog/subsurface/issues/188"
class="gmail-m_8098681307314788349moz-txt-link-freetext">https://github.com/Subsurface-<wbr
                                        class="">divelog/subsurface/issues/188</a><br
                                      class="">
                                  </p>
                                  <p class="">Link to feature branch on
                                    Github:<br class="">
                                    <a moz-do-not-send="true"
                                      target="_blank"
                                      href="https://github.com/sfuchs79/subsurface/tree/feature_minimum_gas"
class="gmail-m_8098681307314788349moz-txt-link-freetext">https://github.com/sfuchs79/<wbr
                                        class="">subsurface/tree/feature_<wbr
                                        class="">minimum_gas</a></p>
                                  <p class=""><span class="gmail-pl-c1"><br
                                        class="">
                                    </span></p>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                      For this and all the other comments from Robert I
                      hope I understood everything and there is nothing
                      to discuss. Updated version will come soon.<br
                        class="">
                      A very important hint came from Robert about why
                      we add the two new variables to struct diveplan.
                      This was clearly a mistake is not needed. I will
                      remove it.<br class="">
                    </blockquote>
                    <br class="" style="font-family: Helvetica;
                      font-size: 12px; font-style: normal;
                      font-variant-caps: normal; font-weight: normal;
                      letter-spacing: normal; orphans: auto; text-align:
                      start; text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255);">
                    <span class="" style="font-family: Helvetica;
                      font-size: 12px; font-style: normal;
                      font-variant-caps: normal; font-weight: normal;
                      letter-spacing: normal; orphans: auto; text-align:
                      start; text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255); float: none;
                      display: inline !important;">Updated version
                      available. I'm not 100% sure if I catched
                      everything. I did some more testing and found no
                      more real bugs.</span><br class=""
                      style="font-family: Helvetica; font-size: 12px;
                      font-style: normal; font-variant-caps: normal;
                      font-weight: normal; letter-spacing: normal;
                      orphans: auto; text-align: start; text-indent:
                      0px; text-transform: none; white-space: normal;
                      widows: auto; word-spacing: 0px;
                      -webkit-text-stroke-width: 0px; background-color:
                      rgb(255, 255, 255);">
                    <br class="" style="font-family: Helvetica;
                      font-size: 12px; font-style: normal;
                      font-variant-caps: normal; font-weight: normal;
                      letter-spacing: normal; orphans: auto; text-align:
                      start; text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255);">
                    <span class="" style="font-family: Helvetica;
                      font-size: 12px; font-style: normal;
                      font-variant-caps: normal; font-weight: normal;
                      letter-spacing: normal; orphans: auto; text-align:
                      start; text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255); float: none;
                      display: inline !important;">Documentation is
                      still missing. Will be able to do this next week.</span><br
                      class="" style="font-family: Helvetica; font-size:
                      12px; font-style: normal; font-variant-caps:
                      normal; font-weight: normal; letter-spacing:
                      normal; orphans: auto; text-align: start;
                      text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255);">
                    <br class="" style="font-family: Helvetica;
                      font-size: 12px; font-style: normal;
                      font-variant-caps: normal; font-weight: normal;
                      letter-spacing: normal; orphans: auto; text-align:
                      start; text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255);">
                    <span class="" style="font-family: Helvetica;
                      font-size: 12px; font-style: normal;
                      font-variant-caps: normal; font-weight: normal;
                      letter-spacing: normal; orphans: auto; text-align:
                      start; text-indent: 0px; text-transform: none;
                      white-space: normal; widows: auto; word-spacing:
                      0px; -webkit-text-stroke-width: 0px;
                      background-color: rgb(255, 255, 255); float: none;
                      display: inline !important;">Again the one
                      question about putting a warning icon into the
                      profile: It would be great if there is anyone who
                      could guide me how to do this.</span><br class="">
                  </div>
                </blockquote>
                <br class="">
              </div>
              <div style="font-family: Menlo-Regular; font-size: 12px;
                font-style: normal; font-variant-caps: normal;
                font-weight: normal; letter-spacing: normal; orphans:
                auto; text-align: start; text-indent: 0px;
                text-transform: none; white-space: normal; widows: auto;
                word-spacing: 0px; -webkit-text-stroke-width: 0px;"
                class="">Look at the DiveEventItem usage in the
                profilewidget2.cpp - you need to tell it which axes its
                coordinates are relative to (timeAxis and profileYAxis
                most likely, and you need to give it an event to
                display. And then you add it to the scene.</div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    Thanks for the hint: I'm now able to have a dummy warning symbol in
    the profile created by the planner.<br>
    <br>
    Now I identified the next hurdle: Is there somewhere the curve
    cylinder pressure versus dive time for every specific cylinder? Or
    how could I create it for a specific cylinder id? I found that this
    is neither in struct cylinder_t, nor in dive or divecomputer. I
    think this somehow works with the struct sample and is created at
    the moment when the profile is finally created.<br>
    What I need to do are two things:<br>
    1. Get the cylinder pressure for "my" "lastbottomdp" which is a
    struct divedatapoint *. In fact I need the pressure at time
    lastbottomdp.time<br>
    2. If this value is smaller than the minimum gas result I need to go
    back on the time axis and find the point in time when cylinder
    pressure goes below minimum gas. At this time I like to put the
    event/warning icon.<br>
    <br>
    Best regards<br>
    Stefan<br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="CONTENT-TYPE" content="text/html;
        charset=windows-1252">
      <title></title>
      <meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
      <meta name="CREATED" content="0;0">
      <meta name="CHANGEDBY" content="Stefan Fuchs">
      <meta name="CHANGED" content="20120503;23115492">
      <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
      <p>Stefan Fuchs<br>
        E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
    </div>
  </body>
</html>