| Subject: C++ question, |
Author:
adv203
|
[
Next Thread |
Previous Thread |
Next Message |
Previous Message
]
Date Posted: 06:38:20 05/03/02 Fri
hi all,
i've start program gauges 3 months ago,and i've many questions:
i've try to compile a my fuel gauge, but when i start FS2002 there are no string: the window is correctly black (RGB 0,0,0) but there aren't indication.
MAKE_STRING
(
fuel_left_string,
NULL,
fuel_fail,
IMAGE_USE_ERASE,
0,
16,26,
50,37,
4,
FUEL_QUANTITY_LEFT,
MODULE_VAR_NONE,
MODULE_VAR_NONE,
RGB(255,0,0),
RGB(0,0,0),
RGB(92,92,92),
GAUGE_FONT_DEFAULT,
GAUGE_WEIGHT_DEFAULT,
GAUGE_CHARSET,
0,
DT_CENTER | DT_VCENTER | DT_SINGLELINE,
NULL,
fuel_string_cb
)
Another question, can you make me a example of the functions "register_var_by_name", "unregister_var_by_name" and "initialize_var_by_name"?
Then, in MAKE_ICON element i must not specify many bitmap (as example) but how MAKE_ICON recognize the other bitmap of function? Example: i must create a simple ON/OFF button, the MAKE_ICON structure require only 1 image..
excuse me for my English, i'm Italian...
thank you on advance for your replyes
hi Adv203
[
Next Thread |
Previous Thread |
Next Message |
Previous Message
]
| |