GUI development environment for embedded systems
PEG is a tool kit for developing GUI in an embedded system. PEG comes with the GUI library source code, a GUI development tool, and various drivers. The compact design makes it possible to use it even under strict hardware requirements.
Features and benefits
PEG has the following features and benefits:
- Works on environments with tight memory requirements or with CPUs under 100MHz
- Supports non-standard display units
- Supports Unicode (for Japanese and other Asian languages)
- Compatible with bitmap fonts or custom fonts
- Familiar Windows-like look and feel
- Supports input devices like a soft keyboard and touch panel in addition to a regular keyboard and mouse
- WYSIWYG development environment for simulating various screen sizes and colors
- Sample drivers for various graphics controllers
- Easy porting to a different target
- Quick prototyping of an interface design
- Simulation under Windows and X11 (Unix/Linux/Solaris)
Product components
The following is PEG's product structure.
- GUI library for C++ language *available in source code (GUI library for the C language is coming soon)
- GUI development tools
WindowBuilder
FontCapture
ImageConvert - Graphic controller sample drivers
- Touch screen/mouse sample driver
- Product manual
GUI library
- Fully equipped with basic control types
Buttons/menu/slider/gauge/charts/icons/text field/multiple line edit control/window - Event-driven design
C++ GUI library Benefits
- Written in the C++ language
- Supports window overlapping
- Supports an alpha blending window
- Supports runtime image decoder
- Supports runtime language resource
- Supports window decoration
Benefits of GUI library for the C language (coming soon)
- Written in ANSI C
- Small footprint
- Supports multiple windows
- Supports various compilers
- High speed
- Optimal for small LCDs
Control types
| Basic classes | ||
|---|---|---|
| PegMessageQueue | PegPresentationManager | PegScreen |
| PegTextThing | PegThing | |
| Charting classes | ||
| PegChart | PegLineChart | PegMultiLineChart |
| PegStripChart | ||
| Printing classes | ||
| PegPrinter | PCL Printerl | PegFiniteBitmapDial |
| Control classes | ||
| PegBitmapButton | PegButton | PegCheckBox |
| PegDecoratedButton | PegEditField | PegGroup |
| PegHScroll | PegIcon | PegMenu |
| PegMenuBar | PegMenuButton | PegMLTextButton |
| PegProgressBar | PegPrompt | PegRadioButton |
| PegScroll | PegSlider | PegSpinButton |
| PegStatusBar | PegTextButton | PegTitle |
| PegToolBar | PegToolBarPanel | PegVScroll |
| PegVPrompt | ||
| HMI classes | ||
| PegDial | PegFiniteDial | PegFiniteDialBitmapDial |
| PegCircularDial | PegCircularDialBitmapDial | PegLight |
| PegColorLight | PegBitmapLight | PegScale |
| PegLinearScale | PegLinearBitmapscale | |
| Window classes | ||
| PegAnimationWindow | PegComboBox | PegdecoratedWindow |
| PegDialog | PegEditBox | PegHorizontalList |
| PegList | PegMessageWindow | PegMLMessageWindow |
| PegNoteBook | PegProgressWindow | PegSpreadSheet |
| PegTextBox | PegTreeNode | PegFileDialog |
| PegTreeView | PegVertList | PegWindow |
| Image conversion | ||
| PegBmpConvert | PegGifConvert | PegImageConvertl |
| PegJpegConvertl | PegPngConvert | PegQuant |
GUI development tools
PEG has the following convenient GUI development tools.
WindowBuilder
This visual design tool automatically creates source code for PEG windows and dialogs.
- Creates customized windows and dialogs
- Full support of WYSIWYG
- Creates source code using the GUI library (C or C++)
- Supports event-driven programming model
- Drag and drop to import a custom font
- BMP, PNG, JPEG, and GIF files can be imported
- Supports dithering and subtractive processes

FontCapture
This tool converts a true type font or BDF font to an PEG font.
- Supports Unicode
- Supports bitmap fonts
- Supports scalable vector fonts - easily changes the font size or uses a normal, bold, or italic style.
- Creates a C language data array
- High speed
- Optimal for small LCDs

ImageConvert
This tool converts a bitmap image to a format usable in ROM.
- BMP, PNG, JPEG, and GIF images can be converted
- Compresses a bitmap
- Creates an optimized palette
- Supports dithering
- Creates C language source code

Graphic controller drivers
- Supports various external/internal controllers
- Comes with a template for a graphic controller driver
- CPU independent
- Can output colors from 1 bit/pixel (black and white) to 24 bits/pixel (TrueColor RBG)
- Supports resolution from 1x1 to 65535x65535
- Supports graphic controllers with hardware acceleration
- Primitive drawing can be called directly from an application
Drivers for the following controllers are available.
| Advanced Micro Devices | Geode processor, Elan |
| ATI | Rage Mobility, Mobility Radeon |
| ARM | ARM7/ARM9, Samsung, Thumb Mode内蔵 |
| Cirrus Logic | GD5430, 71110, 7212, 7312 |
| Epson | S1D13300, S1D13503, S1D13504, S1D13505, S1D13506, S1D13704, S1D13705, S1D13706, S1D13806, S1D13A04/S1D13A05, SPC8106 VGA LCD/CRT controller |
| Freescale | i.MX1, i.MXL, i.MX21, PowerPC 823/860 |
| Fujitsu | Orchid, Scarlet |
| 3Dlabs | Permedia II |
| Intel | PXA 250/255 |
| Linux | Linux Framebuffer Device |
| Linux, Solaris, NetBSD, Lynx OS | X11 Windows |
| Chips & Technology | CT545 Alpine, CT65550, CT69000/69030 |
| MediaQ | MQ200 & MQ400 |
| Philips | Trimedia |
| Sharp | LH79531, LH77790, LH79520 256 color, LH79524, LH75401, LH7A400 |
| Silicon Motion | Lynx 3DM, LynxEM+, SM501 |
| ST Microelectronics | STV3500 |
| Topro | TP6508 |
| Texas Instruments | OMAP, DM270, DM320 DSP (for RSA environment) |
| X86 Standard VGA | |
| X86 VESA Extended Modes |
Supported input devices
PEG comes with sample drivers for a touch screen and a mouse. Also, the following input devices are supported.
- Mouse/joystick
- Touch screen
- Keyboard/key pad
- Soft keyboard
Applications
Digital cameras, medical equipment, GPS terminals, printers, cockpit navigation control, FA equipment, mobile phones, desktop telephones, toys, MP3 players
Standard GUI solution for TI digital imaging products
Related products
Contact us
- Click here for more information.
- Click here for information on customization or contract development.

