folder DeskLib Tutorials

DeskLib is a fully-sourced general-purpose freeware C library for writing desktop applications for RISC OS.  The aim of DeskLib is to collect together useful little snippets of code to help the desktop programmer.

In this area, DeskLib already provides a full set of WIMP SWI veneers in assembler, a whole set of useful icon manipulation functions, etc.  Higher-level event managers, etc. are also provided but trade off efficiency and compactness to provide genericity.

The following example applications are released under the terms of the GNU General Public License.

 


folder !FontDemo

This application demonstrates the use of fonts under DeskLib. The main window will display the current font selected, selecting menu from the main window will allow the user to select a different font name, colour and size.


folder !Redraw

This is a simple application showing how the wimp displays redraws when other windows are overlapping the application.


folder !Skeleton

This gives you a simple framework so that you can build upon to design your own games.


folder !Tiles

This application shows how to display and toggle tiled sprites. Click select on a tile to turn it either on or off. This could be further developed into game such as minesweeper or draughts etc.


folder !Tiles2

This is similar to the above application !Tiles but allows the user to paint tiles by keeping select or adjust down and moving the mouse. This could be further developed into a map editor for example.


folder !Timer

This simple application shows how to use the null event in DeskLib.