Changeset 13198
- Timestamp:
- 03/23/12 11:44:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r13061 r13198 2822 2822 fMagicHum->setValue(ptr[2]); 2823 2823 fMagicPressure->setValue(ptr[3]); 2824 fMagicWind->setValue(ptr[4]);2825 2824 fMagicGusts->setValue(ptr[5]); 2826 2825 fMagicWindDir->setValue(ptr[6]); 2826 2827 static const string dir[] = 2828 { 2829 "N", "NNE", "NE", "ENE", 2830 "E", "ESE", "SE", "SSE", 2831 "S", "SSW", "SW", "WSW", 2832 "W", "WNW", "NW", "NNW" 2833 }; 2834 2835 const uint16_t i = uint16_t(floor(fmod(ptr[4]+360+11.25, 360)/16)); 2836 fMagicWind->setValue(dir[i]); 2827 2837 } 2828 2838
Note:
See TracChangeset
for help on using the changeset viewer.