On Time RTOS-32 Documentation
Welcome
RTTarget-32
RTKernel-32
RTFiles-32
RTIP-32
RTPEG-32
RTPEG-32 Programming Manual
Introduction
Overview
Programming with RTPEG-32
Screen Drivers
Demo Programs
Utility Programs
RTPEG-32 Reference Manual
RTUSB-32
|
Introduction
RTPEG-32 (Real-Time Portable Embedded Graphics) provides the building blocks for a powerful and extensible graphical user interface. Advanced clipping techniques, font support, graphic image support, and an object oriented methodologies are incorporated in RTPEG-32.
RTPEG-32 is Swell Software Inc.'s product PEG ported to On Time RTOS-32 by On Time.
This programming manual contains a general introduction and programming tips for using RTPEG-32. The RTPEG-32 API class reference is supplied in the RTPEG-32 Reference Manual.
The main features of RTPEG-32 are:
- True Windows 95 Look-and-Feel
RTPEG-32 includes a full set of controls which look and behave the way users expect. Predefined classes include buttons, bitmaps, check boxes, scroll bars, menus, progress bars, radio buttons, prompts, combo boxes, dialog boxes, lists, tree views, etc.
- Event Driven Programming Model
User interface objects of an application are typically C++ classes derived from a predefined RTPEG-32 class. Such a derived classes can override methods such as Draw to implement a custom appearance, or they can override Message to catch messages sent by a user input device, separate threads, or other GUI controls.
- Rich Set of Drivers
A driver for VGA, 16 color mode, is included, as well as high performance drivers for 8-bit, 16-bit, 24-bit, and 32-bit color depth with arbitrary resolution. These drivers require VGA compatible hardware or VESA BIOS support. The source code of these drivers is included, allowing easy adaptation for custom video hardware.
- Keyboard Support
RTPEG-32 applications can be navigated using only the keyboard, if no mouse or other pointing device is available.
- Mouse (MS Serial and PS/2) an Touch Screen Support
Standard Microsoft compatible mice are and PS/2 touch screens supported.
- Never Disables Interrupts
All RTPEG-32 operations are fully interruptible. Real-time performance is never affected.
- Supports (But Does Not Require) RTKernel-32
Several threads can perform screen output simultaneously. RTPEG-32 performs all required locking. Even the simultaneous execution of several modal windows is supported (e.g., to signal error conditions while other threads continue to run).
- GUI Design Tools
Program WindowBuilder is a rapid prototyping and design tool used to quickly create RTPEG-32 graphical objects such as bitmaps, fonts, windows, etc.
- Win32 Emulation Library
The RTPEG-32 Win32 Emulation Library allows executing RTPEG-32 GUI programs under Microsoft Windows.
- Unicode Support
The Unicode version of RTPEG-32 allows using fonts with up to 65535 characters, for example, to support Far East languages and multi-language programs. Functions to translate between the 16-bit character sets Unicode, SJIS, and BIG5 are available.
Overview
|