News News Archiv Downloads TheBat! Voyager RSS/Sidebar Minimal GLYPH Original GLYPHs Diverse GLYPHs SplashScreens Links Tools Mail-Server PDF-Anleitungen MF Skins Clickable Dummy Banner Kaufen/Upgraden Suche FAQ Impressum News Feeds abbonieren

Translate this page


Documentation of the Batskin.xml[Deutsche Übersetzung]



Description

This file may be used to provide user-defined glyph set to be used with The Bat! Mail program.

Usage

This file is formatted as a usual XML file with some required structure.
This structure must have the following sections:

<batskin> ... </batskin>

is outer level. Inside this section may be placed two optional sub-sections:

<title> Text </title>

is used to give this customization file a description

<copyright> Text </copyright>

is used to place a copyright notice

Then follow required sections:

<bitmaps>...</bitmaps>

this sub-section is used to define a number of used bitmap files. It must contain at least one bitmap entry:

<bitmap id="ID" file="FILE" cropx="CROPX" cropy="CROPY" cropwidth="CROPWIDTH" cropheight="CROPHEIGHT" />

Such entries will define, what bitmap files will be used as source for used graphics. ID here is an unique user-defined Id for this bitmap to be referenced later in Batskin.xml, FILE is a file name of used bitmap file, supported formats are .PNG, .BMP, .JPG. In case of .PNG-file, alpha layer will be used for transparent areas. In case of .JPG-file the transparent areas will be defined by top-left pixel color - this color will become "transparent" color.
In case of .BMP-file, if source bitmap is 32-bit with alpha, alpha layer will be used to define transparency, otherwise top-left pixel will define transparency.
CROPX/CROPY/CROPWIDTH/CROPHEIGHT are optional integer values, which define used portion of the loaded bitmap. Sometimes source bitmap may be bigger than needed. This parameters allow user to crop the picture to needed size when loaded, in a way similar to Photoshop "Crop Image" function.

After <bitmaps> section follows required section:
<sizes> ... </sizes>

this sub-section is used to define sizes of glyph groups inside host program (The Bat!) It contains entries like<br>

<size id="GROUP_ID" width="WIDTH" height="HEIGHT" />

Such entries define sizes for different glyph groups used in host application. GROUP_ID values are predefined by host application and are listed in Appendix A.

Section <glyphs> define how actual glyphs are located in source bitmaps.

<glyphs> ... </glyphs>

Inside this section following sub-entries may be placed:

<source bitmap="BITMAP_ID" width="GLYPH_WIDTH" height="GLYPH_HEIGHT" />

Where BITMAP_ID should be exact ID parameter value of one of bitmaps in <bitmaps> section, GLYPH_WIDTH/GLYPH_HEIGHT define size of following glyph definitions.

<grid width="GRID_WIDTH" height="GRID_HEIGHT" xofs="XOFS" yofs="YOFS" />

One of batskin.xml concepts is to locate glyphs in a virtual grid cells. It works in such way:




Source bitmap is virtually divided into equal cells. Each cell may contain one glyph. References to glyphs are made using column and row numbers, starting with 0. GRID_WIDTH/GRID_HEIGHT define grid cell size. XOFS/YOFS define offset of each glyph inside grid cell, default to 0/0, if omitted.

<glyph id="GLYPH_ID" col="COL" row="ROW" xofs="XOFS" yofs="YOFS" width="GLYPH_WIDTH" height="GLYPH_HEIGHT" />

This entry defines one glyph to be used in host application. GLYPH_ID is an application-predefined value, listed in Appendix B. COL/ROW is position of the glyph in current virtual grid. XOFS/YOFS optional, overrides grid's values for this only glyph. GLYPH_WIDTH/GLYPH_HEIGHT optional, overrides <source> definition of glyph size.

<glyphex id="GLYPH_ID" file="FILE" xofs="XOFS" yofs="YOFS" width="GLYPH_WIDTH" height="GLYPH_HEIGHT" />

This entry defines one glyph from a separate file. FILE specifies the source file name. XOFS/YOFS optional, specifies starting (top-left) point of the glyph, default to (0, 0) GLYPH_WIDTH/GLYPH_HEIGHT optional, definition of glyph size


Nach oben scrollen
Appendix A.

MenuIcons
ToolbarIcons
Buttons
ListIcons
Folders
AddrBook
Controls
BigIcons
WorkIcons
icons used for menus
icons used for toolbars
icons used for buttons
iconsicons used for tree folders
used for message lists
icons used for Address Book folders
icons used in some controls


Appendix B.

