Wimp Programming for Allon Acorn RISC ComputersLee Calcraft and Alan WrigleyClick the cover picture to the right to view a larger version in a new browser window |
![]() |
![]() |
Click this icon to open a window showing the source files for this book |
![]() |
Click this icon to open a window showing the contents of the accompanying software disc |
This book provides Basic programmers with a complete introduction to all the techniques involved in writing multi-tasking Wimp programs to run within the RISC OS Desktop environment. No prior knowledge of the Wimp is assumed and the tutorial style of the book will enable all programmers to understand the concepts involved and to develop their skills in writing high quality programs for Acorn's RISC machines.
An accompanying disc, containing all the example programs described in the book, and additional applications, is available for £4.95 (inc. VAT) direct from the publishers.
The authors are both well known within the Acorn community. Dr Lee Calcraft is co-founder of BEEBUG, currently co-editor of RISC User, and author of RISC Developments' popular DeskEdit and ArcScan packages. He also runs a programming consultancy. Alan Wrigley is a former Technical Editor of RISC User, now a freelance contributor, and author of an expanding range of Desktop applications marketed under the name of Rheingold Enterprises. Both authors have extensive experience of programming in general, and the RISC OS Wimp in particular.
£12.95
ISBN 1-85142-088-6
9 781851 420889
![]() |
Introduction |
![]() |
1. Introducing the Wimp
Multi-tasking Wimp applications SWI calls Outline of a Wimp program Application directories Introduction to error handling |
![]() |
2. Windows
Creating a window Window size Scroll offsets Window colours Window flags Window title Work area flags Miscellaneous window information Opening and closing a window Window flag generator |
![]() |
3. The Wimp Poll
Null reason codes Requests to open or close a window Pointer over window Mouse clicks Key presses Masking events |
![]() |
4. Error Handling
Reporting errors Responding to error boxes |
![]() |
5. Icons
Creating icons Icon flags Indirected icons Exclusive selection groups Menu icons Radio icons Writable icons Altering icons Validation Three-dimensional icons Sprite icons The icon bar |
![]() |
6. Menus
Creating a menu Menu structure Menu items Menu icon flags and data Menu positioning Menu selection Handling Adjust Ticking and shading items Submenus Dialogue boxes Implementing more than one menu |
![]() |
7. Redrawing Windows
The redraw process Forcing a redraw Efficient redraws Redrawing text Redrawing graphics |
![]() |
8. The Wimp Message System, Loading and Saving Data
Message action codes File information utility Error-returning SWI calls Data transfer protocol Sending messages Implementing a save box Object dragging Saving data Submenu warnings |
![]() |
9. Templates
Using FormEd Creating a window Adding some icons Sprite-only icons Text-plus-sprite icons Using templates in an application Using sprites from more than one area Three-dimensional icons |
![]() |
10. Printer Drivers and Outline Fonts
Internal co-ordinates The print job Drawing the page Colour translation Outline fonts Displaying outline fonts Printing outline fonts |
![]() |
Appendix A: Indirection Operators |
![]() |
Appendix B: Using RISC OS 3 |
![]() |
Appendix C: Application Resources |
![]() |
Appendix D: Setting up a Sprite Area |
![]() |
Appendix E: SWI calls described in this book |
![]() |
Appendix F: Associated Disc |
![]() |
Appendix G: The Wimp Programmer's Toolkit |
![]() |
Appendix H: DeskEdit |
![]() |
Index |