mendiola_loyola
Resource contributor
- Messages
- 520
- Country

Deal All:
One question, is there a problem if i reference the same plist three times in different sliders.
In this code i reference the plist adi_missing_vertical_icon_list three times in each MAKE_SLIDER.
Is that code correct?
Am i wrong?
Alfredo Mendiola Loyola
Lima, Perú
One question, is there a problem if i reference the same plist three times in different sliders.
In this code i reference the plist adi_missing_vertical_icon_list three times in each MAKE_SLIDER.
Is that code correct?
Am i wrong?
Code:
MAKE_ICON
(
adi_missing_vertical_icon,
BMP_ADI_MISSING_VER,
NULL,
NULL,
IMAGE_USE_ERASE | IMAGE_USE_TRANSPARENCY | IMAGE_HIDDEN,
0,
53,95,
MODULE_VAR_NONE, NULL,
ICON_SWITCH_TYPE_SET_CUR_ICON,
1,
0,
0
)
PELEMENT_HEADER [B]adi_missing_vertical_icon_list[/B][] =
{
&adi_missing_vertical_icon.header,
NULL
};
//Slideres
MAKE_SLIDER //ILS
(
cs_adi_slider_horizontal,
BMP_ADI_VERT_MARK,
[B]adi_missing_vertical_icon_list[/B],
0,
IMAGE_USE_ERASE | IMAGE_USE_TRANSPARENCY,
0,
175,62,
//176,62,
VOR1_NEEDLE, NULL, 0.38, //Hace el papel del ILS
MODULE_VAR_NONE, NULL, 0
)
MAKE_SLIDER //ILS Glide Slope
(
cs_adi_slider_vertical,
BMP_ADI_HORI_MARK,
[B]adi_missing_vertical_icon_list[/B],
0,
IMAGE_USE_ERASE | IMAGE_USE_TRANSPARENCY,
0,
//36,193,
36,194,
MODULE_VAR_NONE, NULL, 0,
VOR1_GS_NEEDLE, NULL, 0.4 //Hace el papel del ILS
)
MAKE_SLIDER //Glide Slope
(
cs_adi_slider_glide_slope,
BMP_ADI_GLIDE_SLOPE,
[B]adi_missing_vertical_icon_list[/B],
0,
IMAGE_USE_ERASE | IMAGE_USE_TRANSPARENCY,
0,
125,193,
MODULE_VAR_NONE, NULL, 0,
VOR1_GS_NEEDLE, NULL, 0.4 //Hace el papel del ILS
)
PELEMENT_HEADER cs_adi_sliders_list[] =
{
&cs_adi_slider_vertical.header,
&cs_adi_slider_horizontal.header,
&cs_adi_slider_glide_slope.header,
NULL
};
Lima, Perú