bFetch
bFetchAllAccounts
bSend
bNewMsg
bReply
bReplyAll
bForward
bRedirect
bAddrBook
bSaveAs
bSaveAll
bPrint
bDelete
bNewContact
bNewGroup
bUserProps
bSearchAddr
bCancelSearch
bStore
bDraft
bSave
bCopy
bCut
bPaste
bQPaste
bReplace
bCopyTo
bPasteFrom
bQPasteFrom
bAttach
bCancel
bStartTransfer
bHeaderView
bOpen
bBrowse
bSaveMsgAs

bPrev
bNext
bDelUp
bDelDown
bTextCopyClp
bTextCopyTo
bTextSearch
bTextFindNext
bFindMsg
bDispatchAll
bViewLog
bLock
bNewUser
bCfgAccount
bCfgFilters
bCfgNetwork
bLeft
bDown
bUp
bRight
bNewFilter
bScheduler
bSmartBat
CertBigNormal
CertBigError
bEditSchedule
bMarkAsSpam
bMarkNoSpam

UnknownSignature
ValidSignature
InvalidSignature
EncryptedMessage
ExpiredSignature

bKeyManager
bViewSource
bNewCustFolder
bPlaceCustFolder
cbUnchecked
cbChecked

logInfo
logError
logDown
logUp

NewAddrBook

iSave

pgpKeyPair
pgpKey
pgpUID
pgpSignature
pgpRevokedSignature
pgpRevokedKeyPair
pgpRevokedKey
pgpDisabledKey
pgpInvalidUID
pgpValidUID
pgpValidKey
AccountNewMsgs
Account
FolderClosed
Trash
FolderOpened
UnemptyTrash
UnsentClosed
UnsentOpened
RecentClosed
RecentOpened
RecentOutboxClosed
RecentOutboxOpened
UnreadSubfolders
UnreadTrash
RedCross
ImapFlag
ovrInboxSign
ovrOutboxSign
ovrSentSign
ovrChat
ovrOutboxDraft
ovrJunkFlag
ImapTrash

BlueRuleClosed
BlueRuleOpened
GreyRuleClosed
GreyRuleOpened
AddrBook
Transport
MailMgm
Options
FilesDirs
BrowseFolder
Templates
NewTpl
ReplyTpl
FwdTpl
CfmTpl
SaveMsg
Cookies
Sound
Network
Memo
Chat
ImapFineTune
AddrGroup

RasLogReceive
RasLogSend
NoPark
ParkLst

NormalPriority
HighPriority
LowPriority
CfmReceipt
CfmRead

acUnspec
acMale
acFemale

DropDown
RightArrow
OpenAddrBook

CertSmallNormal
CertWithPrivateKey
CertFieldV1
CertFieldV3NExt
CertFieldV3CExt
CertProp
CertSmallError
CertSmallWarning
CertUnknown
KeyOnToken
CertHasPrivateKey
ValidSignature
InvalidSignature

AddrBookLocalClosed
AddrBookLocalOpened
AddrBookRemoteClose
AddrBookRemoteOpene
AddrBookSearch
AddrBookTrash
AddrBookGroup
AddrBookTrustCAClose
AddrBookTrustCAOpen
AddrBookIntermCAClose
AddrBookIntermCAOpen

mlvNormalEnvelope
mlvHighEnvelope
mlvLowEnvelope
mlvNormalOpen
mlvHighOpen
mlvLowOpen

mlvNoPark
mlvNoDraft
mlvNoFlag

mlvPark
mlvDraft
mlvFlag
mlvAttach

mlvHdrPark
mlvHdrDraft
mlvHdrFlag
mlvHdrAttach
mlvHdrMessage

mlvHdrPriority
mlvNormalPriority
mlvHighPriority
mlvLowPriority



mlvSortUp
mlvSortDown

mlvReply
mlvForward
mlvSigned
iFontStyleBold
iFontStyleItalic
iFontStyleUnderline
iTextColor
iTextAlignLeft
iTextAlignRight
iTextAlignCenter
iTextAlignJustify
iSearch
iMail
iBook
iSearchNext
iHelp
iPageSetup
iWinCascade
iPaste
iClock
iTextHeight
iWinTile
iCopy
iCalendar
iDateTime
iCut
iOpen
iUndo
iRedo
iDelete
iSome
bNewFilter
iSmallBat
iMenubar
iToolbar
iPopup
iShortcuts
iForm
bLeft
bDown
bUp
bRight
bNewFilter

iAlignRight
iBold
iItalic
iUnderline
iTextColor
iBkColor
iDocBkg
iAlignLeft
iAlignCenter
iAlignJust
iTextImage
iAddLink
iAddHrLine
iListBullets
iListNumbers
iInsertTable
iDelCol
iDelRow
iInsertColL
iInsertColR
iInsertRowD
iInsertRowU
iMergeCell
Nach oben scrollen
Traduisez cette page avec Google Translation en Français Translate this page with Altavista Babelfish into English View Page in German Language