| Config definition for USBinfo
| Version 0.70  29 Jun 2003

Title = USBinfo choices
ColumnWidth = 470
Width = 1000
Height = 100
CheckVersion = 1.56
SysVar = UsbInfoCnf

[Main]

Icon = usb
Text = Main choices
Short = General
Width = 200
Column = 580

{
 Type = Comment
 Text = When starting the program
 Options = -col 4
}
{
 Name = OpenTopo
 Text = Open Topology window
 Type = Option
 Default = on
 Help = Open Topology window when program is lauched
 Legend = Actions
}
{
 Name = OpenOnStart
 Text = Open Status window
 Type = Option
 Default = off
 Help = Open Status window when program is launched
 Legend =
}
{
};
{
 Type = Icon
 Default = #<USBInfo$Dir>.Files._Mode;Mode;0
 Width = full
 Height = 126
 Options = -border 0
 Align = Right
}-
{
 Name = Mode
 Text = Display
 Type = Radio
 Menu = Mode;Basic,0;Advanced,1;Expert,2
 Stack = vert
 Width = Auto
 Default = 1
 Help = Select default display mode (configurable in separate tabs)
 OptHelp = Show basic information only;Show advanced information;Show detailed technical information
}
{
 type = ruler
 height= 20
}
{
 Type = Comment
 Text = When connecting a USB device
 Options = -col 4
}
{
 Name = PopUpTopo
 Text = Pop-up Topology window
 Type = Option
 Default = off
 Help = Open Topology window when device is added or removed
 Legend = Actions
}
{
 Name = PopUp
 Text = Pop-up Status window
 Type = Option
 Default = off
 Help = Open Status window when device is added or removed
 Legend =
}
{
 Name = SoundNew
 Text = Play sound
 Type = Option
 Default = on
 Help = Play sound sample when new USB device detected
 Legend =
};
{
 Type = Button
 Default = *PlayIt_Play <USBinfo$Dir>.Sound.<UsbInfoCnf$Value$Main@SampleNew>
 Enable = SoundNew,1
 Options = -sprite ~sound
 Width = 48
}:
{
 Name = SampleNew
 Type = Menu
 Menu = #Sample;file;<USBinfo$Dir>.Sound
 Default = Ding
 Help = Select a sound sample to play
 Enable = SoundNew,1
}
{
 type = ruler
 height= 20
}
{
 Type = Comment
 Text = When removing a USB device
 Options = -col 4
}
{
 Legend = Actions
 Name = GoneOpenTopo
 Text = Pop-up Topology window
 Type = Option
 Default = off
 Help = Open Topology window when device is added or removed
}
{
 Legend =
 Name = GoneOpenStatus
 Text = Pop-up Status window
 Type = Option
 Default = off
 Help = Open Status window when device is added or removed
}
{
 Legend =
 Name = SoundGone
 Text = Play sound
 Type = Option
 Default = on
 Help = Play sound sample when USB device unplugged
 Legend =
};
{
 Type = Button
 Default = *PlayIt_Play <USBinfo$Dir>.Sound.<UsbInfoCnf$Value$Main@SampleGone>
 Enable = SoundGone,1
 Options = -sprite ~sound
 Width = 48
}:
{
 Name = SampleGone
 Type = Menu
 Menu = #Sample;file;<USBinfo$Dir>.Sound
 Default = BLOOP
 Help = Select a sound sample to play
}
{
 type = ruler
 height= 20
}

[Settings]

Icon = window
Text = Advanced settings
Short = Settings
Width = 200

