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
Window Builder
Image Convert
Font Capture
Configuring Character Range
Font Range Configuration
Applying Custom Character Filters
Defining Unicode Strings
Using Custom Fonts
Changing Font Defaults
Make String Table
RTPEG-32 Reference Manual
RTUSB-32
|
Changing Font Defaults
Every RTPEG-32 object type that supports text has a default font definition. This default font definition is held in a static array which is a member of the PegTextThing class. By calling the PegTextThing::SetDefaultFont function you can change the default font assigned to all successive instances of any or all PegTextThing derived objects. For example, you might use the SetDefaultFont function to change the font used for all PegTitle or all PegTextButton objects.
Font Capture
Using Custom Fonts
|