
 Mode
 version 1.04 (22-Apr-93)
 by Dave Thomas,  1993

 Purpose ___________________________________________________________________

 To be the most technically advanced screen mode changer known to man...

 Usage _____________________________________________________________________

 When first loaded Mode will open a small-ish window in the top-right hand
corner of the screen. You will probably see some strange numbers in the icons
in the window, don't worry, just follow these intructions -

  Get the numbers of your most used screen modes, up to eight of them, as
that is the maximum that can be stored.
  Move the pointer over the large grey rectangle along the left-hand side of
the window, try dragging the pointer - yup that's right, it's a title bar
(honest!). Drag the window to where it's convinient and...
  Click Menu (middle) button over the top-left icon, a menu will appear.
Move to the 'New' item and over the arrow so that a submenu appears, type in
the first of your mode numbers here. Any numbers above 127 will be ignored.
  Repeat this procedure on different icons until you have run out of modes
or icons - whichever comes first. When you enter a mode it is automagically
stored in the battery-backed ram in your machine, so Mode is now permanently
configured to have those numbers every time you start it up.
  Now you can change mode with ultimate ease just by clicking on one of the
icons.

 If you are in a mode that is on the list then it will be highlighted in red.
Clicking with Adjust over any of the mode icons allows you to resize the
window - it acts like a resize gadget except it's invisible.
 Also on the menu is a 'Bits' option, this has two sub-options which control
the behaviour of the window. When the first option, 'Corner', is selected the
window will re-position itself at the top-right corner of the screen when the
mode is changed. The second option, 'Stuck', makes the window unmoveable or
resizable, although if 'Corner' is on it will still move on a mode change.

 Extra Configuration _______________________________________________________

 Mode can also be configured in other ways. These extra options are
controlled by 'switches' attatched to the line that runs Mode. Each switch
is prefixed by a dash (-) to help Mode distinguish it. i.e. on the line
'Run ADFS::DeskApps.$.!Mode -maxx128 -corner', the switches are '-maxx128'
and '-corner'. To use these switches I suggest you create an obey file to run
Mode with the switches you desire . In full, the switches are -

  -minx<number> : sets how small you can resize the window to across. Too
                 small a value and you may find you can't resize the window
                 back again.
  -miny<number> : the same as the above except it acts on the height of the
                 window.
  -maxx<number> : sets how large across the window will be when it is sent
                 back to the top-right of the screen.
  -maxy<number> : the same as the above except it acts on the height of the
                 window.
  -corner       : makes the window 'hug' the top-right corner of the screen
                 whenever you change mode.
  -stuck        : makes the window unmoveable or resizable, the side-title
                 bar will still remain present though.

 Since Mode supports desktop saving on Risc OS 3, it will also automatically
include these switches in that file. The current size of the window when you
save the desktop state is taken as the maximum window size (-maxx and -maxy).

 Notes _____________________________________________________________________

  You can put mode modules (or anything else to be auto-run) in
  '!Mode.Modes'. When you start Mode then they will be run automatically.
  Not tested on anythang other than my littl' ol' A3000 with Risc OS 3.10
  Any enhancements you want me to make then *please* contact me (see below)

 Versions __________________________________________________________________

1.03 - Remembered to put a 'Versions' bit in!
     - New resizing feature by clicking adjust over the icons. Plus you can't
       make the window smaller than one icon.
     - 'Corner-hugging' implemented when changing modes
     - New user-configurable option switches from command-line.
1.04 - Added new sub-menu section.
     - Removed 'top' option 'cos it was crap.

 Copyright _________________________________________________________________

 This software is supplied "as is"; using it is entirely at your own risk. 
You are free to distribute this application to anyone you please via any
medium, provided it is delivered with *all* the supplied files, *unaltered*.
You are not allowed to sell this software and I do not want to see it
supplied as a 'freebie' with any commercial packages, although I welcome
invitations to discuss any details should you want to do so. I (the author)
retain copyright over all of this application apart from the Interface
Manager module, to which I make no claims.

 If you want a disc packed with all the very latest versions of my apps and
utils, then please send me 3 (to cover costs) at the address below.
 If you have any comments, bug reports, suggestions for future versions or
anything else to offer me don't hesitate to write to -

  Dave Thomas
   20 Rosebery Avenue
     Waterloo
       Liverpool
                 L22 2BH

 or send me a message on The World Of Cryton, The Power House or The Plasma
Sphere.

See ya, hepcats!
