64
Chapter 8: Integrating a Flash Application
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
MO_NOTIFY_GRAPH_TYPE_2 — Graph mode change for graph 2 if in 2
graph mode.
MO_NOTIFY_SPLIT — The screen size has changed.
MO_NOTIFY_ANGLE — Angle mode has changed.
MO_NOTIFY_PRECISION — Precision has changed between
EXACT, APPROX, and AUTO.
MO_NOTIFY_FIX — Fix digits or float precision change.
MO_NOTIFY_NUMBER_FORMAT — Exponential format: Normal, scientific
or engineering.
MO_NOTIFY_VECTOR_FORMAT — Rectangular, cylindrical or spherical.
MO_NOTIFY_COMPLEX_FORMAT — Real, rectangular or polar.
MO_NOTIFY_PRETTY_PRINT — Pretty Print on or off.
MO_NOTIFY_UNIT_SYSTEM — SI, ENG/US or CUSTOM unit system.
MO_NOTIFY_BASE — DEC, HEX or BIN base.
MO_NOTIFY_LANGUAGE — Language mode has changed.
8.1.1.1. Modifying Mode Settings Within an App
The mode settings can be modified within an application by calling
MO_currentOptions
to get the current mode settings into the mode option array,
MO_option
. After modifying the mode setting options, a call to
MO_digestOptions
will cause the new mode settings to take affect by sending
out the appropriate mode notification messages.
A simple example of setting the split screen ratio to the 50/50 setting follows:
MO_currentOptions();
MO_option[MO_OPT_SPLIT_RATIO] = D_SPLIT_RATIO_1_1;
MO_digestOptions(H_NULL);
8.1.1.2. MO_option Array and Settings
Index Setting Description
0 MO_OPT_CURRENT_FOLDER
1 MO_OPT_SPLIT_SCREEN D_MODE_SPLIT_FULL=1,
D_MODE_SPLIT_HORIZONTAL,
D_MODE_SPLIT_VERTICAL
2 MO_OPT_NUMBER_OF_GRAPHS D_MODE_GRAPHS_1=1,
D_MODE_GRAPHS_2