home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / 05_02.iso / macos / net / files / Opera 5.0 final / Opera 5.0 PPC / Opera 5.0 PPC.rsrc / OBtn_128_Internal ButtonSet (XML, standard) < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-08  |  13.3 KB  |  323 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2. <?opera exportversion="1.0.1" appversion="6.0" ?>
  3.  
  4. <!-- If you are interested in learning about XML quickly, have a look at "http://www.w3.org/TR/REC-xml" -->
  5.  
  6. <!DOCTYPE ButtonSet [
  7.     <!-- Elements... -->
  8.  
  9.     <!ELEMENT ButtonSet (Bar*)>
  10.     <!ELEMENT Bar (Button*)>
  11.     <!ELEMENT Button ((Image|IntImage)*)>
  12.     <!ELEMENT Image (EMPTY)>
  13.  
  14.     <!-- Attributes for the elements... -->
  15.  
  16.     <!ATTLIST Bar
  17.                         Name            CDATA #REQUIRED
  18.                         TextColor        CDATA ""
  19.                         Border            (Always|Yes|PrefDefault|No|Never) "PrefDefault"
  20.                         Width            CDATA ""
  21.                         Height            CDATA ""
  22.                         Padding            CDATA "2"
  23.                         PreSpacing        CDATA "0"
  24.                         PostSpacing        CDATA "0"
  25.                         Thickness        CDATA "2"
  26.                         Priority        CDATA "0"
  27.     >
  28.  
  29.     <!ATTLIST Button
  30.                         Command            CDATA ""
  31.                         TextID            CDATA ""
  32.                         TextColor        CDATA ""
  33.                         Text            CDATA ""
  34.                         Border            (Always|Yes|PrefDefault|No|Never) ""
  35.                         Width            CDATA ""
  36.                         Height            CDATA ""
  37.                         Padding            CDATA ""
  38.                         PreSpacing        CDATA ""
  39.                         PostSpacing        CDATA ""
  40.                         Thickness        CDATA ""
  41.                         ShowWhenFull    (Yes|No) "Yes"
  42.                         ShowWhenSimple    (Yes|No) "Yes"
  43.                         Position        CDATA ""
  44.                         Family            CDATA "0"
  45.                         Priority        CDATA ""
  46.                         Parameter        CDATA ""
  47.     >
  48.  
  49.     <!ATTLIST Image
  50.                         Command            CDATA ""
  51.                         TextID            CDATA ""
  52.                         TextColor        CDATA ""
  53.                         Text            CDATA ""
  54.                         Normal            CDATA #REQUIRED
  55.                         OverNormal        CDATA ""
  56.                         Pushed            CDATA ""
  57.                         OverPushed        CDATA ""
  58.                         Dimmed            CDATA ""
  59.                         OverDimmed        CDATA ""
  60.                         Parameter        CDATA ""
  61.     >
  62.  
  63.     <!ATTLIST IntImage
  64.                         Command            CDATA ""
  65.                         TextID            CDATA ""
  66.                         TextColor        CDATA ""
  67.                         Text            CDATA ""
  68.                         Normal            CDATA #REQUIRED
  69.                         OverNormal        CDATA ""
  70.                         Pushed            CDATA ""
  71.                         OverPushed        CDATA ""
  72.                         Dimmed            CDATA ""
  73.                         OverDimmed        CDATA ""
  74.                         Parameter        CDATA ""
  75.     >
  76. ]>
  77.  
  78. <!-- This is the stuff you can change as you like... -->
  79.  
  80. <ButtonSet>
  81.  
  82.     <Bar Name="ToolBar" Border="Yes" Thickness="2" Width="32" Height="32" PreSpacing="3">
  83.         <Button TextID="21209" Command="Previous" HelpTextID="10032">
  84.             <IntImage Normal="main_back.png"/>
  85.         </Button>
  86.         <Button TextID="21211" Command="Next" HelpTextID="10031">
  87.             <IntImage Normal="main_forward.png"/>
  88.         </Button>
  89. <!-- Reload and Stop combined -->
  90.         <Button Family="5" Priority="1">
  91.             <IntImage TextID="21210" Command="Reload" Normal="main_reload.png" HelpTextID="10056"/>
  92.             <IntImage TextID="21235" Command="Stop" Normal="main_stop.png" HelpTextID="10143"/>
  93.         </Button>
  94.         <Button TextID="21212" Command="Home" HelpTextID="10072">
  95.             <IntImage Normal="main_home.png"/>
  96.         </Button>
  97.         <Button TextID="22117" Command="Hotlist" HelpTextID="13010"> <!-- HelpText="Toggle bookmark window" -->
  98.             <IntImage Normal="main_hotlist.png"/>
  99.         </Button>
  100.         <Button TextID="21206" Command="Print" HelpTextID="10004">
  101.             <IntImage Normal="main_print.png"/>
  102.         </Button>
  103.         <Button TextID="21203" Command="New" HelpTextID="10000">
  104.             <IntImage Normal="main_new.png"/>
  105.         </Button>
  106.         <Button TextID="21205" Command="Save" ShowWhenSimple="No" HelpTextID="10002">
  107.             <IntImage Normal="main_save.png"/>
  108.         </Button>
  109.         <Button TextID="21208" Command="Find" ShowWhenSimple="No" HelpTextID="10227">
  110.             <IntImage Normal="main_find.png"/>
  111.         </Button>
  112.     </Bar>
  113.  
  114.     <Bar Name="BookmarkBar" Border="Yes" Thickness="2" Width="20" Height="20" PreSpacing="3">
  115.         <Button Text="Parent" Command="Folder Up" HelpText="Go to parent folder">
  116.             <IntImage Normal="general_previous.png"/>
  117.         </Button>
  118.         <Button TextID="21200" Command="New Bookmark" HelpTextID="10923">
  119.             <IntImage Normal="hotlist_new_bookmark.png"/>
  120.         </Button>
  121.         <Button TextID="21199" Command="New Folder" HelpTextID="10921">
  122.             <IntImage Normal="general_new_folder.png"/>
  123.         </Button>
  124. <!-- Dead
  125.         <Button TextID="21213" Command="Goto" HelpTextID="10017">
  126.             <IntImage Normal="OpenURL.gif"/>
  127.         </Button>
  128. -->
  129.         <Button TextID="21190" Command="Get Info" HelpTextID="77773">
  130.             <IntImage Normal="Info.png"/>
  131.         </Button>
  132. <!-- Not yet supported, temporary disabled:
  133.         <Button TextID="21202" Command="Menu" HelpTextID="10922">
  134.             <IntImage Normal="Menu.gif"/>
  135.         </Button>
  136. -->
  137.     </Bar>
  138.  
  139. <!-- (Disabled, because it's not used on the Mac)
  140.     <Bar Name="ContactBar" Border="Yes" Thickness="2" Width="32" Height="32" PreSpacing="3">
  141.         <Button TextID="21201" Command="New Contact">
  142.             <IntImage Normal="NewContact.gif"/>
  143.         </Button>
  144.         <Button TextID="%ID_NewFolder;" Command="New Folder">
  145.             <IntImage Normal="NewFolder.gif"/>
  146.         </Button>
  147.         <Button TextID="%ID_Compose;" Command="Compose">
  148.             <IntImage Normal="Compose.gif"/>
  149.         </Button>
  150.         <Button TextID="21202" Command="Menu">
  151.             <IntImage Normal="Menu.gif"/>
  152.         </Button>
  153.     </Bar>
  154. -->
  155.  
  156.     <Bar Name="TransferBar" Border="Yes" Thickness="2" Width="34" Height="34" PreSpacing="3">
  157.         <Button TextID="21194" Command="Resume" HelpTextID="14134">
  158.             <IntImage Normal="transfers_resume.png"/>
  159.         </Button>
  160.         <Button Family="5" Priority="2" TextID="21196" Command="Stop" HelpTextID="14136">
  161.             <IntImage Normal="general_stop.png"/>
  162.         </Button>
  163.         <Button TextID="21195" Command="Retransfer" HelpTextID="14135">
  164.             <IntImage Normal="transfers_retransfer.png"/>
  165.         </Button>
  166. <!-- This might be possible later...
  167.         <Button>
  168.             <IntImage TextID="21194" Command="Resume" Normal="Resume.gif" HelpTextID="14134"/>
  169.             <IntImage TextID="21196" Command="Stop" Normal="general_stop.png" HelpTextID="14136"/>
  170.         </Button>
  171. -->
  172. <!-- Not yet supported, temporary disabled:
  173.         <Button TextID="21202" Command="Menu" HelpTextID="14137">
  174.             <IntImage Normal="Menu.gif"/>
  175.         </Button>
  176. -->
  177.     </Bar>
  178.  
  179.     <Bar Name="ProgressBar" Border="Never" Thickness="0" Width="20" Height="20" Padding="1">    <!-- The buttons in the progress-/link-bar should never have borders -->
  180.         <Button Family="1" Priority="2">
  181.             <IntImage TextID="21401" Command="Security Level 0" Normal="addressbar_no_security.png" HelpTextID="21405"/>
  182.             <IntImage TextID="21402" Command="Security Level 1" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  183.             <IntImage TextID="21402" Command="Security Level 2" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  184.             <IntImage TextID="21403" Command="Security Level 3" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  185.             <IntImage TextID="21403" Command="Security Level 4" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  186.             <IntImage TextID="21404" Command="Security Level 5" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  187.             <IntImage TextID="21404" Command="Security Level 6" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  188.         </Button>
  189.         <Button Family="2" Priority="2" HelpTextID="10247">
  190.             <IntImage TextID="21236" Command="Load Images" Normal="addressbar_load_images.png"/>
  191.             <IntImage TextID="21238" Command="No Images" Normal="addressbar_no_images.png"/>
  192.             <IntImage TextID="21237" Command="Show Images" Normal="addressbar_show_images.png"/>
  193.         </Button>
  194.         <Button Family="3" Priority="2" HelpTextID="10724">
  195.             <IntImage TextID="22502" Command="Document Mode" Normal="windowbar_doc_complete.png"/> <!-- Sounds weird, but correct -->
  196.             <IntImage TextID="22503" Command="User Mode" Normal="hotlist_new_contact.png"/>
  197.         </Button>
  198. <!-- No print preview yet
  199.         <Button Family="4" Priority="2">
  200.             <IntImage TextID="21010" Command="Print View" Normal="addressbar_print_pv.png"/>
  201.             <IntImage TextID="21011" Command="Printview as screen" Normal="addressbar_print_pv.png"/>
  202.             <IntImage TextID="21012" Command="Printview active frame" Normal="addressbar_print_pv.png"/>
  203.             <IntImage TextID="21013" Command="Printview all frames" Normal="addressbar_print_pv.png"/>
  204.         </Button>
  205. -->
  206.         <Button Family="5" Priority="2" TextID="21235" Command="Stop" HelpTextID="10143">    <!-- if Tool bar is gone, show in progress bar -->
  207.             <IntImage Normal="general_stop.png"/>
  208.         </Button>
  209. <!-- The following is old (and will never be supported, however, a new tag may be implemented)...
  210.         <Button Position="1000" Command="Doc Progress" HelpTextID="10534">    <!- - this is not really a button, it's just a picture! - ->
  211.             <IntImage Normal="DocProg.gif"/>
  212.         </Button>
  213.         <Button Position="1001" Command="Fig Progress" HelpTextID="10535">    <!- - this is not really a button, it's just a picture! - ->
  214.             <IntImage Normal="FigProg.gif"/>
  215.         </Button>
  216. -->
  217.     </Bar>
  218.  
  219. <!-- The following is temporary, it'll change soon. -->
  220.     <Bar Name="DocProg" Border="Never">
  221.         <Button Command="Doc Progress" HelpTextID="10534">    <!-- this is not really a button, it's just a picture! -->
  222.             <IntImage Normal="windowbar_doc_complete.png"/>
  223.         </Button>
  224.     </Bar>
  225.  
  226.     <Bar Name="FigProg" Border="Never">
  227.         <Button Command="Fig Progress" HelpTextID="10535">    <!-- this is not really a button, it's just a picture! -->
  228.             <IntImage Normal="addressbar_load_images.png"/>
  229.         </Button>
  230.     </Bar>
  231. <!-- End of temporary stuff -->
  232.  
  233.  
  234.     <Bar Name="AddressBar" Priority="1" Border="Never" Thickness="0" Width="20" Height="20" Padding="1">    <!-- The buttons in the progress-/link-bar should never have borders -->
  235.         <Button Family="1">
  236.             <IntImage TextID="21401" Command="Security Level 0" Normal="addressbar_no_security.png" HelpTextID="21405"/>
  237.             <IntImage TextID="21402" Command="Security Level 1" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  238.             <IntImage TextID="21402" Command="Security Level 2" Normal="addressbar_low_security.png" HelpTextID="21407"/>
  239.             <IntImage TextID="21403" Command="Security Level 3" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  240.             <IntImage TextID="21403" Command="Security Level 4" Normal="addressbar_medium_security.png" HelpTextID="21409"/>
  241.             <IntImage TextID="21404" Command="Security Level 5" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  242.             <IntImage TextID="21404" Command="Security Level 6" Normal="addressbar_high_security.png" HelpTextID="21411"/>
  243.         </Button>
  244.         <Button Family="2" HelpTextID="10247">
  245.             <IntImage TextID="21236" Command="Load Images" Normal="addressbar_load_images.png"/>
  246.             <IntImage TextID="21238" Command="No Images" Normal="addressbar_no_images.png"/>
  247.             <IntImage TextID="21237" Command="Show Images" Normal="addressbar_show_images.png"/>
  248.         </Button>
  249.         <Button Family="3" HelpTextID="10724">
  250.             <IntImage TextID="22502" Command="Document Mode" Normal="windowbar_doc_complete.png"/> <!-- Sounds weird, but correct -->
  251.             <IntImage TextID="22503" Command="User Mode" Normal="hotlist_new_contact.png"/>
  252.         </Button>
  253. <!-- No print preview yet
  254.         <Button Family="4">
  255.             <IntImage TextID="21010" Command="Print View" Normal="addressbar_print_pv.png"/>
  256.             <IntImage TextID="21011" Command="Printview as screen" Normal="addressbar_print_pv.png"/>
  257.             <IntImage TextID="21012" Command="Printview active frame" Normal="addressbar_print_pv.png"/>
  258.             <IntImage TextID="21013" Command="Printview all frames" Normal="addressbar_print_pv.png"/>
  259.         </Button>
  260. -->
  261.     </Bar>
  262.  
  263.     <!-- The LinkBar is for supporting the LINK element (First on Mac) -->
  264.     <Bar Name="LinkBar" Border="Never" Thickness="1" Width="11" Height="11" Padding="1">
  265.         <!-- Some items you might want in the linkbar:
  266.             * toc,contents        (table of contents)
  267.             * index                (alphabetical index)
  268.             * glossary
  269.             * up                (go to parent directory, or paragraph, chapter, index, home or host)
  270.             * about                (this is not a standard rel keyword)
  271.             * search            (go to a search page)
  272.             * alternate            (alternate languages)
  273.             * home,top
  274.             * prev,previous        (previous page)
  275.             * next                (next page)
  276.             * help
  277.         -->
  278.         <Button Text="Home" Command="Link" Parameter="Home" HelpText="Go to the homepage of this Web site">
  279.             <IntImage Normal="LinkHome.png"/>
  280.         </Button>
  281.         <Button Text="First" Command="Link" Parameter="first" HelpText="Go to the first page in this Web site">    <!-- "Prev" and "Previous" are treated in the same way -->
  282.             <IntImage Normal="LinkFirst.png"/>
  283.         </Button>
  284.         <Button Text="Prev" Command="Link" Parameter="Prev,Previous" HelpText="Go to the previous page in this Web site">    <!-- "Prev" and "Previous" are treated in the same way -->
  285.             <IntImage Normal="LinkPrev.png"/>
  286.         </Button>
  287.         <Button Text="Next" Command="Link" Parameter="Next" HelpText="Go to the next page in this Web site">
  288.             <IntImage Normal="LinkNext.png"/>
  289.         </Button>
  290.         <Button Text="Last" Command="Link" Parameter="Last" HelpText="Go to the last page in this Web site">    <!-- "Prev" and "Previous" are treated in the same way -->
  291.             <IntImage Normal="LinkLast.png"/>
  292.         </Button>
  293.         <Button Text="Up" Command="Link" Parameter="Up" HelpText="Go up one level (within this Web site)">
  294.             <IntImage Normal="LinkUp.png"/>
  295.         </Button>
  296.         <Button Text="Index" Command="Link" Parameter="Index,Toc" HelpText="Go to the index/TOC of this Web site">
  297.             <IntImage Normal="LinkIndex.png"/>
  298.         </Button>
  299.         <Button Text="Help" Command="Link" Parameter="Help" HelpText="Go to the help page for this Web site">
  300.             <IntImage Normal="LinkHelp.png"/>
  301.         </Button>
  302.         <Button Text="Search" Command="Link" Parameter="Search" HelpText="Go to the search page of this Web site">
  303.             <IntImage Normal="LinkSearch.png"/>
  304.         </Button>
  305.         <Button Text="Copyright" Command="Link" Parameter="Copyright" HelpText="Copyright  statement of this Web site">
  306.             <IntImage Normal="LinkCopyright.png"/>
  307.         </Button>
  308.         <Button Text="Author" Command="Link" Parameter="Author" HelpText="Mail the author of this Web site">
  309.             <IntImage Normal="LinkAuthor.png"/>
  310.         </Button>
  311.     </Bar>
  312.     <!-- -->
  313.  
  314. <!--
  315.     <Bar Name="LionBar" Border="No" Thickness="57" Width="3000" Height="27">
  316.         <Button TextID="%ID_Yummy;" Command="Eat" HelpText="This is extremly good.">
  317.             <IntImage Normal="VeryTastey.gif" OverNormal="EasterEgg.gif" OverPushed="www.browserwatch.com"/>
  318.         </Button>
  319.     </Bar>
  320. -->
  321.  
  322. </ButtonSet>
  323.