{
 Name = IconBar
 Text = Install on Iconbar
 Type = Option
 Default = on
 Help = Install on iconbar when program is launched
 Legend = Options
}
{
 Name = TopoBut
 Text = Show toolbar
 Type = Option
 Default = on
 Help = Show toolbar to the left of the topology window
 Legend =
}
{
 Name = TitleMode
 Text = Show display mode in window title
 Type = Option
 Default = on
 Help = Show current display mode in window title bar
 Legend =
}
{
 Name = TitleNum
 Text = Show counter in title
 Type = Option
 Default = off
 Help = Show number of connected devices in title bar
 Legend =
}
{
 Name = Truncate
 Text = Truncate location
 Type = Option
 Default = off
 Help = Strip leading zeros from device location
 Legend =
}
{
 Name = Resize
 Text = Maximise windows
 Type = Option
 Default = on
 Help = Resize and maximise windows when (dis)connecting device
 Legend =
}
{
 Name = QuitOnClose
 Text = Quit when closing window
 Type = Option
 Default = off
 Help = Quit program when closing status window
 Legend =
}
{
 type = ruler
 height = 20
}
{
 Type = Comment
 Text = Behaviour of the application icon in the iconbar
 Options = -col 4
}
{
 Name = Select
 Text = Left click
 Type = Menu
 Help = Action when iconbar clicked with Select (left mouse button)
 Menu = Action;No action|,0;Open status window,1;Open topology window,2;Open both windows,3
 Default = 2
 Enable = IconBar,1
}
{
 Name = Adjust
 Text = Right click
 Type = Menu
 Help = Action when iconbar clicked with Adjust (right mouse button)
 Menu = Action;No action|,0;Open status window,1;Open topology window,2;Open both windows,3
 Default = 1
 Enable = IconBar,1
}
{
 Name = Priority
 Text = Position
 Type = Menu
 |Width = 500
 Default = &50000001
 Menu = Position;Anywhere at right,0;Left of Display manager,&0E000000;Right of Display manager|,&2E000000;Anywhere at left,1;Right of Apps,&50000001;Left of Apps,&60000001
 Help = Position of the USB-icon in the iconbar
 Enable = IconBar,1
}
{
 Name = BarCount
 Text = Show device counter in iconbar
 Type = Option
 Default = on
 Help = Show number of USB devices in iconbar
 Legend = Options
 Enable = Iconbar,1
}
{
 type = ruler
 height = 20
}
{
 Name = Report
 Text = Report
 Type = Radio
 Menu = Report;Short,0;Long,1;Full info,2
 Stack = hor
 Width = Auto
 Default = 1
 Help = Select which data is reported in the report file
}
{
 type = ruler
 height = 20
}

[User]

Icon = mode31
Text = Display options in 'basic' mode
Short = Basic
Width = 200

{
 Type = Comment
 Text = Global display options
 Options = -col 4
}
{
 Legend = Show
 Name = ClassName
 Text = Class names (rather than numbers)
 Type = Option
 Default = on
 Help = Show class names rather than numbers
}
{
 Legend =
 Name = ShowIcons
 Text = Special device icons (when available)
 Type = Option
 Default = on
 Help = Replace generic device icon by special icon (when available)
 Enable = ClassName,1
}
{
 Legend =
 Name = ShowWarn
 Text = Warning icon
 Type = Option
 Default = on
 Help = Show warning sign when special condition is encountered
}
{
 Legend =
 Name = Interface
 Text = Multiple interfaces (when present)
 Type = Option
 Default = off
 Help = Show multiple interfaces of each device (when present)
}
{
 type = ruler
 height = 20
}
{
 Type = Comment
 Text = Topology window options
 Options = -col 4
}
{
 Legend = Show
 Name = More
 Text = Vendor logo and functional description
 Type = Option
 Default = off
 Help = Show vendor icon (logo) and functional description
}
{
 Legend =
 Name = TopoBus
 Text = Stack name and bus number
 Type = Option
 Default = off
 Help = Show the interface and stack name and the bus number
}
{
 Legend =
 Name = TopoPort
 Text = Host port numbers
 Type = Option
 Default = off
 Help = Show the port number of the host to which a device is connected
}
{
 type = ruler
 height = 20
}
{
 Type = Comment
 Text = Status window options
 Options = -col 4
}
{
 Legend = Show
 Name = Vendor
 Text = Vendor logo and vendor/product ID
 Type = Option
 Default = off
 Help = Show vendor icon (logo) and vendor/product ID
}
{
 Legend =
 Name = Device
 Text = Device level information
 Type = Option
 Default = off
 Help = Show device level information
}
{
 Legend =
 Name = Alt
 Text = Alternate interfaces
 Type = Option
 Default = off
 Help = Show alternative interfaces (when available)
 Enable = Interface,1
}
{
 Legend =
 Name = Endpoints
 Text = Endpoints
 Type = Option
 Default = off
 Help = Show detailed information on endpoints
}
{
 Legend =
 Name = ShowBus
 Text = Stack name and bus number
 Type = Option
 Default = off
 Help = Show stack name and bus/address in Status window
}

[Advanced]

Icon = mode32
Text = Display options in 'advanced' mode
Short = Advanced
Width = 200

