Browse Prior Art Database

General Purpose Light Emitting Diode Graphic Indicator

IP.com Disclosure Number: IPCOM000105475D
Original Publication Date: 1993-Aug-01
Included in the Prior Art Database: 2005-Mar-19
Document File: 2 page(s) / 36K

Publishing Venue

IBM

Related People

Estes, ME: AUTHOR [+2]

Abstract

This article describes a general purpose Graphical Control/Widget modeled after a Light Emitting Diode (LED). The LED allows a programmer to graphically indicate device state changes.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 84% of the total text.

General Purpose Light Emitting Diode Graphic Indicator

      This article describes a general purpose Graphical
Control/Widget modeled after a Light Emitting Diode (LED).  The LED
allows a programmer to graphically indicate device state changes.

      An LED is an electronic component used to indicate one of two
or more states of a device.  The LED oscillates at one or more
frequencies (including steadily on).  Each state of the LED provides
a clear representation of the corresponding state of function of the
adjacent button.

      The solution described here provides for a general purpose
control/widget represented as a circle on a rectangular background.
The diameter of the circle is the smaller of the width and height of
the coordinates used to specify the size of the control.

      The control responds to two control specific messages:

TIMER   The timer message sets the frequency of the blink.  A value
of
        -1 indicates a steady blink.  A value of 0 turns the blink
        off.

COLOR   The color message sets the color of the LED.  By default the
        color is red.

      A primary benefit of the LED control is that programmers
requiring this function would not have to be concerned with the
relatively complex code necessary to draw the graphics.

      A second benefit is that a programmer can integrate fully
functional LED status controls in his EUI using a dialog box editor
simply by specifying the posi...