- Messages
- 917
- Country
first of all i'm beginners modeler, programmer.
i build gauge C++ from Dai Griffiths gauge tutorials,
use example from dai, SDK, and some examples or advice can I use from this thread ( i find and read till page 29- sorry not to read all thread) to build my gauge. till now working good
i need help for make multi-screen gauge ( each screen have complex gauge tree)!
how to change 1 screen to another screen, 1 screen active another screen hiding.
in XML i just use <visibility> in the top of tree and sub tree below it will be follow.
how about in C++?
i have 4 screen in 1 gauge, PFD, NAV, FUEL, EICAS
i can use ( have not tried yet)
from bill, using the twin macros from gauges.h, SHOW_IMAGE and HIDE_IMAGE
if ( HSIpower == 1 ) { SHOW_IMAGE(pelement) ; } else { HIDE_IMAGE(pelement) ; }
sprintf(pelement->string,"HDG %03.0f",rwert);
if i use complex macros, this will be much should i do (each element)
simple way is great ( sometimes simple not easy)
thanks.
i build gauge C++ from Dai Griffiths gauge tutorials,
use example from dai, SDK, and some examples or advice can I use from this thread ( i find and read till page 29- sorry not to read all thread) to build my gauge. till now working good
i need help for make multi-screen gauge ( each screen have complex gauge tree)!
how to change 1 screen to another screen, 1 screen active another screen hiding.
in XML i just use <visibility> in the top of tree and sub tree below it will be follow.
how about in C++?
i have 4 screen in 1 gauge, PFD, NAV, FUEL, EICAS
i can use ( have not tried yet)
from bill, using the twin macros from gauges.h, SHOW_IMAGE and HIDE_IMAGE
if ( HSIpower == 1 ) { SHOW_IMAGE(pelement) ; } else { HIDE_IMAGE(pelement) ; }
sprintf(pelement->string,"HDG %03.0f",rwert);
if i use complex macros, this will be much should i do (each element)
simple way is great ( sometimes simple not easy)
thanks.