PEG+

Overview

PEG+ is a toolkit for developing Graphical User Interface (GUI) for embedded systems. In addition to the source code for the GUI library, PEG+ is packaged with GUI development tools and various drivers. The compact design and small code size means it can be used even under strict hardware conditions and memory requirements. 
PEG, for Portable Embedded Graphics, was originally developed by US company Swell Software, Inc., now owned by NXP, and is widely used in embedded systems. "PEG+" is an eSOL brand version of PEG for systems based on eT-Kernel and PrKERNELv4. eSOL is a "Certified Integration Partner" allowed to directly provide services such as product support and product customizations.

Features

PEG+ has the following features.

Can be used even in environments with strict memory limitations or with CPUs of 100 MHz or less
Supports non-standard displays
Supports Unicode (Japanese and other Asian languages, etc.)
Bitmap fonts and custom fonts can be used
A Windows-like look and feel can be created
Supports not only keyboards and mice, but also other input devices such as soft keys and touch panels
Provides a WYSIWYG development environment that simulates various screen sizes and color numbers
Includes sample drivers for various graphics controllers
Easy to port to different targets
Enables fast prototyping of the interface design
Enables simulations on Windows, X11 (Unix/Linux/Solaris)

Product configuration

GUI library for C++ language (Full source code included)
GUI development tools
WindowBuilder
FontCapture
ImageConvert
Graphics controller sample drivers
Touchscreen/mouse sample drivers
Product manuals

Features of GUI library for C++ language

Described in C++ language
Supports window duplication
Supports alpha blending windows
Supports runtime image decoders
Supports runtime language resources
Supports window decorations

Basic class
PegMessageQueuePegPresentationManagerPegScreen
PegTextThingPegThing
Charting class
PegChartPegLineChartPegMultiLineChart
PegStripChart
Printing class
PegPrinterPCL PrinterlPegFiniteBitmapDial
Control class
PegBitmapButtonPegButtonPegCheckBox
PegDecoratedButtonPegEditFieldPegGroup
PegHScrollPegIconPegMenu
PegMenuBarPegMenuButtonPegMLTextButton
PegProgressBarPegPromptPegRadioButton
PegScrollPegSliderPegSpinButton
PegStatusBarPegTextButtonPegTitle
PegToolBarPegToolBarPanelPegVScroll
PegVPrompt
HMI class
PegDialPegFiniteDialPegFiniteDialBitmapDial
PegCircularDialPegCircularDialBitmapDialPegLight
PegColorLightPegBitmapLightPegScale
PegLinearScalePegLinearBitmapscale
Window class
PegAnimationWindowPegComboBoxPegdecoratedWindow
PegDialogPegEditBoxPegHorizontalList
PegListPegMessageWindowPegMLMessageWindow
PegNoteBookPegProgressWindowPegSpreadSheet
PegTextBoxPegTreeNodePegFileDialog
PegTreeViewPegVertListPegWindow
Image conversion
PegBmpConvertPegGifConvertPegImageConvertl
PegJpegConvertlPegPngConvertPegQuant


GUI development tools

PEG+ includes the following development tools. Using these tools makes it easy to develop GUI.

WindowBuilder


This visual design tool automatically generates the source code for PEG windows and dialogs.

  • • Creates customized windows and dialogs 
  • • Fully supports WYSIWYG
  • • Generates source code for GUI libraries (C language or C++ language)
  • • Supports event-driven programming models
  • • Custom fonts can be imported by dragging and dropping
  • • BMP, PNG, JPEG, and GIF files can be imported
  • • Supports dither adjustment and color reduction




FontCapture


Converts TrueType font or BDF font into a font that can be used in ePEG.

  •  • Supports Unicode
     • Supports bitmap fonts
     • Supports font size adjustments, and scalable vector fonts that can implement normal, bold, and italic styles
     • Creates a C language data array
     • High-speed
     • Optimal for small LCDs





ImageConvert


Converts bitmap images into a format that can be used directly to ROM/Flash memory.

  •  • Can convert BMP, PNG, JPEG, and GIF images
     • Outputs compressed bitmaps
     • Creates optimized palettes
     • Supports dither
     • Generates C language source code

 

Graphics controller drivers
 Supports various external/built-in controllers
 Includes graphics controller driver templates as standard

 Highly portable source code
 Can output colors from 1 bit/pixel (monochrome) to 24 bits/pixel (TrueColor RGB)
 Supports screen resolutions from 1x1 to 65535x65535 pixels

 Supports graphics controllers built into hardware accelerators
 Can call primitive drawing directly from the application

Supported input devices

PEG+ includes touchscreen and mouse sample drivers. In addition to these, the following diverse input devices are supported.

  •  • Mouse/joystick
     • Touchscreen
     • Keyboard/keypad
     • Soft keys

Application examples


Digital cameras, medical devices, GPS devices, printers, cockpit navigation control, Factory Automation devices, mobile phones, desktop telephones, toys, MP3 players

Standard GUI solutions for TI digital imaging products

Contact Us