
Defining Mouse Rectangles....................................................................................................44
Rectangles within Rectangles......................................................................................45
Generating Events........................................................................................................45
Using Callback Functions............................................................................................47
Creating Dynamic Mouse ToolTips.............................................................................49
Compiling and Using Your Gauges........................................................................................50
Using Token Variables.............................................................................................................52
UNIVERSAL_VAR Types.................................................................................................52
Accessing Token Variables.....................................................................................................52
To access a tokenized variable through the Panel API................................................53
Gauge Macros and Drawing Elements...................................................................................54
Shared Data Elements.............................................................................................................54
Drawing Element Header........................................................................................................56
Drawing Element Structures...................................................................................................58
Drawing Element Lists...........................................................................................................59
Gauge Macro Reference.........................................................................................................59
MAKE_STATIC.................................................................................................................59
MAKE_NEEDLE...............................................................................................................62
Using Non-Linearity Tables........................................................................................65
MAKE_STRING................................................................................................................66
Defining the Font Type................................................................................................72
Selecting a String by KEY_EVENT............................................................................73
MAKE_SLIDER.................................................................................................................76
MAKE_MOVING..............................................................................................................79
MAKE_ICON.....................................................................................................................81
MAKE_SPRITE.................................................................................................................84
Drawing Element Macros.........................................................................................................88
String Element Macros.............................................................................................................88
Functions....................................................................................................................................88
initialize_var...........................................................................................................................88
lookup_var..............................................................................................................................89
mouse_child_funct..................................................................................................................90
panel_window_toggle.............................................................................................................91
Token Variables........................................................................................................................93
Help IDs.....................................................................................................................................93
Event IDs....................................................................................................................................93
Using Named Variables to Enable Communication Between Gauges.................................94
XML Gauges..............................................................................................................................97
Calculated Expressions in XML Gauges................................................................................98
Common Operators.............................................................................................................99
Comparison Operators........................................................................................................99
Bit Operators.....................................................................................................................100
Logical Operators..............................................................................................................100
Numerical Operators.........................................................................................................100
String Operators................................................................................................................102
ii