Games-Axmud
view release on metacpan or search on metacpan
lib/Games/Axmud/Client.pm view on Meta::CPAN
# 'in', 'out', 'etched-in', 'etched-out' or 'none')
constShadowType => 'in',
# 'Internal' windows
# ------------------
# Axmud keeps two lists of strip objects - one for Axmud's built-in strip objects, and
# another for all strip objects (built-in objects and custom objects added via a
# plugin, which should inherit from GA::Strip::Custom)
#
# The constant registry of strip objects (these values never change). A hash in the form
# $constStripHash{package_name} = pretty_name
# NB Both 'package_name' and 'pretty_name' should be unique. To avoid problems, use the
# plugin name in 'pretty_name', e.g. 'Myplugin toolbar'
constStripHash => {
'Games::Axmud::Strip::MenuBar'
=> $axmud::SCRIPT . ' menu bar',
'Games::Axmud::Strip::Toolbar'
=> $axmud::SCRIPT . ' toolbar',
'Games::Axmud::Strip::Table'
=> $axmud::SCRIPT . ' table',
'Games::Axmud::Strip::GaugeBox'
=> $axmud::SCRIPT . ' gauge box',
'Games::Axmud::Strip::SearchBox'
=> $axmud::SCRIPT . ' search box',
'Games::Axmud::Strip::Entry'
=> $axmud::SCRIPT . ' command entry box',
'Games::Axmud::Strip::ConnectInfo'
=> $axmud::SCRIPT . ' connection info box',
},
# The customisable registry hash of strip objects, in the form
# $customStripHash{package_name} = description
customStripHash => {}, # Set below
# Likewise, Axmud keeps two lists of table objects - one for Axmud's built-in table
# objects, and another for all table objects (built-in objects and custom objects
# added via a plugin, which should inherit from GA::Table::Custom)
#
# The constant registry of table objects (these values never change). A hash in the form
# $constTableHash{package_name} = pretty-name
# NB Both 'package_name' and 'pretty_name' should be unique. To avoid problems, use the
# plugin name in 'pretty_name', e.g. 'Myplugin button'
constTableHash => {
'Games::Axmud::Table::Holder'
=> $axmud::SCRIPT . ' holder',
'Games::Axmud::Table::Container'
=> $axmud::SCRIPT . ' generic container',
'Games::Axmud::Table::MiniTable'
=> $axmud::SCRIPT . ' mini-table',
'Games::Axmud::Table::Label'
=> $axmud::SCRIPT . ' label',
'Games::Axmud::Table::Button'
=> $axmud::SCRIPT . ' button',
'Games::Axmud::Table::CheckButton'
=> $axmud::SCRIPT . ' check button',
'Games::Axmud::Table::RadioButton'
=> $axmud::SCRIPT . ' radio button',
'Games::Axmud::Table::Entry'
=> $axmud::SCRIPT . ' entry box',
'Games::Axmud::Table::ComboBox'
=> $axmud::SCRIPT . ' combobox',
'Games::Axmud::Table::SimpleList'
=> $axmud::SCRIPT . ' simple list',
'Games::Axmud::Table::TextView'
=> $axmud::SCRIPT . ' simple textview',
'Games::Axmud::Table::Pane'
=> $axmud::SCRIPT . ' window pane',
'Games::Axmud::Table::PseudoWin'
=> $axmud::SCRIPT . ' pseudo-window',
},
# The customisable registry hash of table objects, in the form
# $customTableHash{package_name} = description
customTableHash => {}, # Set below
# Constant registry list used to initialise the default set of toolbar buttons used in
# 'internal' windows (usually only 'main' windows), when required. List in groups of
# 6, in the form
# name - Unique object name
# descrip - Short description
# iconPath - File path to the icon
# instruct - Instruction to execute
# session_flag - Icon only sensitised when there is a current session
# connect_flag - Icon only sensitised when current session connected to a world
# Separators are in groups of 1
constToolbarList => [
'connect_me',
'Connect to a world',
'phone_vintage.png',
';connect',
FALSE, # Always available
FALSE, # Doesn't require connection to world
'login_me',
'Mark the character as logged in',
'user_go.png',
';login',
TRUE, # Requires current session
TRUE, # Requires connection to world
'save_me',
'Save data',
'drive_disk.png',
';save',
TRUE, # Requires current session
TRUE, # Requires connection to world
# separator
'separator',
'open_map',
'Open Automapper window',
'compass.png',
';openautomapper',
TRUE, # Requires current session
TRUE, # Requires connection to world
# v1.3.051 commented out to leave room in widescreen mode for the stop client button
# 'reset_loc',
# 'Reset the Locator task',
# 'roadworks.png',
# ';resetlocator',
# TRUE, # Requires current session
# TRUE, # Requires connection to world
# separator
'separator',
'active_int',
( run in 1.901 second using v1.01-cache-2.11-cpan-8dfa8b56332 )