{
 Type = Comment
 Text = Global display options
 Options = -col 4
}
{
 Legend = Show
 Name = ClassName
 Text = Class names (rather than numbers)
 Type = Option
 Default = on
 Help = Show class names rather than numbers
}
{
 Legend =
 Name = ShowIcons
 Text = Special device icons (when available)
 Type = Option
 Default = on
 Help = Replace generic device icon by special icon (when available)
 Enable = ClassName,1
}
{
 Legend =
 Name = ShowWarn
 Text = Warning icon
 Type = Option
 Default = on
 Help = Show warning sign when special condition is encountered
}
{
 Legend =
 Name = Interface
 Text = Multiple interfaces (when present)
 Type = Option
 Default = off
 Help = Show multiple interfaces of each device (when present)
}
{
 type = ruler
 height = 20
}
{
 Type = Comment
 Text = Topology window options
 Options = -col 4
}
{
 Legend = Show
 Name = More
 Text = Vendor logo and functional description
 Type = Option
 Default = on
 Help = Show vendor icon (logo) and functional description
}
{
 Legend =
 Name = TopoBus
 Text = Stack name and bus number
 Type = Option
 Default = on
 Help = Show the interface and stack name and the bus number
}
{
 Legend =
 Name = TopoPort
 Text = Host port numbers
 Type = Option
 Default = off
 Help = Show the port number of the host to which a device is connected
}
{
 type = ruler
 height = 20
}
{
 Type = Comment
 Text = Status window options
 Options = -col 4
}
{
 Legend = Show
 Name = Vendor
 Text = Vendor logo and vendor/product ID
 Type = Option
 Default = on
 Help = Show vendor icon (logo) and vendor/product ID
}
{
 Legend =
 Name = Device
 Text = Device level information
 Type = Option
 Default = on
 Help = Show device level information
}
{
 Legend =
 Name = Alt
 Text = Alternate interfaces
 Type = Option
 Default = off
 Help = Show alternative interfaces (when available)
 Enable = Interface,1
}
{
 Legend =
 Name = Endpoints
 Text = Endpoints
 Type = Option
 Default = off
 Help = Show detailed information on endpoints
}
{
 Legend =
 Name = ShowBus
 Text = Stack name and bus number
 Type = Option
 Default = off
 Help = Show stack name and bus/address in Status window
}


[Full]

Icon = mode33
Text = Display options in 'expert' mode
Short = Full
Width = 200

{
 Type = Comment
 Text = Global display options
 Options = -col 4
}
{
 Legend = Show
 Name = ClassName
 Text = Class names (rather than numbers)
 Type = Option
 Default = on
 Help = Show class names rather than numbers
}
{
 Legend =
 Name = ShowIcons
 Text = Special device icons (when available)
 Type = Option
 Default = on
 Help = Replace generic device icon by special icon (when available)
 Enable = ClassName,1
}
{
 Legend =
 Name = ShowWarn
 Text = Warning icon
 Type = Option
 Default = on
 Help = Show warning sign when special condition is encountered
}
{
 Legend =
 Name = Interface
 Text = Multiple interfaces (when present)
 Type = Option
 Default = on
 Help = Show multiple interfaces of each device (when present)
}
{
 type = ruler
 height = 20
}
{
 Type = Comment
 Text = Topology window options
 Options = -col 4
}
{
 Legend = Show
 Name = More
 Text = Vendor logo and functional description
 Type = Option
 Default = on
 Help = Show vendor icon (logo) and functional description
}
{
 Legend =
 Name = TopoBus
 Text = Stack name and bus number
 Type = Option
 Default = on
 Help = Show the interface and stack name and the bus number
}
{
 Legend =
 Name = TopoPort
 Text = Host port numbers
 Type = Option
 Default = on
 Help = Show the port number of the host to which a device is connected
}
{
 type = ruler
 height = 20
}
{
 Type = Comment
 Text = Status window options
 Options = -col 4
}
{
 Legend = Show
 Name = Vendor
 Text = Vendor logo and vendor/product ID
 Type = Option
 Default = on
 Help = Show vendor icon (logo) and vendor/product ID
}
{
 Legend =
 Name = Device
 Text = Device level information
 Type = Option
 Default = on
 Help = Show device level information
}
{
 Legend =
 Name = Alt
 Text = Alternate interfaces
 Type = Option
 Default = on
 Help = Show alternative interfaces (when available)
 Enable = Interface,1
}
{
 Legend =
 Name = Endpoints
 Text = Endpoints
 Type = Option
 Default = on
 Help = Show detailed information on endpoints
}
{
 Legend =
 Name = ShowBus
 Text = Stack name and bus number
 Type = Option
 Default = on
 Help = Show stack name and bus/address in Status window
}


