Skip to content

Commit

Permalink
Begin to add Chapter 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-fryatt committed Sep 27, 2022
1 parent cde8fd5 commit 5e6cd05
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 0 deletions.
51 changes: 51 additions & 0 deletions Chapters/ch07-moving-the-furniture.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version='1.0' encoding='UTF-8' standalone='no'?>

<!DOCTYPE xmlmanual SYSTEM "../panes.dtd">

<!-- Copyright 2021-2022, Stephen Fryatt (info@stevefryatt.org.uk)
-
- This file is part of Pane Tutorial:
-
- http://www.stevefryatt.org.uk/software/
-
- Licensed under the EUPL, Version 1.2 only (the "Licence");
- You may not use this work except in compliance with the
- Licence.
-
- You may obtain a copy of the Licence at:
-
- http://joinup.ec.europa.eu/software/page/eupl
-
- Unless required by applicable law or agreed to in
- writing, software distributed under the Licence is
- distributed on an "AS IS" basis, WITHOUT WARRANTIES
- OR CONDITIONS OF ANY KIND, either express or implied.
-
- See the Licence for the specific language governing
- permissions and limitations under the Licence.
-->

<manual xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xmldoc.xsd" version="1.8.6">

<!-- Chapter 7
-
- Moving The Furniture
-->

<chapter id="chap-moving-furniture">
<resources>
<images>Chapter07</images>
<downloads>Chapter07</downloads>
</resources>
<filename>moving-the-furniture.php</filename>
<uri>moving-the-furniture</uri>
<title>Moving the Furniture</title>

<summary>Our panes don&rsquo;t have to be over the window&rsquo;s work area &ndash; we can turn them into window furniture, too!</summary>

<section>
<p>In <reference id="chap-nest-wimp">the last chapter</reference>, we saw how the Nested Wimp can be used to look after a pane within our application&rsquo;s window. Whilst useful, however, this is no more than we can do manually &ndash; as seen in the chapters before that.</p>

</section>
</chapter>
</manual>
24 changes: 24 additions & 0 deletions Downloads/Chapter07/NetsedFurntiure/!Boot,feb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
| >!Boot
|
| Copyright 2021-2022, Stephen Fryatt (info@stevefryatt.org.uk)
|
| This file is part of PaneDemo:
|
| http://www.stevefryatt.org.uk/risc-os/panes
|
| Permission is hereby granted, free of charge, to any person obtaining
| a copy of this software and associated documentation files (the
| "Software"), to deal in the Software without restriction, including
| without limitation the rights to use, copy, modify, merge, publish,
| distribute, sublicense, and/or sell copies of the Software, and to
| permit persons to whom the Software is furnished to do so.
|
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
| OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
| IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
| CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
| TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
| SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

If "<PaneDemo$Dir>"="" Then Set PaneDemo$Dir <Obey$Dir>
29 changes: 29 additions & 0 deletions Downloads/Chapter07/NetsedFurntiure/!Run,feb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
| >!Run
|
| Copyright 2021-2022, Stephen Fryatt (info@stevefryatt.org.uk)
|
| This file is part of PaneDemo:
|
| http://www.stevefryatt.org.uk/risc-os/panes
|
| Permission is hereby granted, free of charge, to any person obtaining
| a copy of this software and associated documentation files (the
| "Software"), to deal in the Software without restriction, including
| without limitation the rights to use, copy, modify, merge, publish,
| distribute, sublicense, and/or sell copies of the Software, and to
| permit persons to whom the Software is furnished to do so.
|
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
| OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
| IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
| CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
| TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
| SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Set PaneDemo$Dir <Obey$Dir>

RMEnsure WindowManager 3.80 Error PaneDemo requires the Nested Window Manager.

WimpSlot -min 96K -max 96K
Run <PaneDemo$Dir>.!RunImage
Binary file added Downloads/Chapter07/NetsedFurntiure/!RunImage,ffb
Binary file not shown.
Binary file added Downloads/Chapter07/NetsedFurntiure/Templates,fec
Binary file not shown.
1 change: 1 addition & 0 deletions panes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
<chapter file="ch04-column-headings.xml"/>
<chapter file="ch05-does-order-matter.xml"/>
<chapter file="ch06-the-nested-wimp.xml"/>
<chapter file="ch07-moving-the-furniture.xml"/>

</manual>

0 comments on commit 5e6cd05

Please sign in to comment.