|
Lines 243-249
Link Here
|
| 243 |
decal_unit2->w; |
243 |
decal_unit2->w; |
| 244 |
decal_temperature->x = (gkrellm_chart_width() - w + 1) / 2 + 1; |
244 |
decal_temperature->x = (gkrellm_chart_width() - w + 1) / 2 + 1; |
| 245 |
decal_unit1->x = decal_temperature->x + decal_temperature->w - 1; |
245 |
decal_unit1->x = decal_temperature->x + decal_temperature->w - 1; |
| 246 |
decal_humidity->x = decal_unit1->x + decal_unit1->w + 1; |
246 |
decal_humidity->x = decal_unit1->x + decal_unit1->w; |
| 247 |
decal_unit2->x = decal_humidity->x + decal_humidity->w - 1; |
247 |
decal_unit2->x = decal_humidity->x + decal_humidity->w - 1; |
| 248 |
break; |
248 |
break; |
| 249 |
} |
249 |
} |
|
Lines 500-506
Link Here
|
| 500 |
ext_unit1.ts = *gkrellm_meter_textstyle(cal_style_id); |
500 |
ext_unit1.ts = *gkrellm_meter_textstyle(cal_style_id); |
| 501 |
string_extents("C", &ext_unit1); |
501 |
string_extents("C", &ext_unit1); |
| 502 |
ext_humidity.ts = *gkrellm_meter_alt_textstyle(clock_style_id); |
502 |
ext_humidity.ts = *gkrellm_meter_alt_textstyle(clock_style_id); |
| 503 |
string_extents("88", &ext_humidity); |
503 |
string_extents("888", &ext_humidity); |
| 504 |
ext_unit2.ts = *gkrellm_meter_textstyle(cal_style_id); |
504 |
ext_unit2.ts = *gkrellm_meter_textstyle(cal_style_id); |
| 505 |
string_extents("%", &ext_unit2); |
505 |
string_extents("%", &ext_unit2); |
| 506 |
ext_dew_point.ts = *gkrellm_meter_alt_textstyle(clock_style_id); |
506 |
ext_dew_point.ts = *gkrellm_meter_alt_textstyle(clock_style_id); |
|
Lines 522-528
Link Here
|
| 522 |
&ext_temperature.ts, style, 0, 3, ext_temperature.width + 2); |
522 |
&ext_temperature.ts, style, 0, 3, ext_temperature.width + 2); |
| 523 |
decal_unit1 = gkrellm_create_decal_text(panel, "C", &ext_unit1.ts, |
523 |
decal_unit1 = gkrellm_create_decal_text(panel, "C", &ext_unit1.ts, |
| 524 |
style, 0, 3, ext_unit1.width + 2); |
524 |
style, 0, 3, ext_unit1.width + 2); |
| 525 |
decal_humidity = gkrellm_create_decal_text(panel, "88", &ext_humidity.ts, |
525 |
decal_humidity = gkrellm_create_decal_text(panel, "888", &ext_humidity.ts, |
| 526 |
style, 0, 3, ext_humidity.width + 2); |
526 |
style, 0, 3, ext_humidity.width + 2); |
| 527 |
decal_unit2 = gkrellm_create_decal_text(panel, "%", &ext_unit2.ts, |
527 |
decal_unit2 = gkrellm_create_decal_text(panel, "%", &ext_unit2.ts, |
| 528 |
style, 0, 3, ext_unit2.width + 2); |
528 |
style, 0, 3, ext_unit2.width + 2); |