From eda5b184ecb0c490bbfd8181dd75e4d454a76b29 Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Tue, 28 Dec 2021 22:00:19 +0000 Subject: [PATCH] Use the external attribute for tags to flag internal links. --- Chapters/ch01-an-example-application.xml | 4 ++-- panes.xml | 2 +- xmldoc.xsd | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Chapters/ch01-an-example-application.xml b/Chapters/ch01-an-example-application.xml index 8ba910d..8fd1791 100644 --- a/Chapters/ch01-an-example-application.xml +++ b/Chapters/ch01-an-example-application.xml @@ -46,9 +46,9 @@

Over the course of this tutorial, we’ll be looking at the different ways that panes can be used in RISC OS Wimp applications, and the code required to make them work. Since examples almost always make things easier to follow, we’ll start by creating a minimalist application containing the essentials required to get the windows and their panes on to the desktop. Although we will build up that code piece by piece in this chapter, the complete application will be available to download at the end – so don’t worry too much about copying the bits into a text editor as you go!

-

The language that we will be working in is BBC BASIC, although the concepts introduced should be easy enough to translate into other languages as required. The code will be self-contained, to avoid the distraction of using additional libraries, but I’ll be borrowing a number of the routines from my WimpLib BASIC Library to save re-inventing too many wheels along the way.

+

The language that we will be working in is BBC BASIC, although the concepts introduced should be easy enough to translate into other languages as required. The code will be self-contained, to avoid the distraction of using additional libraries, but I’ll be borrowing a number of the routines from my WimpLib BASIC Library to save re-inventing too many wheels along the way.

-

If you find it hard to follow any of the concepts in this chapter, it might be useful to look at a more general introduction to the Wimp first. There are a number of good books available for BASIC programmers, including A Beginner’s Guide To Wimp Programming or Wimp Programming For All, while those favouring C may wish to read my own Wimp Programming In C tutorial elsewhere on this site.

+

If you find it hard to follow any of the concepts in this chapter, it might be useful to look at a more general introduction to the Wimp first. There are a number of good books available for BASIC programmers, including A Beginner’s Guide To Wimp Programming or Wimp Programming For All, while those favouring C may wish to read my own Wimp Programming In C tutorial elsewhere on this site.

diff --git a/panes.xml b/panes.xml index 68b19bb..d11cb74 100644 --- a/panes.xml +++ b/panes.xml @@ -50,7 +50,7 @@

One area of the RISC OS Wimp which appears to be shrouded in mystery is the handling of pane windows. Whilst many modern applications will have toolbars or status displays, how they’re implemented is something that doesn’t seem to get a mention in any of the books on programming. Even the usually helpful Programmer’s Reference Manual is coy on the subject.

-

This guide was written after seeing the question asked many times in the forums and newsgroups. It isn’t intended to be a beginner’s guide to Wimp programming, but rather a more detailed look at the specific issues surrounding the handling of pane windows within applications. If you’re looking for an entry-level guide to the much larger subject of writing desktop applications, then for BASIC programmers I would suggest looking at A Beginner’s Guide To Wimp Programming or Wimp Programming For All (which is available to buy from R-Comp through their PlingStore application). If your preferred language is C, then you may find my own Wimp Programming In C tutorial helpful.

+

This guide was written after seeing the question asked many times in the forums and newsgroups. It isn’t intended to be a beginner’s guide to Wimp programming, but rather a more detailed look at the specific issues surrounding the handling of pane windows within applications. If you’re looking for an entry-level guide to the much larger subject of writing desktop applications, then for BASIC programmers I would suggest looking at A Beginner’s Guide To Wimp Programming or Wimp Programming For All (which is available to buy from R-Comp through their PlingStore application). If your preferred language is C, then you may find my own Wimp Programming In C tutorial helpful.

It’s worth remembering that these days there are many ways to handle panes. In addition to doing things the ‘old-fashioned way’, there’s the Nested Wimp, the Toolbox and even third-party libraries such as DeskLib if you're working in C. Whilst I’ll cover some of these here, I won’t cover them all. If you’re starting work on a new application, it’s definitely worth considering the best approach – the newer, ‘higher level’ solutions were created by Acorn to make developers’ lives easier!

diff --git a/xmldoc.xsd b/xmldoc.xsd index f9eb312..9a29856 100644 --- a/xmldoc.xsd +++ b/xmldoc.xsd @@ -178,6 +178,7 @@ +