| Config definition for USBinfo
| Version 0.70  29 Jun 2003

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

[App]

Icon = pgm
Text = USBinfo

[App,Main]

Icon = pgm
Text = Main choices
Short = General
Width = 240

{
 Name = OpenOnStart
 Text = Open Status window
 Type = Option
 Default = off
 Help = Open Status-window when program is launched
};
{
 Name = PopUp
 Text = Pop-up Status window
 Type = Option
 Default = off
 Help = Open Status-window when device is added or removed
}
{
 Name = OpenTopo
 Text = Open Topology window
 Type = Option
 Default = on
 Help = Open Topology-window when program is lauched
};
{
 Name = PopUpTopo
 Text = Pop-up Topology window
 Type = Option
 Default = off
 Help = Open Topology-window when device is added or removed
}
{
 type = ruler
 height= 20
}
{
 Name = IconBar
 Text = Install on Iconbar
 Type = Option
 Default = on
 Help = Install on iconbar when program is launched
};
{
 Name = Resize
 Text = Resize windows
 Type = Option
 Default = on
 Help = Resize windows automatically
}
{
 Name = TitleMode
 Text = Show mode in title
 Type = Option
 Default = on
 Help = Show current mode in title bar
};
{
 Name = BarCount
 Text = Show counter in iconbar
 Type = Option
 Default = on
 Help = Show number of USB devices in iconbar
 Enable = Iconbar,1
}
{
 Name = TopoBut
 Text = Show button bar
 Type = Option
 Default = on
 Help = Show buttons at the top edge of the topology window
};
{
 Name = TitleNum
 Text = Show counter in title
 Type = Option
 Default = off
 Help = Show number of connected devices in title bar
}
{
 Name = QuitOnClose
 Text = Quit when closing window
 Type = Option
 Default = off
 Help = Quit program when closing status window
};
{
 Name = Truncate
 Text = Truncate location
 Type = Option
 Default = off
 Help = Strip leading zeros from device location
}
{
 type = ruler
 height = 20
}
Width = 136
{
 Name = Report
 Text = Report
 Type = Radio
 Menu = Report;Short,0;Long,1;Full info,2
 Stack = hor
 Width = 280
 Default = 1
 Help = Select which data is reported in the report file
}
{
 Name = Mode
 Text = Display
 Type = Radio
 Menu = Mode;Simple,0;Advanced,1;Full info,2
 Stack = hor
 Width = 280
 Default = 1
 Help = Select default display mode (configurable in separate tabs)
}
{
 type = ruler
 height = 20
}

[App,Settings]

Icon = cog
Text = Settings
Short = Settings
Width = 240

| {
|  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
}

{
 Name = BeepWarn
 Text = Beep on warning
 Type = Option
 Default = on
 Help = Sound a beep when displaying a warning window
};
{
 Name = BeepError
 Text = Beep on error
 Type = Option
 Default = on
 Help = Sound a beep when displaying an error window
}
{
 type = ruler
 height = 20
}
{
 Name = SoundNew
 Text = New device detected
 Type = Option
 Default = on
 Help = Play sound sample when new USB device detected
};
{
 Name = SampleNew
 Type = Menu
 Menu = #Sample;file;<USBinfo$Dir>.Sound
 Default = Ding
 Help = Select a sound sample to play
 Width = 350
 Enable = SoundNew,1
}:
{
 Type = Button
 Text = Try
 Default = *PlayIt_Play <USBinfo$Dir>.Sound.<UsbInfoCnf$Value$Settings@SampleNew>
 Enable = SoundNew,1
}
{
 Name = SoundGone
 Text = Device unplugged
 Type = Option
 Default = on
 Help = Play sound sample when USB device unplugged
};
{
 Name = SampleGone
 Type = Menu
 Menu = #Sample;file;<USBinfo$Dir>.Sound
 Default = BLOOP
 Help = Select a sound sample to play
 Width = 350
}:
{
 Type = Button
 Text = Try
 Default = *PlayIt_Play <USBinfo$Dir>.Sound.<UsbInfoCnf$Value$Settings@SampleGone>
 Enable = SoundGone,1
}
{
 type = ruler
 height = 20
}
{
 Name = Priority
 Text = Iconbar 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
}
{
 Name = Select
 Text = Left mouse 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
}
{
 Name = Adjust
 Text = Right mouse 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
}
{
 type = ruler
 height = 20
}
{
 Name = VendorAuto
 Text = Check for update of Vendor ID file
 Help = Automatically check for update on startup
 Type = Option
 Default = 1
 Legend = 
}
{
 Name = VendorAdr
 Text = Vendor ID file
 Type = URL
 Size = 256
 Help = This is the address where a new Vendor file can be obtained
 Default = http://www.linux-usb.org/usb.ids
}
| {
|  Name = ReportAdr
|  Text = Report new items
|  Type = URL
|  Size = 256
|  Help = This is the address 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
}

[User]

Icon = window-
Text = Display options in 'simple' mode
Short = Simple
Width = 168

{
 Name = Vendor
 Text = Show Vendor details
 Type = Option
 Default = off
 Help = Show vendor and product details
};
{
 Name = ShowBus
 Text = Show bus name/number
 Type = Option
 Default = off
 Help = Show the FS name and the bus number in Status window
}

{
 Name = Device
 Text = Show Device
 Type = Option
 Default = off
 Help = Show device level
}

