Changeset 115 for trigger/gui


Ignore:
Timestamp:
09/24/09 15:45:24 (15 years ago)
Author:
daqct3
Message:
New Functions
Location:
trigger/gui/t72
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trigger/gui/t72/humidity.cpp

    r77 r115  
    3535  val=vall;
    3636  int bblue= (int)(((float)(val-MinVal)/(float)(MaxVal-MinVal))*255.);
    37 
     37  //int white = 255-bblue;
    3838  //int bblue=255-(int)(((float)(val-MinVal)/(float)(MaxVal-MinVal))*255.);
    3939  //printf("%i %i\n",rred,bblue);
    40   bgColor->setRgb(0,0,bblue);
     40  bgColor->setRgb(255,bblue,0);
    4141   //QPalette::ColorRole
    4242   QPalette *mypalette=new QPalette();
  • trigger/gui/t72/main.cpp

    r78 r115  
    213213     connect(timer, SIGNAL(timeout()),this , SLOT(updateRates()));
    214214     
    215      timer->start(7000);
     215     timer->start(5000);
    216216
    217217
Note: See TracChangeset for help on using the changeset viewer.