| {
|  Name = Heading
|  Text = Heading font
|  Type = Font
|  Default = Homerton.Bold
|  Help = Font used for headings
| }
| {
|  Name = Font
|  Text = Main font
|  Type = Font
|  Default = Homerton.Medium
|  Help = Main font used in status window
| }
| {
|  Name = FontSize
|  Text = Font size
|  Type = Integer
|  Width = 100
|  Help = Font size in RISC OS font-units
|  Default = 142
| };
| {
|  Name = FontBlending
|  Text = Font blending
|  Type = Option
|  Default = on
|  Help = Fonts are blended smoothly into the background
| }
| {
|  type = ruler
|  height = 20
| }
| {
|  Name = HColour
|  Text = Heading text
|  Type = Colour
|  Width = 240
|  Help = Colour used for the heading text
|  Default = 255,255,255
| };
| {
|  Name = TColour
|  Text = Background
|  Type = Colour
|  Width = 240
|  Help = Colour used for the heading background
|  Default = 153,68,102
| }
| {
|  Name = SelCol
|  Text = Selected box
|  Type = Colour
|  Width = 240
|  Help = Background colour of a selected item
|  Default = &FFEECC00
| };
| {
|  Name = EColour
|  Text = Outline
|  Type = Colour
|  Width = 240
|  Help = Outline colour of a selected item
|  Default = &995B2900
| }
|
| {
|  type = ruler
|  height = 20
| }

[System]

Icon = sys
Text = System settings
Short = System
Width = 200
Offset = 486

{
 Name = Enable
 Text = Enable logging
 Type = Option
 Default = off
 Help = When on, all actions will be logged
 Legend = Options
}
{
 Name = BeepWarn
 Text = Beep on warning
 Type = Option
 Default = on
 Help = Sound a beep when displaying a warning window
 Legend =
}
{
 Name = BeepError
 Text = Beep on error
 Type = Option
 Default = on
 Help = Sound a beep when displaying an error window
 Legend =
}
{
 Name = VendorAuto
 Text = Check for update of Vendor ID database
 Help = Automatically check for update on startup
 Type = Option
 Default = 1
 Legend = 
}
{
 type = ruler
 height = 20
}
{
 Name = Level
 Text = Log level
 Type = Integer
 Help = Only messages with a level lower or equal will be logged
 Default = 6
 Min = 0
 Max = 10
 Size = 2
 Width = 112
 Enable = Enable,1
}
{
 Name = Path
 Text = Path
 Type = ole
 Help = This is the path where the logfile will be stored
 Default = <USBInfo$Dir>.Log
 Drop = path
 Enable = Enable,1
}
{
 Name = Prefix
 Text = File prefix
 Default = usb
 Type = String
 Size = 3
 Width = 112
 Help = Two-letter prefix for the log files
 Enable = Enable,1
}
{
 Name = Type
 Text = File type
 Default = &FFF
 Type = String
 Size = 4
 Width = 112
 Menu = File type;Text (&FFF),&FFF;Data (&FFD),&FFD
 Help = This is the RISC OS file type for the file
 Options = -fix
 Enable = Enable,1
}
{
 Name = CreationPeriod
 Text = Create every
 Type = Menu
 Default = 1
 Menu = Every;Default (as set by SWI Log_SetOptions)|,0;Day,1;Week,2;Month,3;Year,4
 Help = Interval for creation of a new Log file
 Enable = Enable,1
}
{
 Name = StoragePeriod
 Text = Keep
 Type = Integer
 Default = 3
 Size = 3
 Width = 112
 Help = Log files are kept for this period
 Enable = Enable,1
}:
{
 Name = StoragePeriodUnits
 Type = Menu
 Default = 1
 Menu = Period;Same as for create|,0;Day(s),1;Week(s),2;Month(s),3;Year(s),4
 Enable = Enable,1
}
{
 type = ruler
 height = 20
}
{
 Name = VendorAdr
 Text = Vendor ID file
 Type = URL
 Size = 256
 Help = URL where a new Vendor database can be obtained
 Default = http://www.linux-usb.org/usb.ids
 Enable = VendorAuto,1
}
| {
|  Name = ReportAdr
|  Text = Report new items
|  Type = URL
|  Size = 256
|  Help = URL where a new Vendor/Product IDs should be reported
|  Default = http://www.linux-usb.org/usb-ids.html
| }
{
 Name = SearchEngine
 Text = Search
 Type = URL
 Size = 256
 Help = Put here the address of your favorite search engine
 Default = http://www.google.com
}
| {
|  type = ruler
|  height = 20
| }

