EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Tip List

Texas Instruments TI-89
507 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #360 background imageLoading...
Page #360 background image
9.0 User Interface Tips
[9.1] Use icons in toolbars
Custom toolbar titles and labels are usually text. It is an undocumented feature of the 89/92+ that you
can also use small graphics (icons) in place of the toolbar titles and labels. This code extract shows the
method:
circ()
Prgm
ClrIO
Toolbar
Title circimg
Item radimg,r
Item areaimg,a
Item circimg,c
EndTBar
Lbl r
...
Lbl a
...
Lbl c
...
EndPrgm
In this example, the icons are the variables circimg, radimg, and areaimg. Note that the icon circimg is
used in both the toolbar title, and in the third menu item. The icons are PIC variables, 16 pixels high by
16 pixels wide.
The icons can be created in a number of ways. You can use the pixel functions: PxlCrcl, PxlLine,
PxlOn and PxlText in a program to create the image, then use StoPic to save the image. This program
creates an icon, and saves it as icon1.
iconex()
Prgm
©Create & save a simple icon
©Clear the graph screen
clrgraph
clrdraw
©Draw a box
pxlline 1,1,1,16
pxlline 1,16,16,16
pxlline 16,16,16,1
pxlline 16,1,1,1
©Draw a circle in the box
pxlcrcl 8,8,6
©Draw an "E" in the circle
pxltext "E",5,5
9 - 1

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals