Table of Contents
v
TI
-
89 / TI
-
92 Plus Developer Guide
Not for Distribution
Beta Version January 26, 2001
11. Creating the User Interface ................................................................101
11.1. Common Screen Components.....................................................................101
11.1.1. Screen/Window Regions and Coordinates..................................................101
11.1.2. BITMAP.......................................................................................................102
11.1.3. ICON ...........................................................................................................102
11.2. Windows ......................................................................................................102
11.2.1. Window Regions and Coordinates..............................................................103
11.2.2. Window Routines ........................................................................................104
11.3. Menus..........................................................................................................105
11.3.1. Menu-Draw Structure ..................................................................................106
11.3.2. Menu IDs.....................................................................................................106
11.3.3. Menu Routines ............................................................................................106
11.4. Dialog Boxes................................................................................................108
11.4.1. Dialog Routines...........................................................................................108
11.4.2. Dialog Fields................................................................................................109
11.4.2.1. Field Index ...............................................................................................109
11.4.2.2. DYNPOPUP.............................................................................................109
11.4.2.3. EDIT_FIELD.............................................................................................109
11.4.2.4. HEADER..................................................................................................110
11.4.2.5. HEDIT......................................................................................................110
11.4.2.6. HPOPUP..................................................................................................110
11.4.2.7. MENU ......................................................................................................110
11.4.2.8. POPUP ....................................................................................................111
11.4.2.9. SCROLL_REGION ..................................................................................111
11.4.2.10. TEXT......................................................................................................112
11.4.2.11. XFLAGS.................................................................................................112
11.4.3. Dialog Flags ................................................................................................113
11.4.4. Dialog Call-Backs........................................................................................114
11.5. Resource Compiler......................................................................................115
11.5.1. DIALOG Boxes............................................................................................117
11.5.2. MENUs........................................................................................................118
11.5.3. POPUPs......................................................................................................119
11.6. Example.......................................................................................................120