home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <?xml-stylesheet href="chrome://editor/skin/editorFormatToolbar.css" type="text/css"?>
- <?xml-stylesheet href="chrome://aim/skin/prefPanels.css" type="text/css"?>
- <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
- <?xml-stylesheet href="chrome://editor/skin/EditorDialog.css" type="text/css"?>
- <?xul-overlay href="chrome://editor/content/editorOverlay.xul"?>
- <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
-
- <!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-Icq_style.dtd">
-
- <page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- onload="icqPreferenceOnload(); parent.initPanel('chrome://aim/content/pref-Icq_style.xul'); PrefIcqStyleOnload();"
- headertitle="&window.title;"
- isIcqPanel="true">
-
- <script language="JavaScript">
- <![CDATA[
- _elementIDs = ["FontFaceSelectStyle", "fontsize", "textstyles", "bold", "italics", "underline", "textColorData", "backgroundColorData"];
- ]]>
- </script>
-
- <script language="JavaScript" src="chrome://aim/content/aimHelpers.js" />
- <script language="javascript" src="chrome://aim/content/prefIcq.js"/>
-
-
- <script type="application/x-javascript" src="chrome://editor/content/EdDialogCommon.js"/>
-
- <!-- Color pickers from the editorOverlay.xul -->
- <popupset id="popup_set">
- <popup id="TextColorPopup"/>
- <popup id="BackColorPopup"/>
- </popupset>
-
- <!-- No "oncommand", use EditorSelectColor() to bring up color dialog -->
- <command id="cmd_fontColor" state=""/>
- <command id="cmd_backgroundColor" state=""/>
-
- <vbox>
- <groupbox>
- <caption label="&header1.label;"/>
- <grid>
-
- <columns>
- <column/>
- <column flex="1"/>
- </columns>
-
- <rows>
- <row>
- <label value="&font.label;" control="FontFaceSelectStyle"/>
- <hbox orient="vertical" pack="center">
- <menulist class="toolbar-focustarget" pref="true" preftype="string" prefstring="icq.style.fontface" id="FontFaceSelectStyle" tooltip="aTooltip" tooltiptext="&FontFaceSelect.tooltip;" crop="right">
- <menupopup id="FontFacePopupStyle">
- <menuitem label="&fontVarWidth.label;" value=""/>
- <menuitem label="&fontFixedWidth.label;" value="tt"/>
- <menuseparator/>
- <menuitem label="&fontHelveticaFont.label;" value="Helvetica, foo, sans-serif"/>
- <menuitem label="&fontTimes.label;" value="Times New Roman, Times, serif"/>
- <menuitem label="&fontCourier.label;" value="Courier New, Courier, monospace"/>
- </menupopup>
- </menulist>
- </hbox>
- <spacer flex="1"/>
- <label value="&fontsize.label;" control="fontsize"/>
- <radiogroup id="fontsize" pref="true" preftype="string" prefstring="icq.style.fontsize">
- <radio id="small" class="small-margin" group="fontsize" value="small" label="&radioSmall.label;" />
- <radio id="medium" class="small-margin" group="fontsize" value="" label="&radioMedium.label;" />
- <radio id="large" class="small-margin" group="fontsize" value="big" label="&radioLarge.label;" />
- </radiogroup>
-
- </row>
- </rows>
-
- </grid>
-
- </groupbox>
-
- <hbox id="topTextBox">
-
- <groupbox flex="1">
- <caption label="&header2.label;"/>
- <grid>
- <columns>
- <column/>
- <column flex="1"/>
- </columns>
- <rows>
- <row>
- <radiogroup id="textstyles" pref="true" preftype="string" prefstring="icq.style.textstyles" oncommand="SwapSpecialStyles()">
- <radio id="none" class="small-margin" group="textstyles" value="" label="&radioNone.label;" />
- <radio id="some" class="small-margin" group="textstyles" value="1" label="&radioSome.label;" />
- </radiogroup>
- </row>
- <row>
- <hbox>
- <checkbox id="bold" style="font-weight: bold;" label="&bold.label;" pref="true" preftype="bool" prefstring="icq.style.bold"/>
- <checkbox id="italics" pref="true" preftype="bool" style="font-style: italic;" label="&italic.label;" prefstring="icq.style.italics"/>
- <checkbox id="underline" pref="true" preftype="bool" style="text-decoration: underline;" label="&underline.label;" prefstring="icq.style.underline"/>
- </hbox>
- </row>
- </rows>
- </grid>
- </groupbox>
-
- <!-- Protocol -->
- <groupbox flex="1" orient="horizontal">
- <caption label="&header3.label;"/>
- <observes element="cmd_fontColor" attribute="state" onbroadcast="onFontColorChange()"/>
- <observes element="cmd_backgroundColor" attribute="state" onbroadcast="onBackgroundColorChange()"/>
- <vbox>
- <hbox flex="1">
-
- <label value="&text.label;" control="TextColorButton"/>
- <spacer flex="1"/>
- <button id="TextColorButton" class="color-button" oncommand="GetColorAndUpdate('textCW');">
- <spacer id="textCW" class="color-well"/>
- </button>
- <data id="textColorData" pref="true" preftype="color" prefstring="icq.style.forecolor" prefattribute="value" wsm_attributes="value"/>
- </hbox>
-
- <hbox flex="1">
- <label value="&background.label;" control="BackgroundColorButton"/>
- <spacer flex="1"/>
- <button id="BackgroundColorButton" class="color-button" oncommand="GetColorAndUpdate('backgroundCW');">
- <spacer id="backgroundCW" class="color-well"/>
- </button>
- <data id="backgroundColorData" pref="true" preftype="color" prefstring="icq.style.backcolor" prefattribute="value" wsm_attributes="value"/>
- </hbox>
- </vbox>
- </groupbox>
- </hbox>
- </vbox>
-
- </page>
-