PLMBase Library version 0.19
PLMBase is a multimedia library designed to
help developers to easily build graphical
applications. It is an object oriented library,
written in C++. It offers a rich set of classes,
ready-to-use, to access hardware resources like the
screen, the sound mixer, the mouse and the keyboard,
as well as software resources like images, fonts,
sound files, palettes, or text data.
PLMBase is based on the SDL library, to
handle hardware. This allows PLMBase to easily work
under Linux and Windows, and to easily be ported to
other SDL platforms such as MacOS and BeOS.
All the classes can be sorted into the 5 following
main parts :
Base
|
provides basic classes such as Timer and
Directory, standard data structures (List,
Vector, String), and access to hardware input
(keyboard, mouse, joystick)
|
Video
|
here we find all that is needed to open a
window and draw something inside (Screen,
Image, Font, Palette), only in 2D
|
Audio
|
offers a customizable sound mixer (frequency,
channels, stereo) that can play multiple WAV
sound files, each with its own volume and
panning parameter
|
Resources
|
gives a simple and homogeneous access to data
files
|
User
interface
|
a simple set of controls (buttons, text input,
lists, ...) associated with a window manager
and an application class
|
The following figure shows how PLMBase (and other PLM
libraries) interact with the operating system, SDL
and OpenGL:
Some basic tools are released with PLMBase to help
developers to use or create resources for their
applications.
-
plmfont: the font creator and viewer,
-
plmres: the resource manager,
-
plmconv: the file format converter.
Some examples are released with the library to
illustrate some of the main capabilities in real (but
simple) situations..
-
testaudio: create a mixer object, and load
WAV samples to play with (start/stop, volume,
panning).
-
testvideo: shows how to create a video
output object and how to draw something on the
screen (lines, text, gradient and image).
-
testimg: simple image loader and viewer.
-
testdir: test directory listing
capabilities.
-
testkey: print keyboard codes and modifier
states.
-
testres: test the resource manager : load
some resources from standard directory and archive
files.
-
testresfile: shows how to use PLMResFile
object.
-
testui1: illustrate the main controls of
the user interface.
-
testwin: play with windows (show/hide).
  Note that the following packages are released under the GNU LGPL license (Lesser General Public License).
Package |
Size |
Date |
Notes |
---|
Documentation | 683.5 k | 15 Oct 2004 | TGZ, contains all the library documentation (3D and Net) and examples.
| Source code | 628.5 k | 15 Oct 2004 | TGZ, contains PLMBase / PLM3D / PLMNet source code with some tools and examples (borland 4.5 makefiles and visual c++ 6.0 projects).
|
|