{
 Name = Interface
 Text = Show multiple Interfaces
 Type = Option
 Default = off
 Help = Show multiple interface (if present)
};
{
 Name = ClassName
 Text = Show class names
 Type = Option
 Default = on
 Help = Show class names rather than numbers
}

{
 Name = Alt
 Text = Show Alternates
 Type = Option
 Default = off
 Help = Show alternative interfaces
 Enable = Interface,1
};
{
 Name = ShowIcons
 Text = Show fancy icons
 Type = Option
 Default = on
 Help = Replace device icon by special icon (if possible)
}

{
 Name = Endpoints
 Text = Show Endpoints
 Type = Option
 Default = off
 Help = Show detailed information on endpoints
}
{
 type = ruler
 height = 20
}
{
 Name = TopoInt
 Text = Show multiple interfaces
 Type = Option
 Default = off
 Help = Expand device to show additional interfaces in Topology window
};
{
 Name = TopoPort
 Text = Show host/port numbers
 Type = Option
 Default = off
 Help = Show the address/port number this device is connected to
}
{
 Name = TopoIcon
 Text = Show extra icon
 Type = Option
 Default = on
 Help = Add icon of another interface (if present) in Topology window
};
{
 Name = TopoBus
 Text = Show bus name/number
 Type = Option
 Default = off
 Help = Show the FS name and the bus number in Topology window
}
{
 Name = More
 Text = Show more information
 Type = Option
 Default = off
 Help = Show extra information in Topology window
}

[Advanced]

Icon = window+
Text = Display options in 'advanced' mode
Short = Advanced
Width = 168

{
 Name = Vendor
 Text = Show Vendor details
 Type = Option
 Default = off
 Help = Show vendor and product details
};
{
 Name = ShowBus
 Text = Show bus name/number
 Type = Option
 Default = off
 Help = Show the FS name and the bus number in Status window
}

{
 Name = Device
 Text = Show Device
 Type = Option
 Default = on
 Help = Show device level
}

{
 Name = Interface
 Text = Show multiple Interfaces
 Type = Option
 Default = on
 Help = Show multiple interface (if present)
};
{
 Name = ClassName
 Text = Show class names
 Type = Option
 Default = on
 Help = Show class names rather than numbers
}

{
 Name = Alt
 Text = Show Alternates
 Type = Option
 Default = off
 Help = Show alternative interfaces
 Enable = Interface,1
};
{
 Name = ShowIcons
 Text = Show fancy icons
 Type = Option
 Default = on
 Help = Replace device icon by special icon (if possible)
}

{
 Name = Endpoints
 Text = Show Endpoints
 Type = Option
 Default = on
 Help = Show detailed information on endpoints
}
{
 type = ruler
 height = 20
}
{
 Name = TopoInt
 Text = Show multiple interfaces
 Type = Option
 Default = on
 Help = Expand device to show additional interfaces in Topology window
};
{
 Name = TopoPort
 Text = Show host/port numbers
 Type = Option
 Default = on
 Help = Show the address/port number this device is connected to
}
{
 Name = TopoIcon
 Text = Show extra icon
 Type = Option
 Default = on
 Help = Add icon of another interface (if present) in Topology window
};
{
 Name = TopoBus
 Text = Show bus name/number
 Type = Option
 Default = on
 Help = Show the FS name and the bus number in Topology window
}
{
 Name = More
 Text = Show more information
 Type = Option
 Default = off
 Help = Show extra information in Topology window
}

[Full]

Icon = window++
Text = Display options in 'full info' mode
Short = Full
Width = 168

{
 Name = Vendor
 Text = Show Vendor details
 Type = Option
 Default = on
 Help = Show vendor and product details
};
{
 Name = ShowBus
 Text = Show bus name/number
 Type = Option
 Default = on
 Help = Show the FS name and the bus number in Status window
}

{
 Name = Device
 Text = Show Device
 Type = Option
 Default = on
 Help = Show device level
}

{
 Name = Interface
 Text = Show multiple Interfaces
 Type = Option
 Default = on
 Help = Show multiple interface (if present)
};
{
 Name = ClassName
 Text = Show class names
 Type = Option
 Default = on
 Help = Show class names rather than numbers
}

{
 Name = Alt
 Text = Show Alternates
 Type = Option
 Default = on
 Help = Show alternative interfaces
 Enable = Interface,1
};
{
 Name = ShowIcons
 Text = Show fancy icons
 Type = Option
 Default = on
 Help = Replace device icon by special icon (if possible)
}

{
 Name = Endpoints
 Text = Show Endpoints
 Type = Option
 Default = on
 Help = Show detailed information on endpoints
}
{
 type = ruler
 height = 20
}
{
 Name = TopoInt
 Text = Show multiple interfaces
 Type = Option
 Default = on
 Help = Expand device to show additional interfaces in Topology window
};
{
 Name = TopoPort
 Text = Show host/port numbers
 Type = Option
 Default = on
 Help = Show the address/port number this device is connected to
}
{
 Name = TopoIcon
 Text = Show extra icon
 Type = Option
 Default = on
 Help = Add icon of another interface (if present) in Topology window
};
{
 Name = TopoBus
 Text = Show bus name/number
 Type = Option
 Default = on
 Help = Show the FS name and the bus number in Topology window
}
{
 Name = More
 Text = Show more information
 Type = Option
 Default = on
 Help = Show extra information in Topology window
}

[Log]

Icon = log
Text = Logging
Width = 260
Offset = 566

{
 Name = Enable
 Text = Enable logging
 Type = Option
 Default = off
 Help = When on, all actions will be logged
}
{
 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
}

