System and method of designing, testing, and employing graphical computer code
A system for designing, testing, and employing graphical computer code includes a graphics editor for creating a graphical display. The graphical display is made up of a plurality of graphical objects constructed by the graphics editor. A translator creates a high-level computer language code of the graphical object. The translator is connected to the graphics editor. A compiler receives the high level computer language code from the translator.
The present invention relates generally to the field of software for developing user interfaces and more particularly to a system and method for designing, testing, and employing graphical computer code.
BACKGROUND OF THE INVENTIONComputer software and systems for creating user interface prototypes are currently in existence. The existing software allows the user to create new user interfaces, limited only by the user's imagination and the software's graphical limitations. The prototype interfaces created with this software save time and money by allowing the creation of control panels for hardware and software with a computer, instead of requiring the user to manufacture time and labor intensive prototype hardware. The software programs allow designers to create user interfaces without knowledge of complicated programming languages. Once the interface is created, the computer code necessary to drive the actual interface needs to be tailored to the operating parameters of the actual device. However, the computer code that would drive these user interfaces has to be created separately, effectively reinventing the user interface already created with the software. This duplicates effort and wastes resources. One solution has been to create graphical code templates, written in a high-level computer language, that are copied into an overall graphics program. Unfortunately, there are a limited number of templates and the ability to tailor the templates is extremely limited.
Thus there is a need for a system that allows not only the creation of new user interfaces that meet the requirements of new products, but also automatically creates the computer code to drive the user interface in the new product.
BRIEF DESCRIPTION OF THE DRAWINGS
A system for designing, testing, and employing graphical computer code includes a graphics editor for creating a graphical display. The graphical display is made up of a plurality of graphical objects constructed by the graphics editor. A translator creates a high-level computer language code of the graphical object. The translator is connected to the graphics editor. A compiler receives the high-level computer language code from the translator. An advantage of this system is that it automatically creates code that is ready to be installed in the finished product.
In another embodiment, a library of graphical objects is connected to the graphics editor 12. These graphical objects are created using the graphics editor 12 and are stored in the library. The translator 14 has a number of options, such as translating a graphical objects input stimulus, translating a graphical objects control logic, allowing dynamic memory allocation, and selecting a subset of graphical objects. The translator 14 also has the capability of sizing a data structure. The translator 14 examines the graphical object selected to be translated. The data structure's primitive graphical objects, from which the generated code is built, are then sized based upon the number and type of graphical objects selected. This allows the system to create a final, compiled version of the code in as small a space as is possible, or any reasonable size limitation.
From a user's perspective the system is remarkably easy to use. The user assembles a graphical display from shapes and components in the library 52. An input/stimulus is defined and a behavior/response is defined for that input. This stimulus and response correlation is repeated throughout the display range of the graphical display. These behavior states are stored in the system's memory. The system may be directed to interpolate a behavior response when the stimulus input is between programmed values. When the stimulus/response definition is complete, the tools required for that phase of graphical display construction may be closed or hidden from view on the computer screen, leaving just the run time system in view. The run time system 48 allows the user to operate the interface within the limits of its programming to test the functionality of the program. The system may operate a simulated hardware unit or may be connected to a real hardware unit to ensure the program's compatibility. If the interface operates as desired, the system may be directed to send the high-level computer language code to the compiler 46, to create a compiled code for the selected hardware. If the interface does not operate as desired, or if the design is found to be awkward to use, it is a simple matter to rearrange, remove, or replace the undesirable design elements, using the same software tools that were used to create the graphical display.
The methods described herein can be implemented as computer-readable instructions stored on a computer-readable storage medium that when executed by a computer will perform the methods described herein.
While the invention has been described in conjunction with specific embodiments thereof, it is evident that many alterations, modifications, and variations will be apparent to those skilled in the art in light of the foregoing description. Accordingly, it is intended to embrace all such alterations, modifications, and variations in the appended claims.
Claims
1-26. (canceled)
27. A system for designing, testing, and employing graphical computer code comprises:
- a graphics editor for creating a graphical display made up of a plurality of graphical objects constructed by the graphics editor;
- a translator for creating a high-level computer language code, the translator connected to the graphics editor; and
- a compiler receiving the high level computer language code from the translator.
Type: Application
Filed: Feb 8, 2005
Publication Date: Jul 7, 2005
Inventors: Thomas Batcha (Colorado Springs, CO), Kipper Fulghum (Colorado Springs, CO), Thomas Walton (Colorado Springs, CO), Michael Juran (Colorado Springs, CO)
Application Number: 11/053,170