Home > Products > GUI Products > PEG

GUI Products


A graphical interface development package designed exclusively for real-time embedded systems. The tools you expect, the support you need, the quality and reliability your project demands.

PEG WindowBuilder™, shown at right, is a complete visual layout and design tool included with PEG+. The output of PEG WindowBuilder is EC++ source code, ready to be compiled and linked into your ROM or FLASH. PEG WindowBuilder is written entirely using the PEG+ library, allowing it to run on all Windows and Linux/X11 development hosts.

Custom user-supplied control types can easily be incorporated within the PEG WindowBuilder environment, allowing you to create completely unique screen designs using these WYSIWYG design tools. Custom graphics and fonts are also incorporated into your PEG WindowBuilder project, allowing you to do complete and accurate screen design using simple drag-and-drop techniques.

The default appearance of PEG+ windows and controls is similar to the appearance of a desktop windowing system. This appearance can, of course, be modified to create a completely custom look-and-feel. The window shown at right demonstrates the use of a custom title bar, custom button style, shadowed anti-aliased text and bitmap animation objects. PEG+ graphics can also be overlaid on real-time video or alpha blended using multiple graphical layers. The library is easily configured for an infinite variety of display resolutions, orientations and color depths.

Anti-aliased fonts and anti-aliased line drawing are supported for high-color depth targets. Industry leading multi-lingual application support includes full Unicode and SJIS character encoding support, and string table editing and language pack generation facilities incorporated into the StringTableEditor as a part of the WindowBuilder resource manager.


PEG+ provides the most complete GUI solution available to realtime emedded system developers. All of the utilities, documentation, support and development tools you will require for creating a graphical user interface on an embedded system are included with the PEG+ library development package.


Reduced Size
PEG+ is written with the embedded market firmly in mind, meaning that the value of every feature is weighed against the code size and performance requirements of that feature. A minimum PEG+ footprint requires roughly 150K of code space, 4K of stack space and 8K of dynamic memory. A typical full-featured GUI requires a PEG+ footprint of roughly 170K code, 4K stack and 16K dynamic memory.

RTOS Integration
PEG+ is fully integrated with the RTOS messaging, memory management and synchronization services. This yields the lowest possible overhead and the only true real-time multitasking GUI environment available. PEG+ input devices are interrupt driven, and again use RTOS services to communicate user input information to the graphical user interface.

Multiple Tasks
PEG+ can also be configured to support multiple GUI tasks. These tasks can be of differing priorities and can each directly create, display and control any number of GUI windows or child controls. This advanced capability is unique to the design of PEG+.

Microsoft Windows Development

PEG+ provides a set of hardware and OS encapsulation classes which allow your PEG+ user interface to run as a standard 32-bit Windows application. You can create and test your entire user interface while using the very mature Windows application development tools. Moving to the final target requires only that you rebuild the PEG+ library and application software using your target specific tools.

X11 Development

PEG+ also provides an X11 Window System integration that allows your PEG+ application to run as a standard X11 application. Most major Unix platforms are supported including Linux, Lynx OS, NetBSD and Solaris. The PEG+ development tools are also X11 hosted, allowing you to do full application development and testing using this alternative host environment.

Compiler Support

The PEG+ library has been fully verified with all of the most popular embedded compilers including Green Hills MULTI, Metrowerks CodeWarrior, MetaWare, IAR, CAD-UL, ARM RealView, Borland, Microsoft, Hitachi, ST Microelectronics, Paradigm, Watcom, GCC, Tasking, TI Code Composer, Analog Devices Visual DSP, Microtec C/C++, and Keil ÁVision2.

Input Devices

PEG+ can be configured to support any combination of mouse, keyboard, touch screen or membrane keypad input.

Output Drivers and Processor Support

See the PDF datasheet for a list of video drivers and processors supported.

For More Information

     back to top
  Register for More Info
The PEG+ Package

PEG+ includes a large set of basic control types such as various buttons, text gadgets and bitmap display objects. PEG+ also includes more advanced classes such as tree-view, spreadsheet and charting classes. In addition, PEG WindowBuilder provides an integrated resource manager which includes FontCapture for generating custom fonts and ImageConvert for converting PNG, JPG, GIF or BMP graphics into ROMable format supported by the PEG+ library. Advanced color reduction, dithering and optimal palette production can be applied to assist those running on greyscale, monochrome or limited palette targets. Rotated screen mounting is also seamlessly supported.