DFBPoint - a presentation viewer using DirectFB
DFBPoint is a simple presentation viewer that uses the DirectFB graphics library to draw to the Linux frame buffer
- Requirements
-
- Linux with frame buffer device
- DirectFB version 0.9.11 or newer (http://www.directfb.org/)
- GLib version 2.0.0 or newer (http://www.gtk.org/)
- Installation
-
./configure make make install
- Usage
The presentation is defined in an XML file (as described below) and refers to external data (images, fonts) via relative or absolute filenames. Relative filenames are interpreted relative to the directory the XML file lives. Usage is simple:
dfbpoint <filename>
DFBPoint first checks that it can access all resource files and assures that it has suitable MediaProviders for DirectFB. It then starts to display the slides. The following keys are supported to navigate the slides:
Space, PageDown, Right - next slide Backspace, PageUp, Left - previous slide
Home - first slide
Esc - exit
File Format:
Look at the XML files in the examples directory. Basically you need to define a set of slides. Each slide has a number of items which are layouted vertically in the order they occur. Items can be text, special text like headers and listitems, images and video.
Items have a bunch of attributes like size, bgcolor, fgcolor etc. that can be set If you do not specify the attributes explicitly, the atttribute is taken from the parent, which is the slide the item occurs in. This concept allows you to set default values for the whole presentation by specifying them as attributes of the toplevel <slides> in the XML file. In the <slide> element you may override this settings for this particular slide. Each item itself can override its own attributes.
Unless otherwise specified, the encoding of the XML file is assumed to be UTF-8.
The file dfbpoint.dtd in the toplevel directory is a DTD of the XML file format. You may find it useful to validate your input files or to write stylesheets to convert from and to other formats.
Legal Stuff:
Copyright (C) 2001 convergence integrated media GmbH
Copyright (C) 2002 convergence
Author: Sven Neumann <sven@convergence.de>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
